[Remote Store] With remote translog, revisit write request response - _shard.successful/_shard.total #5435
Labels
enhancement
Enhancement or improvement to existing feature or request
Storage:Durability
Issues and PRs related to the durability framework
Is your feature request related to a problem? Please describe.
Currently in logical (document) replication, a request gets fanned out to replication target from the primary, if replicas are configured and active. With remote translog (on top of segment replication), the translog generated locally would be uploaded to remote store. The replicas would be used for primary term validation as mentioned in #3706.
So, if, lets say, there are 2 replica shards, then a write response would contain a node on
_shards
-Here, it means the request was replicated in 3 (1 primary + 2 replicas) shards in total.
With remote store, since the request is not replicated across replicas (unless the primary is relocating), we have to revisit if we should consider replicas (without local translog) in
_shards
calculation.Following points has to be considered -
_shards
field used today by the clients?Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: