Query cursors in replicated environment

25 views
Skip to first unread message

JPatrick Davenport

unread,
Feb 15, 2015, 5:21:27 PM2/15/15
to aran...@googlegroups.com
Hello,
How do queries work in a replicated environment? Let's say I have three machines: C1, C2, C3. C1 is the master, while C2 and C3 are the replicas. I query against C2. Let's say there are 5 batches. Do I have to keep all subsequent cursor retreival calls to C2? If I ask for the next batch from C3, will I get a 404?

I assume that I'll have to target the same server. Depending on the answer to the question, I'll have to update my driver.

Thanks,
JPD

Frank Celler

unread,
Feb 17, 2015, 2:59:50 PM2/17/15
to aran...@googlegroups.com
Hello JPD,

you are totally right. If you start to read a batched answer, all subsequent requests must be made against the same replica.

Kind regards
  Frank
Reply all
Reply to author
Forward
0 new messages