You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by GitBox <gi...@apache.org> on 2022/02/09 17:15:56 UTC

[GitHub] [lucenenet] NightOwl888 commented on issue #616: Cannot access the cfs file.

NightOwl888 commented on issue #616:
URL: https://github.com/apache/lucenenet/issues/616#issuecomment-1034001416


   Is this question also you?
   
   https://stackoverflow.com/questions/71047400/whos-locking-the-cfs-file-in-lucene
   
   It might be helpful if you explain a little more about what you are trying to do. We have the `FileShare` flags set up in a way that the tests pass, but the tests may not cover every use case that is allowed in Lucene, so we might need to adjust some of the settings.
   
   Do note that there are several CFS commands in the [lucene-cli tool](https://lucenenet.apache.org/docs/4.8.0-beta00015/cli/index.html), but in general the assumption (by us) is that the commands will be performed while the index is not being used. However, there shouldn't be any reason why we can't add the `FileShare.Read` flag so multiple file streams can at least read the files (on every file except for `write.lock`).


-- 
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: dev-unsubscribe@lucenenet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org