0

I cannot understand from documation whatis the meaning of the ms in the mongod.log end of the line I have replica set with 3 mongo instances

2019-10-30T21:09:41.647Z I COMMAND [co48] command Db.noa command: insert { insert: "noa", ordered: true, $db: "hDb", $clusterTime: { clusterTime: Timestamp(1572469780, 646), signature: { hash: BinData(0, 0000000000000000000000000000000000000000), keyId: 0 } }, lsid: { id: UUID("91b42ec1-fd1b-4b03-b3d5-fd66e14cc774") } } ninserted:1 keysInserted:3 numYields:0 reslen:214 locks:{ Global: { acquireCount: { r: 2, w: 2 } }, Database: { acquireCount: { w: 2 } }, Collection: { acquireCount: { w: 1 } }, oplog: { acquireCount: { w: 1 } } } protocol:op_msg 1056ms

my write concern is w:1 wtimeout:0 what means the acknowledge come after the data is written the memory the ms means the total time to write to disk as well? pleasr can you help me understand the log

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.