[SERVER-64791] Consider disallowing the 'collMod' command on 'system.buckets' collection Created: 22/Mar/22  Updated: 29/Oct/23  Resolved: 08/Jul/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

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

Issue Links:
Documented
is documented by DOCS-15475 Investigate changes in SERVER-64791: ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2022-05-30, Execution Team 2022-06-13, Execution Team 2022-06-27, Execution Team 2022-07-11, Execution Team 2022-07-25
Participants:

 Description   

Running the 'collMod' command on the 'system.buckets' namespace (to modify granularity values) seems to only update the metadata on the collection, but not on the view definition. This could lead to incorrect query results, since the queries rely on the view definition to fetch the granularity value.



 Comments   
Comment by Githook User [ 08/Jul/22 ]

Author:

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

Message: SERVER-64791 Ban collMod targeting the underlying buckets collection of a time-series collection
Branch: master
https://github.com/mongodb/mongo/commit/b0411fe376028f6928d5cbfd0acbc4c4806f31c7

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