Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-89138

Remove collection name limit of 235 for unsplittable collections

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Catalog and Routing
    • Fully Compatible
    • v8.0
    • CAR Team 2024-10-14, CAR Team 2024-10-28, CAR Team 2024-11-11, CAR Team 2024-11-25

      SERVER-62906 added a limitation to the number of characters in collection names for sharded collections. This seems to be an arbitrary limit, a long time ago, collection names were limited to 120 characters due to MMAPv1 in Windows, but this was removed by SERVER-41694, and it does not seems to be necessary anymore. Additionally, now that we'll be tracking unsharded collections, we should not have this limit. There are a couple of places where there is this restriction:

      The purpose of this ticket is to first investigate the impact of removing this limit, and then removing it, achieving untracked collection parity in collection name limit.

            Assignee:
            enrico.golfieri@mongodb.com Enrico Golfieri
            Reporter:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: