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

Remove anonymous namespace usage in sharding_ddl_utils.h

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-03-03
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      While looking at sharding_ddl_util.h I noticed that there is a usage of an anonymous namespace in a header file, which is considered bad programming practice, because it doesn't actually make the code in that namespace invisible to other modules.

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

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None