[DRIVERS-307] Support new readConcern level "linearizable" Created: 14/Jun/16 Updated: 15/Apr/19 Resolved: 11/Oct/16 |
|
| Status: | Closed |
| Project: | Drivers |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Rathi Gnanasekaran | Assignee: | Rathi Gnanasekaran |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
A linearizable read avoids returning reads from a "stale" primary (one that has already been superseded by a new primary but doesn't know it yet). It is important to note that readConcern level linearizable does not by itself produce linearizable reads; they must be issued in conjunction with w:majority writes to the same document(s) in order to be linearizable. This feature is exposed as a new value for readConcern.level, "linearizable". |
| Comments |
| Comment by Rathi Gnanasekaran [ 11/Oct/16 ] |
|
Resolving issue as all linked tickets are closed. |
| Comment by Jeremy Mikola [ 11/Oct/16 ] |
|
Implemented in PHPC and HHVM, which satisfies PHPLIB. Will not implement for legacy PHP. |