Document count mismatch in shards

HI team,

We are often facing doc_count mismatch between primary and replica shards, Is there any solution for this ?

FYI, we are using elasticsearch 1.3.7 and now working hardly for upgradation.

Please suggest us and help on this!!

Set number of replica to 0 then set it back to 1?

Note that it will copy a lot of data between nodes again.

Is there is any possibility for data loss after changing replica count?

Might be. If the primary shard does not have all the data, then yes.
If you have a major outage while you do this, then yes.

Version 1.3.7 is very, very old and there is a lot of work that has gone into improving resiliency, consistency and avoiding split-brain scenarios since then, so I would recommend you to upgrade as soon as possible.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.