[
https://issues.apache.org/jira/browse/BEAM-2488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16066113#comment-16066113
]
ASF GitHub Bot commented on BEAM-2488:
--------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/beam/pull/3410
> Elasticsearch IO should read also in replica shards
> ---------------------------------------------------
>
> Key: BEAM-2488
> URL: https://issues.apache.org/jira/browse/BEAM-2488
> Project: Beam
> Issue Type: Bug
> Components: sdk-java-extensions
> Reporter: Etienne Chauchot
> Assignee: Etienne Chauchot
> Fix For: 2.1.0
>
>
> To avoid duplication of data ElasticsearchIO reads from primary shards only
> and filters out replica shards. But in reality, even if
> _shard-preference:shardId is set in scroll request, ES internally load
> balances requests between primary and replica shards and ensures that there
> will be no duplicates. Targeting all the shards and letting ES deal with
> replicas is better in some corner cases like failover.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)