diff options
author | Alberto Lerner <alerner@10gen.com> | 2013-10-11 19:08:29 -0400 |
---|---|---|
committer | Alberto Lerner <alerner@10gen.com> | 2013-10-11 19:08:29 -0400 |
commit | 71c1d57dbc3af19c6832ba7361c44eff98d540cf (patch) | |
tree | fa95ae7959cd946997b494211440ed28d13fe7f4 /src/mongo/db/wire_version.h | |
parent | 7555171ac736cd06c59fd5ebd958041d55c8420e (diff) | |
download | mongo-71c1d57dbc3af19c6832ba7361c44eff98d540cf.tar.gz |
SERVER-9038 Increment max wire version indicating write commands are now supported.
Diffstat (limited to 'src/mongo/db/wire_version.h')
-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. |