Open
Description
Description
Can we support modifying segmentInfos.counter
in IndexWriter
?
This can be used to skip some segment names when writing.
In the scenario of enabling segment replication
in an Elasticsearch cluster, this control can be implemented during primary shard peer recovery and replica shard promotion to avoid segment counter conflicts.
Please help evaluate, if possible, I will submit a Pull Request.