diff options
author | Eliot Horowitz <eliot@10gen.com> | 2013-06-05 22:31:45 -0400 |
---|---|---|
committer | Dan Pasette <dan@10gen.com> | 2013-06-19 19:01:24 -0400 |
commit | f91d6f0a74e4410b93d6b30e2352fe589f71a5d7 (patch) | |
tree | e05d2d4fbf6cac1b5d16e189819050ef0c38cdac | |
parent | 310645dc7ba40a0ff3a48a7d3660d01e3e6d5da7 (diff) | |
download | mongo-f91d6f0a74e4410b93d6b30e2352fe589f71a5d7.tar.gz |
SERVER-5442: need to resetError before doing the prepare
-rw-r--r-- | src/mongo/client/syncclusterconnection.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/client/syncclusterconnection.cpp b/src/mongo/client/syncclusterconnection.cpp index 9216027ac9a..3a927a55777 100644 --- a/src/mongo/client/syncclusterconnection.cpp +++ b/src/mongo/client/syncclusterconnection.cpp @@ -87,6 +87,7 @@ namespace mongo { // this is fsync=true // which with journalling on is a journal commit // without journalling, is a full fsync + _conns[i]->simpleCommand( "admin", NULL, "resetError" ); singleErr = _conns[i]->getLastError( true ); if ( singleErr.size() == 0 ) |