summaryrefslogtreecommitdiff
path: root/src/mongo/s
diff options
context:
space:
mode:
authorgregs <greg@10gen.com>2012-06-09 15:08:52 -0400
committergregs <greg@10gen.com>2012-06-09 15:08:52 -0400
commitccd568b6e292b4641f60c704ddf983240e8f23a4 (patch)
tree10eacfb1d71f1d7afdfbf434fbe58065e1669464 /src/mongo/s
parent2deb6a2f1b457adc58436f11dd730d1fcc525084 (diff)
downloadmongo-ccd568b6e292b4641f60c704ddf983240e8f23a4.tar.gz
Revert "SERVER-4262 test that invalid writes are detected even when mongos initially stale"
This reverts commit a65d2bc01f263ccefc1a7392f48b362338c83daf.
Diffstat (limited to 'src/mongo/s')
-rw-r--r--src/mongo/s/writeback_listener.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/s/writeback_listener.cpp b/src/mongo/s/writeback_listener.cpp
index 2420af0967d..77b405a253b 100644
--- a/src/mongo/s/writeback_listener.cpp
+++ b/src/mongo/s/writeback_listener.cpp
@@ -319,7 +319,8 @@ namespace mongo {
catch ( DBException& e ) {
error() << "error processing writeback: " << e << endl;
BSONObjBuilder b;
- e.getInfo().append( b, "err", "code" );
+ b.append( "err" , e.toString() );
+ e.getInfo().append( b );
gle = b.obj();
}