Cat shards API return different size on a same shard


(James Yin) #1

I used Elasticsearch 5.2.2 in a cluster. We found sometimes the cart shards API return different size on a same shard, but there are not any documents to add and delete.

We use cat shards API to get the shard size 4 times, at 1st, 2nd and 4th, The API all return 79853341543 , but at 3rd call, the shard size is 159725282695.
http://${host}/_cat/shards/index_001?v&s=shard:desc,prirep:desc&bytes=b
index shard prirep state docs store ip node
index_001 4 r STARTED 526340015 79853341543 163.59.123.56 es_data_node_055
index_001 4 r STARTED 526340015 79853341543 163.59.123.56 es_data_node_055
index_001 4 r STARTED 526340015 159725282695 163.59.123.56 es_data_node_055
index_001 4 r STARTED 526340015 79853341543 163.59.123.56 es_data_node_055
Why? what store size is the real size?


(system) #2

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