Consider only forcemerging primary shards #51455
Labels
:Distributed/Distributed
A catch all label for anything in the Distributed Area. If you aren't sure, use this one.
>enhancement
Describe the feature:
Today, running a
_forcemerge?max_num_segments=1
against an index will result in both primaries and replicas asynchronously merging down to a single segment. This ultimately results in all shard copies containing a single segment that look different from one another (e.g the primary might have segment_c
, while the replica might have segment_e
).It might be better to only forcemerge the primary shard --> then recover the replicas, resulting in identical segments for all shard copies.
Several benefits come to mind:
The text was updated successfully, but these errors were encountered: