[SERVER-6799] if getLastError knows it will never complete it should return an error Created: 19/Aug/12 Updated: 06/Dec/22 Resolved: 14/Jun/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Trivial - P5 |
| Reporter: | Dwight Merriman | Assignee: | Backlog - Replication Team |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Replication
|
| Participants: |
| Description |
|
{getLastError:1,w:99}
for example |
| Comments |
| Comment by Spencer Brody (Inactive) [ 14/Jun/18 ] |
|
This definitely works right for write commands. I believe this also works right for GLE though I haven't checked or tested. Regardless GLE is no longer the primary way that write concern is waited for. |