[CDRIVER-459] Bring mongoc_cluster_node_t up to the SDAM spec Created: 14/Nov/14 Updated: 17/Aug/15 Resolved: 17/Feb/15 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | 1.0.2 |
| Fix Version/s: | 1.2-beta0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Mira Carey | Assignee: | Samantha Ritter (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
mongoc_cluster_node_t should have a state compatible with the SDAM spec and enough storage to be able to iterate through viable states. At each step it should be able to return needed read or writability and should be able to do some non-blocking work if either can be satisfied. This task should include tests for this (out of the spec if possible) driven with mocked streams. |
| Comments |
| Comment by Mira Carey [ 17/Feb/15 ] |
|
mongoc_cluster_t got a full re-write as part of sdam/ss support |