msokolov opened a new pull request, #15470: URL: https://github.com/apache/lucene/pull/15470
This is what I was thinking -- when "repairing" only add links *from* the node being repaired and not back again. This is needed because ordinarily we are adding nodes in order and each node is only added once, so there is no opportunity for duplication, but in this case we are effectively "re-adding" the node. So we would have to check for duplicates when making links, or we can just forgo adding the reverse links. Is this good enough? I don't know, I haven't had time to do any extensive testing, but it at least gets rid of the duplicates. -- 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]
