Add specific coordinator attributes in ShardingDDLCoordinator logs.

XMLWordPrintableJSON

    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2023-11-13, CAR Team 2023-11-27, CAR Team 2023-12-11, CAR Team 2023-12-25
    • 1
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The logs emitted by ShardingDDLCoordinator infrastructure (e.g. retry, error, ...) only contains the coordinator ID.

      Many coordinators contains specific parameters that could help in the debugging process, for instance when a movePrimary fails it would be useful to know also which was the destination shard.

      We could achieve by exposing a function similar to appendComamndInfo that instead of appending to a BSONObjBuilder appends elements to a mongo::logv2::DynamicAttributes.

              Assignee:
              Jordi Olivares Provencio
              Reporter:
              Tommaso Tocci
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: