4 ms·
Yeah a transaction ID solution would work pretty well. Every request would return the highest transaction ID seen by the replica; writes forwarded to the primar
by infogulch 4y ago
Yeah a transaction ID solution would work pretty well. Every request would return the highest transaction ID seen by the replica; writes forwarded to the primary would also return the transaction ID after that write; any request with a transaction ID higher than the replica would be forwarded to the primary.
- hinkley 4y agoI think that may have been the case. Try the local replica, if it is too old, hit the primary, rather than shopping around for the next best replica.