diff options
-rw-r--r-- | src/mongo/db/wire_version.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/db/wire_version.h b/src/mongo/db/wire_version.h index 27cace11849..147fa8b5c1f 100644 --- a/src/mongo/db/wire_version.h +++ b/src/mongo/db/wire_version.h @@ -49,11 +49,14 @@ namespace mongo { // The aggregation command may now be requested to return cursors. AGG_RETURNS_CURSORS = 1, + + // insert, update, and delele batch command + BATCH_COMMANDS = 2 }; // Latest version that the server accepts. This should always be at the latest entry in // WireVersion. - static const int maxWireVersion = AGG_RETURNS_CURSORS; + static const int maxWireVersion = BATCH_COMMANDS; // Minimum version that the server accepts. We should bump this whenever we don't want // to allow communication with too old agents. |