You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "yixunx (via GitHub)" <gi...@apache.org> on 2023/06/23 01:31:11 UTC
[GitHub] [lucene] yixunx opened a new pull request, #12384: Let hard link wrapper fallback to delegate.copyFrom
yixunx opened a new pull request, #12384:
URL: https://github.com/apache/lucene/pull/12384
### Description
If `HardlinkCopyDirectoryWrapper` fails to create a hard link for a file, it falls back to `super.copyFrom` and not `delegate.copyFrom`, which means we cannot customize the behavior of `copyFrom` by overriding the method in the delegate.
One example usage is to let the delegate directory override `copyFrom` to count the number of times the fallback happened, and this is currently not possible.
<!--
If this is your first contribution to Lucene, please make sure you have reviewed the contribution guide.
https://github.com/apache/lucene/blob/main/CONTRIBUTING.md
-->
--
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-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
[GitHub] [lucene] jpountz merged pull request #12384: Let hard link wrapper fallback to delegate.copyFrom
Posted by "jpountz (via GitHub)" <gi...@apache.org>.
jpountz merged PR #12384:
URL: https://github.com/apache/lucene/pull/12384
--
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-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org