diff options
Diffstat (limited to 'src/mongo/shell/bench.cpp')
-rw-r--r-- | src/mongo/shell/bench.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/shell/bench.cpp b/src/mongo/shell/bench.cpp index b72f47ff162..71c7d8349f3 100644 --- a/src/mongo/shell/bench.cpp +++ b/src/mongo/shell/bench.cpp @@ -1187,6 +1187,11 @@ void BenchRunOp::executeOnce(DBClientBase* conn, pipelineBuilder.doneFast(); break; } + case write_ops::UpdateModification::Type::kDelta: + // It is not possible to run a delta update directly from a client. + // Delta updates are only executed on secondaries as part of oplog + // application. + MONGO_UNREACHABLE; } singleUpdate.append("multi", this->multi); singleUpdate.append("upsert", this->upsert); |