[
https://issues.apache.org/jira/browse/BEAM-13137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17476220#comment-17476220
]
Evan Galpin commented on BEAM-13137:
------------------------------------
Thanks [~echauchot] I've added the index.store.{{stats_refresh_interval}}
setting back via default index template. Regarding refresh wait_for, I've opted
for explicit use of flushAndRefreshAllIndices everywhere so as to have a single
code path for consistent behaviour regardless of the API that would otherwise
wait for refresh. Open to thoughts on this approach though :)
> make ElasticsearchIO$BoundedElasticsearchSource#getEstimatedSizeBytes
> deterministic
> -----------------------------------------------------------------------------------
>
> Key: BEAM-13137
> URL: https://issues.apache.org/jira/browse/BEAM-13137
> Project: Beam
> Issue Type: Improvement
> Components: io-java-elasticsearch
> Reporter: Etienne Chauchot
> Assignee: Evan Galpin
> Priority: P2
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Index size estimation is statistical in ES and varies. But it is the base for
> splitting so it needs to be more deterministic because that causes flakiness
> in the UTests in _testSplit_ and _testSizes_ and maybe entails sub-optimal
> splitting in production in some cases.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)