[SERVER-40096] Allow setIndexBuildCommitQuorum cmd to write to the config.system.indexBuilds collection Created: 12/Mar/19  Updated: 29/Oct/23  Resolved: 18/Mar/19

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.1.10

Type: Bug Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Dianna Hohensee (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
is related to SERVER-40093 Make commit_quorum.js use try-finally... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Storage NYC 2019-03-25
Participants:
Linked BF Score: 35

 Description   

The setIndexBuildCommitQuorum cmd uses the Helper::upsert function to write to the config.system.indexBuilds collection. Helper::upsert() eventually hits a call to NamespaceString::isLegalClientSystemNS(), whereupon it fails attempts to write to the collection because we have not whitelisted it.

Update NamespaceString::isLegalClientSystemN() to allow writes to the config.system.indexBuilds collection.



 Comments   
Comment by Githook User [ 18/Mar/19 ]

Author:

{'name': 'Dianna Hohensee', 'username': 'DiannaHohensee', 'email': 'dianna.hohensee@10gen.com'}

Message: SERVER-40096 Allow setIndexBuildCommitQuorum cmd to write to the config.system.indexBuilds collection
Branch: master
https://github.com/mongodb/mongo/commit/75c6005623129ad4e6abd1cd5f2e5ae6ca0b0ad4

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