summaryrefslogtreecommitdiff
path: root/src/mongo/base
diff options
context:
space:
mode:
authormatt dannenberg <matt.dannenberg@10gen.com>2014-11-17 07:19:30 -0500
committermatt dannenberg <matt.dannenberg@10gen.com>2014-11-17 09:13:47 -0500
commitb73c76f266a5427bfbab913e437ecda9aba34fda (patch)
treefaa17dc953576a289da3394d0c7631310afabbbc /src/mongo/base
parentbec3fc4b1374fb9eff9e4cc82ada7b8d5f43de45 (diff)
downloadmongo-b73c76f266a5427bfbab913e437ecda9aba34fda.tar.gz
SERVER-16191 restore old initial sync behavior that allowed for a node to become PRIMARY when it lost the initial sync race
Diffstat (limited to 'src/mongo/base')
-rw-r--r--src/mongo/base/error_codes.err2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/base/error_codes.err b/src/mongo/base/error_codes.err
index 09e1bd98bca..b0a8bbf99d8 100644
--- a/src/mongo/base/error_codes.err
+++ b/src/mongo/base/error_codes.err
@@ -112,6 +112,8 @@ error_code("ConfigurationInProgress", 109)
error_code("CannotInitializeNodeWithData", 110)
error_code("NotExactValueField", 111)
error_code("WriteConflict", 112)
+error_code("InitialSyncFailure", 113)
+error_code("InitialSyncOplogSourceMissing", 114)
# Non-sequential error codes (for compatibility only)
error_code("NotMaster", 10107) #this comes from assert_util.h