Documentation

TransactionGetMultiReplicasFromPreferredServerGroupMode

Strategy to deal with potential read skews while reading multiple documents.

Essentially when a transaction reads document X and then Y, and another transaction commits a change to Y inbetween those reads - read skew has occurred.

Tags
since
4.3.0

Table of Contents

DISABLE_READ_SKEW_DETECTION  = "disableReadSkewDetection"
No read skew detection should be attempted. Once the documents are fetched, they will be returned immediately.
PRIORITISE_LATENCY  = "prioritiseLatency"
Some time-bounded effort will be made to detect and avoid read skew.
PRIORITISE_READ_SKEW_DETECTION  = "prioritiseReadSkewDetection"
Great effort will be made to detect and avoid read skew.

Constants


        

Search results