[SERVER-46641] Limit collection names to 255 bytes Created: 05/Mar/20  Updated: 29/Oct/23  Resolved: 17/Mar/20

Status: Closed
Project: Core Server
Component/s: Catalog
Affects Version/s: None
Fix Version/s: 4.4.0-rc0, 4.7.0

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

Issue Links:
Backports
Depends
Documented
Problem/Incident
is caused by SERVER-41694 Remove the restriction on collection ... Closed
Backwards Compatibility: Minor Change
Operating System: ALL
Backport Requested:
v4.4
Sprint: Execution Team 2020-03-23
Participants:

 Description   

Currently, collection names are not limited by a constant value, and are implicitly limited by the size of a BSON document (16 MB). This should be changed to limit collection names to a length of 255 bytes.



 Comments   
Comment by Githook User [ 17/Mar/20 ]

Author:

{'name': 'Daniel Gottlieb', 'username': 'dgottlieb', 'email': 'daniel.gottlieb@mongodb.com'}

Message: SERVER-46641: Limit collection names to 255 characters.

(cherry picked from commit 10b9987d9f2bf37ff76b3fd2271e1585c124d587)
Branch: v4.4
https://github.com/mongodb/mongo/commit/97c1d0935d06437b924427546b621d53dd3d2e07

Comment by Githook User [ 17/Mar/20 ]

Author:

{'email': 'daniel.gottlieb@mongodb.com', 'name': 'Daniel Gottlieb', 'username': 'dgottlieb'}

Message: SERVER-46641: Limit collection names to 255 characters.
Branch: master
https://github.com/mongodb/mongo/commit/10b9987d9f2bf37ff76b3fd2271e1585c124d587

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