Strange size difference in shards since upgrading to 6.2

We recently upgraded from 6.1 to 6.2 and we're noticing that some shards are getting disproportionately big.

Take these two, shard 0 from the same index, different nodes. 16gig on one, 6 gig on the other?


Heres another example:


This is causing our disk to fill up on certain nodes far too fast and we have no idea why it is happening.

Any ideas?

1 Like

I've noticed a correlation that this is purely on replicas.
This index is a 20 shard, 1 replica setup.

size: 154Gi (535Gi)
docs: 138,337,371 (269,919,578)

Notice how the total size (535) is 3.5x the primary size (154)?

We have had to reduce the replicas from 1 to 0 for now. You can see the impact that had on disk usage.

If you set the number of replicas back to 1, are the rebuilt replicas also many times larger than the primary?

If you see this again could you provide the output of the following?

GET /<INDEX>/_stats?level=shards

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