Documents lost on replica shard after replicating #16252
Labels
discuss
:Distributed Indexing/CRUD
A catch all label for issues around indexing, updating and getting a doc by id. Not search.
feedback_needed
resiliency
Overview:
After relocating shards as soon as updating index, the documents are not replicated partially on replica shard
Settings:
Elasticsearch 2.1.1
RHEL 6.2
Cluster:
Nodes 4
Shards 4
Replica 1
Procedure:
Make empty index as cluster settings above.
Update documents by Bulk api. (Update it to "primary node", node 3)
On finishing updating documents, restart node with replica shard.
-> restart node 1.
Wait relocating replica shards.
See the number of docs with cat shards api.
See the number of docs of test 1 and test 3 shard on node 1 (*) are 0 after relocation.
The docs of primary shards are properly updated.
In addition, with not empty index, after restarting the node while updating docs by bulk api continuously,
the number of primary shard and replica shard are not identical.
The text was updated successfully, but these errors were encountered: