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

Add specific coordinator attributes in ShardingDDLCoordinator logs.

    • 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

      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@mongodb.com Jordi Olivares Provencio
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: