If there are >100 docs gap between the recovering node and the good node, the solr will do snap pull recovery instead of peersync.
Can the 100 docs be configurable? For example, there can be 10000, 1000, or 10 docs gap between the good node and the node to recover. For 100 doc, a regular restart of a solr node will trigger a full recovery, which is a huge impact to the performance of the running systems. Thanks! I have open a JIRA for it: https://issues.apache.org/jira/browse/SOLR-6683