vigyasharma commented on issue #12524: URL: https://github.com/apache/lucene/issues/12524#issuecomment-1699740128
Thanks for surfacing this issue @vsop-479. Going by the documentation in code, we rely on Windows to keep the file open even though it's merged away because we have a reader open on it. ```java // NOTE: here we rely on "Windows" behavior, ie, even // though IW wanted to delete _0.cfs since it was // merged away, because we have a reader open // against this file, it should still be here: assertTrue(Files.exists(indexPath.resolve("_0.cfs"))); ``` Maybe something changed in Windows 11 which does not maintain this behavior anymore? I tried running the test on repeat on `Mac OS X` and it passed. But on Unix based machines, I think the filesystem behavior is on roughly imitated by the `WindowsFS` wrapper, which may. have diverged. Can you post the full stack trace for the test failure? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org