uschindler commented on issue #11920:
URL: https://github.com/apache/lucene/issues/11920#issuecomment-2862190434

   I was able to fix the whole test by doing the following:
   - In WindowsFS fall back to path as key, if the file key isn't available. I 
have no yet figured out if this brings other issues, e.g. when renaming files
   - Change the IndexWriter tests to no longer setup a special test setup on 
windows, just use NIOFSDirectory everywhere (MMapDir does not work).
   
   The reason why the test is failing is indeed: In Windows 11 (or Windows 
Server 2024) you can delete files that you have created on your own.
   
   Anyways we should keep Windows FS emulation available, as the kernel of 
Windows 10 is still hevily used in Windows Server installations. At some point 
we can for sure cleanup our code and remove the Windows legacy behaviour.


-- 
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

Reply via email to