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