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

mongos attach user client metadata to non-user request

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.6.18
    • Component/s: None
    • ALL

      An example from a customer log file shows that their client metadata is in a log line from moveChunk which was initiated by the system.

      2020-07-22T15:52:34.075+0000 I COMMAND  [conn2903218] command admin.$cmd command: moveChunk { moveChunk: "db.coll", shardVersion: [ Timestamp(1, 24), ObjectId('5f185d9f3354ab24e366e50f') ], epoch: ObjectId('5f185d9f3354ab24e366e50f'), configdb: "atlas-config-0/atlas-config-00...", fromShard: "atlas-shard-4", toShard: "atlas-shard-1", min: { id: -8485502273906393736 }, max: { id: -7747632510958011672 }, maxChunkSizeBytes: 67108864, secondaryThrottle: false, waitForDelete: true, takeDistLock: false, lsid: { id: UUID("6617fbc7-a91f-431a-a977-2f2ceab9a567"), uid: BinData(0, ...) }, $clusterTime: { clusterTime: Timestamp(1595432503, 611), signature: { hash: BinData(0, ...), keyId: ... } }, $client: { driver: { name: "nodejs", version: "3.5.6" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "4.15.0-1060-gcp" }, platform: "'Node.js v10.19.0, LE (unified)", mongos: { host: "atlas-shard-12-....mongodb.net:27016", client: "10.xxx", version: "3.6.18" } }, $configServerState: { opTime: { ts: Timestamp(1595432503, 611), t: 16 } }, $db: "admin" } numYields:0 reslen:301 locks:{ Global: { acquireCount: { r: 15486, w: 16 } }, Database: { acquireCount: { r: 7735, w: 14, W: 2 } }, Collection: { acquireCount: { r: 1366, w: 2, W: 5 }, acquireWaitCount: { W: 1 }, timeAcquiringMicros: { W: 69476755 } }, oplog: { acquireCount: { r: 6369, w: 7 } } } protocol:op_msg 650850ms
      

            Assignee:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: