[SERVER-62906] Add a check in the createCollection/shardCollection path verifying the collection name length Created: 24/Jan/22  Updated: 29/Oct/23  Resolved: 02/Feb/22

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 5.3.0, 4.2.19, 4.0.29, 4.4.13, 5.0.7

Type: Task Priority: Major - P3
Reporter: Sergi Mateo Bellido Assignee: Antonio Fuschetto
Resolution: Fixed Votes: 0
Labels: SSCCL-BUG
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PDF File certificate.pdf    
Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0, v4.4, v4.2, v4.0
Sprint: Sharding EMEA 2022-01-24, Sharding EMEA 2022-02-07
Participants:

 Description   

The goal of this task is to add a check in the shardCollection/createCollection path, veryfying that if we are creating a sharded collection the length of the collection name doesn't exceed the internal limit (something around 235 chars).



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

Author:

{'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}

Message: SERVER-62906 Add a check in the createCollection/shardCollection path verifying the collection name length
Branch: v4.2
https://github.com/mongodb/mongo/commit/0491f281895741b178e668d98937c2f92f797d25

Comment by Githook User [ 08/Feb/22 ]

Author:

{'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}

Message: SERVER-62906 Add a check in the createCollection/shardCollection path verifying the collection name length
Branch: v4.0
https://github.com/mongodb/mongo/commit/eef27964f474c5e7b1684b96f9acd53f561062f0

Comment by Githook User [ 07/Feb/22 ]

Author:

{'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}

Message: SERVER-62906 Add a check in the createCollection/shardCollection path verifying the collection name length
Branch: v4.4
https://github.com/mongodb/mongo/commit/e4d6153687cdc21e22d736cb47932dbfefe8b645

Comment by Githook User [ 04/Feb/22 ]

Author:

{'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}

Message: SERVER-62906 Add a check in the createCollection/shardCollection path verifying the collection name length
Branch: v5.0
https://github.com/mongodb/mongo/commit/b9ebfb962eb7d5ed114c4bd089fda640dafa6371

Comment by Githook User [ 02/Feb/22 ]

Author:

{'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}

Message: SERVER-62906 Add a check in the createCollection/shardCollection path verifying the collection name length
Branch: master
https://github.com/mongodb/mongo/commit/b96cf6c3cd26e240b84e40756b148b2e3cfde063

Generated at Thu Feb 08 05:56:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.