Re: Shards.preference to current leader

2020-01-31 Thread Karl Stoney
Once again Erick much appreciate for the reply! I didn't realise updates forwarded to all NRT replicas for real time gets, I was under the impression it was eventually. That totally answers my question and relieves my concerns! Cheers Karl On 31/01/2020, 00:38, "Erick Erickson" wrote:

Re: Shards.preference to current leader

2020-01-30 Thread Erick Erickson
I’m not sure it’s worth the effort. Or deterministic for that matter. First, when you say “get” are you talking about the get request handler (real time get)? Or a search? Let’s take the two cases separately (and I’m assuming NRT replicas). The get request handler: This pulls the most current r

Shards.preference to current leader

2020-01-30 Thread Karl Stoney
Hey all, Is it possible to perform a get request which favours the current leader, therefore guaranteeing the most up to date record? I was looking at shards.preference but couldn’t see a way to prefer the leader. Get Outlook for iOS This e-mail is sent on behalf of Auto T