[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:
Related
related to SERVER-57045 Complete TODO listed in SERVER-34806 Closed
Assigned Teams:
Replication
Participants:

 Description   

It needs to add extra data to command replies, so it should use ErrorExtraInfo rather than directly appending.

 

Command: https://github.com/mongodb/mongo/blob/c76e75fef1d18b8e2869707d8d9180d5ae328b75/src/mongo/db/repl/repl_set_commands.cpp#L619-L622

 

User:https://github.com/mongodb/mongo/blob/d0dea93d632ce451b66b57b538e66f3e1378b049/src/mongo/db/repl/reporter.cpp#L263-L264



 Comments   
Comment by Githook User [ 29/Jun/21 ]

Author:

{'name': 'Lingzhi Deng', 'email': 'lingzhi.deng@mongodb.com', 'username': 'ldennis'}

Message: SERVER-57045: Remove TODO for SERVER-34806
Branch: master
https://github.com/mongodb/mongo/commit/e725124f2885412125942827899352f8f02d7d59

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?

Generated at Thu Feb 08 04:37:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.