velee commented on issue #14985: URL: https://github.com/apache/lucene/issues/14985#issuecomment-3111662205
eg. delegate chain: `org.apache.lucene.misc.store.ByteWritesTrackingDirectoryWrapper` -> `org.apache.lucene.misc.store.HardlinkCopyDirectoryWrapper` -> `org.apache.lucene.store.MMapDirectory` The expectation is to use hardlink instead of copy, but in fact copy is still used, because the call method `copyFrom` from `org.apache.lucene.misc.store.ByteWritesTrackingDirectoryWrapper` (it extend from `org.apache.lucene.store.Directory`). If the `org.apache.lucene.store.FilterDirectory`'s method `copyFrom` is decorated, the `org.apache.lucene.misc.store.HardlinkCopyDirectoryWrapper`'s method `copyFrom` will be used. -- 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]
