[SERVER-15268] Write Commands should return replication information (writtenTo) Created: 16/Sep/14 Updated: 06/Dec/22 Resolved: 23/Nov/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication, Sharding, Write Ops |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | [DO NOT USE] Backlog - Sharding Team |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Assigned Teams: |
Sharding
|
||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Much like getLastError ( This information could be made optional based on a flag for the write command like:
Note: lastOp and electionId are already returned in the response at the top. |
| Comments |
| Comment by Andy Schwerin [ 19/Oct/15 ] |
|
I wonder if milkie effectively did this as part of making waitForReplication wait for the latest optime on write failures? scotthernandez, do you know? |