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

Pull some widely-used value types under mongo/db into a base library

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0, 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding EMEA 2022-09-05
    • 165

      There are a set of common widely-used value types that 99% of the binaries under mongo/db need to reference. We should put them under a mongo/db/base library, similar to how mongo/base works.

      Here are some initial candidates of .cpp files that need to go in there:

      tenant_id.cpp
      database_name.cpp
      namespace_string.cpp
      shard_id.cpp
      

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: