[DOCS-14440] Investigate changes in SERVER-56241: Don't allow setting getLastErrorDefaults on startup/reconfig Created: 10/May/21  Updated: 13/Nov/23  Resolved: 27/Aug/21

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 5.0.0-rc0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Ian Fogelman
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-56241 Don't allow setting getLastErrorDefau... Closed
Duplicate
duplicates DOCS-14381 Investigate changes in SERVER-55701: ... Closed
Participants:
Days since reply: 2 years, 23 weeks, 5 days ago
Epic Link: DOCSP-15042
Story Points: 3

 Description   

Description

Downstream Change Summary

We do not allow setting settings.getLastErrorDefaults in the config to a customized value, i.e anything other than:

    {w: 1, wtimeout: 0}
    

on startup/reconfig

Description of Linked Ticket

  • We will fassert on startup if the field exists and is not {w:1, wtimeout: 0}

    for a replica set that is part of a sharded cluster, since that would be counter to our goal of ensuring that the default write concern is uniform across all replica sets in the cluster.

  • We will fail any addShard for a replica set that specifies something other than {w:1, wtimeout: 0}

    or any replSetReconfig commands that modify getLastErrorDefaults.

  • We should upgrade the existing startup warning for non {w:1, wtimeout: 0}

    values on non-shard servers from saying that this field is deprecated to say that the field is ignored.

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Githook User [ 27/Aug/21 ]

Author:

{'name': 'ian fogelman', 'email': 'ian.fogelman@mongodb.com', 'username': 'ianf-mongodb'}

Message: DOCS-14440 Update getlast.error in replica set config command REMOVED
Branch: v5.0
https://github.com/mongodb/docs/commit/de6ef653ba24aac828a44f62eda5594c3d82fbdc

Comment by Githook User [ 27/Aug/21 ]

Author:

{'name': 'ian fogelman', 'email': 'ian.fogelman@mongodb.com', 'username': 'ianf-mongodb'}

Message: DOCS-14440 Update getlast.error in replica set config command REMOVED
Branch: master
https://github.com/mongodb/docs/commit/f2effa2e77da6c55370af0e12387f64b34b47c58

Generated at Thu Feb 08 08:10:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.