[SERVER-78494] listCollections expects a renamed time-series collection with time-series options to have a time-series namespace Created: 28/Jun/23  Updated: 29/Oct/23  Resolved: 05/Jul/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 7.0.0-rc1, 6.0.8
Fix Version/s: 7.1.0-rc0, 7.0.0-rc7

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

Issue Links:
Backports
Depends
Problem/Incident
is caused by SERVER-77003 Allow renames of time-series collecti... Closed
Related
related to SERVER-77261 Server allows renaming a “normal” col... Open
is related to SERVER-78526 [v6.0] Revert ability to rename time-... Closed
is related to SERVER-78527 Revert ability to rename time-series ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0, v6.0
Sprint: Execution NAMR Team 2023-07-10
Participants:
Linked BF Score: 124

 Description   

The listCollections command checks for time-series options before attempting to fetch the view namespace for a time-series collection. However, with SERVER-77003, there is no longer a guarantee that the namespace is the expect format.

We should probably survey other getTimeseriesViewNamespace() callers and getTimeseriesOptions() gates, to make sure they're safe after SERVER-77003.



 Comments   
Comment by Githook User [ 07/Jul/23 ]

Author:

{'name': 'Faustoleyva54', 'email': 'fausto.leyva@mongodb.com', 'username': 'Faustoleyva54'}

Message: SERVER-78494 Restrict timeseries collection renames between buckets namespaces
Branch: master
https://github.com/mongodb/mongo/commit/cb15b5333a6d967d68f3f9aceea9bc98001ce6a8

Comment by Githook User [ 07/Jul/23 ]

Author:

{'name': 'Faustoleyva54', 'email': 'fausto.leyva@mongodb.com', 'username': 'Faustoleyva54'}

Message: SERVER-78494 Restrict timeseries collection renames between buckets namespaces
Branch: v7.0
https://github.com/mongodb/mongo/commit/0ae4a0a07f17a4d72d111bbc61d8ebe800819aa1

Comment by Githook User [ 05/Jul/23 ]

Author:

{'name': 'Faustoleyva54', 'email': 'fausto.leyva@mongodb.com', 'username': 'Faustoleyva54'}

Message: SERVER-78494 Restrict timeseries collection renames between buckets namespaces
Branch: master
https://github.com/mongodb/mongo/commit/9e6a36875a6101adccb51508d26815d39aad4d5d

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