uschindler commented on issue #15054: URL: https://github.com/apache/lucene/issues/15054#issuecomment-3195578378
Hi Gaurav, thanks for the feedback! > We were not slicing the IndexInput for multiple threads, but creating it naively for all the part uploads. This was causing the number of maps to just explode. We are changing that to use clones instead of creating it for each part. Ah, but in that case READONCE would have been worked, if the chunk would have been opened and used from the same thread only. Anyways, using clones with DEFAULT mapping is fine. If you are not using the directory for anything else than copying the index to another Lucene, I'd still recommend to disable grouping using `mmapDir.setGroupingFunction(MMapDirectory.NO_GROUPING)` only for this directory used as input for the replication. If you like, you may use the workaround given above in the 9.x implementation to work around possible bugs with ".si" files in "normal Opensearch Index directory usage" (not for the replucation case). At moment we are not planning to release a bugfix version. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
