Index stats store size is not refreshed immediately after flush

After testing when index store size is updated after flushing, it seems like the lag is around 10s. Is there an elasticsearch api that can immediately refresh the store size?

There is another related issue without answers: Stats values lags behind index document updates

Thanks!

indexer_1                | time="2018-09-01T01:23:26Z" level=warning msg="get sample shard size" shard_size=4045893 stream=suggestions
indexer_1                | time="2018-09-01T01:23:27Z" level=warning msg="get sample shard size" shard_size=4045893 stream=suggestions
indexer_1                | time="2018-09-01T01:23:28Z" level=warning msg="get sample shard size" shard_size=4045893 stream=suggestions
indexer_1                | time="2018-09-01T01:23:29Z" level=warning msg="get sample shard size" shard_size=4045893 stream=suggestions
indexer_1                | time="2018-09-01T01:23:30Z" level=warning msg="get sample shard size" shard_size=4045893 stream=suggestions
indexer_1                | time="2018-09-01T01:23:31Z" level=warning msg="get sample shard size" shard_size=4045893 stream=suggestions
indexer_1                | time="2018-09-01T01:23:32Z" level=warning msg="get sample shard size" shard_size=4045893 stream=suggestions
indexer_1                | time="2018-09-01T01:23:33Z" level=warning msg="get sample shard size" shard_size=4045893 stream=suggestions
indexer_1                | time="2018-09-01T01:23:34Z" level=warning msg="get sample shard size" shard_size=4045893 stream=suggestions
indexer_1                | time="2018-09-01T01:23:35Z" level=warning msg="get sample shard size" shard_size=4045893 stream=suggestions
indexer_1                | time="2018-09-01T01:23:36Z" level=warning msg="get sample shard size" shard_size=7609507 stream=suggestions
indexer_1                | time="2018-09-01T01:23:37Z" level=warning msg="get sample shard size" shard_size=7609507 stream=suggestions
indexer_1                | time="2018-09-01T01:23:38Z" level=warning msg="get sample shard size" shard_size=7609507 stream=suggestions
indexer_1                | time="2018-09-01T01:23:39Z" level=warning msg="get sample shard size" shard_size=7609507 stream=suggestions
indexer_1                | time="2018-09-01T01:23:40Z" level=warning msg="get sample shard size" shard_size=7609507 stream=suggestions
indexer_1                | time="2018-09-01T01:23:41Z" level=warning msg="get sample shard size" shard_size=7609507 stream=suggestions
indexer_1                | time="2018-09-01T01:23:42Z" level=warning msg="get sample shard size" shard_size=7609507 stream=suggestions
indexer_1                | time="2018-09-01T01:23:43Z" level=warning msg="get sample shard size" shard_size=7609507 stream=suggestions
indexer_1                | time="2018-09-01T01:23:44Z" level=warning msg="get sample shard size" shard_size=7609507 stream=suggestions
indexer_1                | time="2018-09-01T01:23:45Z" level=warning msg="get sample shard size" shard_size=7609507 stream=suggestions

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