[SERVER-34806] Convert ErrorCodes::InvalidReplicaSetConfig to use ErrorExtraInfo in replSetUpdatePosition command Created: 02/May/18 Updated: 06/Dec/22 Resolved: 18/May/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Mathias Stearn | Assignee: | Backlog - Replication Team |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | former-quick-wins, neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Replication
|
||||||||
| Participants: | |||||||||
| Description |
|
It needs to add extra data to command replies, so it should use ErrorExtraInfo rather than directly appending.
|
| Comments |
| Comment by Githook User [ 29/Jun/21 ] |
|
Author: {'name': 'Lingzhi Deng', 'email': 'lingzhi.deng@mongodb.com', 'username': 'ldennis'}Message: |
| Comment by Spencer Brody (Inactive) [ 23/May/18 ] |
|
This issue would prevent us from switching the replSetUpdatePosition command over to using the new TypedCommand machinery, which we're likely to want to do as part of the "faster initial sync" project, so I'm adding this ticket into that project for now. |
| Comment by Gregory McKeon (Inactive) [ 15/May/18 ] |
|
redbeard0531 do you have additional context so repl can prioritize this work? |
| Comment by Spencer Brody (Inactive) [ 03/May/18 ] |
|
Also redbeard0531, can you give us some more context on what the issue is and what the cost is to leaving it as-is, so that we can better prioritize the fix alongside our other work? |
| Comment by Siyuan Zhou [ 03/May/18 ] |
|
redbeard0531, the command and user mentioned in the description are the same. Should one of them point to a different place? |