Index.refresh_interval=-1 will stop updating index forever

In my environment, i have an index template set to index.refresh_interval: "-1". After i upgraded to ES 7.0, indexes associated with this template will return 0 hit on querying, even if those indexes have been created for days (up to 5 days) and contain non-zero documents. sample response:
{
"took" : 51,
"timed_out" : false,
"num_reduce_phases" : 3,
"_shards" : {
"total" : 1197,
"successful" : 1197,
"skipped" : 1195,
"failed" : 0
},
"_clusters" : {
"total" : 2,
"successful" : 2,
"skipped" : 0
},
"hits" : {
"total" : {
"value" : 0,
"relation" : "eq"
},
"max_score" : null,
"hits" :
}
}

As soon as I updated their config to index.refresh_interval=60s. query back to normal.

In previous version, i think index.refresh_interval=-1 will only delay refresh, but won't longer than 1 day I guess. Should this be a breaking change in ES 7.0 ?

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