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

createCollection should not return ok: 1 with write concern errors

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Replication
    • ALL
    • 7

      The behavior is found in a build failure. It might be surprising to users.

      [multi_stmt_txn_passthrough:inc2] 2018-11-18T17:43:46.308+0000 assert: command failed: {
      [multi_stmt_txn_passthrough:inc2] 2018-11-18T17:43:46.309+0000 	"writeConcernError" : {
      [multi_stmt_txn_passthrough:inc2] 2018-11-18T17:43:46.309+0000 		"code" : 91,
      [multi_stmt_txn_passthrough:inc2] 2018-11-18T17:43:46.309+0000 		"codeName" : "ShutdownInProgress",
      [multi_stmt_txn_passthrough:inc2] 2018-11-18T17:43:46.319+0000 		"errmsg" : "Replication is being shut down"
      [multi_stmt_txn_passthrough:inc2] 2018-11-18T17:43:46.325+0000 	},
      [multi_stmt_txn_passthrough:inc2] 2018-11-18T17:43:46.326+0000 	"ok" : 1,
      [multi_stmt_txn_passthrough:inc2] 2018-11-18T17:43:46.326+0000 	"$clusterTime" : {
      [multi_stmt_txn_passthrough:inc2] 2018-11-18T17:43:46.326+0000 		"clusterTime" : Timestamp(1542563026, 1),
      [multi_stmt_txn_passthrough:inc2] 2018-11-18T17:43:46.327+0000 		"signature" : {
      [multi_stmt_txn_passthrough:inc2] 2018-11-18T17:43:46.327+0000 			"hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
      [multi_stmt_txn_passthrough:inc2] 2018-11-18T17:43:46.332+0000 			"keyId" : NumberLong(0)
      [multi_stmt_txn_passthrough:inc2] 2018-11-18T17:43:46.335+0000 		}
      [multi_stmt_txn_passthrough:inc2] 2018-11-18T17:43:46.335+0000 	},
      [multi_stmt_txn_passthrough:inc2] 2018-11-18T17:43:46.335+0000 	"operationTime" : Timestamp(1542563026, 1)
      [multi_stmt_txn_passthrough:inc2] 2018-11-18T17:43:46.340+0000 }
      

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: