Skip to content

[segment replication] Increase the step size when replica promoting #17566

Open
@guojialiang92

Description

@guojialiang92

Is your feature request related to a problem? Please describe

4365 proposed a method to avoid segment file name conflicts when replica promoting (Increase segment counter by 10 when replica closes).
In the production environment, if GC hang occurs on the node where primary shard is located or the segment replication is not synchronized for a long time, it is still easy to have conflicts. And there is no way to make adjustments after a problem occurs.

Describe the solution you'd like

Can we add the dynamic configuration of the index level and increase the default value to 100000?
The segment counter is a value of type long and it is almost impossible to out of bound.

Related component

No response

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Indexing:ReplicationIssues and PRs related to core replication framework eg segrepenhancementEnhancement or improvement to existing feature or requestuntriaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions