Elasticsearch 6.8.6. The index has ten primary shards and replicas is set to 1. Each shards is ~30GB. The index (and cluster) health is Green. No data is being written to the index. A flushed sync consistently fails on all it's shards with the same reason. Can anyone explain what the reason given below means? It makes no sense to me and I can't find anything which explains it.
$ curl -s -u username -XPOST "https://$(hostname):9200/lots_of_data_index/_flush/synced?pretty"
{
"_shards" : {
"total" : 20,
"successful" : 0,
"failed" : 20
},
"lots_of_data_index" : {
"total" : 20,
"successful" : 0,
"failed" : 20,
"failures" : [
{
"shard" : 1,
"reason" : "[node_one][10.70.13.155:9300][internal:indices/flush/synced/sync]",
"routing" : {
"state" : "STARTED",
"primary" : false,
"node" : "ui6ied_6Tx2BO1pmyQM7gw",
"relocating_node" : null,
"shard" : 1,
"index" : "lots_of_data_index",
"allocation_id" : {
"id" : "t4OjXQtDQBedLiBiF3OCJg"
}
}
},
{
"shard" : 1,
"reason" : "[node_two][10.70.13.9:9300][internal:indices/flush/synced/sync]",
"routing" : {
"state" : "STARTED",
"primary" : true,
"node" : "uERyGgVUTMy0SKj0x2mq5g",
"relocating_node" : null,
"shard" : 1,
"index" : "lots_of_data_index",
"allocation_id" : {
"id" : "KcMDyJhnQDKcK1bFNRSe2Q"
}
}
},
[ truncated because reason on the other 18 shards is the same ]
A synced flush works on all shards of all other indices I've tried it on, except the ones were data is being written to the index where reason for failure is given as coherent self explanatory English like "pending operations" or "ongoing operations on primary".