[CDRIVER-2555] Update clusterTime from handshake replies Created: 16/Mar/18 Updated: 28/Oct/23 Resolved: 25/Mar/18 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | libmongoc |
| Affects Version/s: | 1.8.0 |
| Fix Version/s: | 1.10.0 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | Kevin Albertson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Description |
|
It would be nice if, when we receive a clusterTime in an ismaster response while handshaking a connection, we update the client's clusterTime with that value. Update _mongoc_topology_update_no_lock:
Possibly fixed when we refactored recently? |
| Comments |
| Comment by Githook User [ 25/Mar/18 ] |
|
Author: {'email': 'kevin.albertson@10gen.com', 'name': 'Kevin Albertson', 'username': 'kevinAlbs'}Message: |
| Comment by Kevin Albertson [ 25/Mar/18 ] |
|
Added a test to verify the topology clusterTime is already updated after a handshake. No functionality change was necessary. |
| Comment by Githook User [ 25/Mar/18 ] |
|
Author: {'email': 'kevin.albertson@10gen.com', 'name': 'Kevin Albertson', 'username': 'kevinAlbs'}Message: |