[SERVER-68127] CollMod returns error message with wrong field Created: 19/Jul/22  Updated: 29/Oct/23  Resolved: 19/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: Rui Liu Assignee: Rui Liu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: QE 2022-07-25
Participants:

 Description   

See below, I think we should use `kTimeseriesFieldName` instead of `kIsTimeseriesNamespaceFieldName` here. `kIsTimeseriesNamespaceFieldName` is an internal flag and should be reported to the user.

https://github.com/10gen/mongo/blob/6af105aa73b7e3ed88186a14a5e832434af65863/src/mongo/db/catalog/coll_mod.cpp#L545



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

Author:

{'name': 'Rui Liu', 'email': 'rui.liu@mongodb.com', 'username': 'lriuui0x0'}

Message: SERVER-68127 Correct the field name in the error reporting of collMod parsing
Branch: master
https://github.com/mongodb/mongo/commit/24d4538ef2c52ae81455849ca37b40ed51fcc38c

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