summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRyan Timmons <ryan.timmons@10gen.com>2020-01-28 17:13:42 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-04-02 04:17:38 +0000
commit1fe9bc6787ca4f53410f86d01b960b256bf65561 (patch)
tree3ad104ffeb838934525097a50c3a143b321703a2 /src
parent54a62babcd39d7641064a516feb50171aac17ed9 (diff)
downloadmongo-1fe9bc6787ca4f53410f86d01b960b256bf65561.tar.gz
SERVER-32903 Ambiguous field name error should be ignored during initial sync
create mode 100644 jstests/replsets/initial_sync_ambiguous_index.js (cherry picked from commit 3423ca586b88566857f3fcdfeca1c6fdee7a0911)
Diffstat (limited to 'src')
-rw-r--r--src/mongo/db/index/index_access_method.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/index/index_access_method.cpp b/src/mongo/db/index/index_access_method.cpp
index ed6e0a9d206..8a1cb9a9ff9 100644
--- a/src/mongo/db/index/index_access_method.cpp
+++ b/src/mongo/db/index/index_access_method.cpp
@@ -586,6 +586,8 @@ void IndexAccessMethod::getKeys(const BSONObj& obj,
17262,
// Hash
16766,
+ // Ambiguous array field name
+ 16746,
// Haystack
16775,
16776,