Redundant test
By the time the program execution reaches the test of this condition there is only one possible outcome for the test. The code at the destination of this branch is not dead, either because this condition is always true or because there is at least one other branch that reaches it. Test always evaluates the same
/data/mci/58fd14856d2dbbbec49d65ec6a1b6796/bazel_cache/33d18d311b7c0cb8812477a320550d4d/execroot/_main/src/mongo/s/write_ops/write_op.cpp:294: DEADCODE 174786 At condition "writeType == mongo::WriteType::Ordinary", the value of "writeType" must be equal to 0.
/data/mci/58fd14856d2dbbbec49d65ec6a1b6796/bazel_cache/33d18d311b7c0cb8812477a320550d4d/execroot/_main/src/mongo/s/write_ops/write_op.cpp:264: DEADCODE 174786 Condition "writeType == mongo::WriteType::Ordinary", taking true branch. Now the value of "writeType" is equal to 0.
/data/mci/58fd14856d2dbbbec49d65ec6a1b6796/bazel_cache/33d18d311b7c0cb8812477a320550d4d/execroot/_main/src/mongo/s/write_ops/write_op.cpp:294: DEADCODE 174786 The condition "writeType == mongo::WriteType::Ordinary" must be true.
- is fixed by
-
SERVER-106103 Fix a regression with how "batch_write_op.cpp" groups write operations together
-
- Closed
-
- is related to
-
SERVER-105583 Refactor targetUpdate(), targetDelete(), targetWrites(), and targetWriteOps()
-
- Closed
-
-
SERVER-106103 Fix a regression with how "batch_write_op.cpp" groups write operations together
-
- Closed
-