[
https://issues.apache.org/jira/browse/BEAM-2488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ismaël Mejía updated BEAM-2488:
-------------------------------
Component/s: (was: z-do-not-use-sdk-java-extensions)
io-java-elasticsearch
> 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: io-java-elasticsearch
> Reporter: Etienne Chauchot
> Assignee: Etienne Chauchot
> Priority: Major
> 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
(v7.6.3#76005)