Currently, there is no option to specify multiple region in a single API. Application has to handle this. E.g.: One way by doing get() on position2 first, if not found then on position1 (it can use functions). There could be a window where the position2 is getting updated but its not yet reflected in the region. Depending on use-case requirement (if its fine to get old data when its getting updated), application has to handle it.
-Anil. On Tue, Sep 25, 2018 at 10:40 PM aashish choudhary < [email protected]> wrote: > Use case description:- > > We have requirement where in we will have two geode regions let's say > position1 and position2 now position1 will have positions as of 25 > september after end of the day a data load operation will run which will > put data to position2 region. At this point while data load is running any > get request will be served from position1 region because there is a > possibility of getting stale data. Now the client will have to make a > switch to position2 region to serve get request with latest data after the > load gets completed. So is there any way by which a client application > could make a switch to different region once the data load gets completed . > > > With best regards, > Ashish >
