summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2015-02-04 11:54:48 -0500
committerRamon Fernandez <ramon@mongodb.com>2015-02-15 10:27:20 -0500
commit5635d23c6749e73b8c367070fe8474884dcb0207 (patch)
tree55b9e649796fbb9090d067e5155f49f60c8f9ee6
parente71db695221e39b3b6aa972d7503ca8c52c8fd55 (diff)
downloadmongo-5635d23c6749e73b8c367070fe8474884dcb0207.tar.gz
SERVER-17247 allow traceWriteConflictException to be set on startup
This makes it usable with smoke.py (cherry picked from commit 1438dfd8fb21ea29ea2de273470b934f599269e5)
-rw-r--r--src/mongo/db/concurrency/write_conflict_exception.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/concurrency/write_conflict_exception.cpp b/src/mongo/db/concurrency/write_conflict_exception.cpp
index 92dc7d33f3d..4e61faa1a56 100644
--- a/src/mongo/db/concurrency/write_conflict_exception.cpp
+++ b/src/mongo/db/concurrency/write_conflict_exception.cpp
@@ -77,7 +77,7 @@ namespace mongo {
ExportedServerParameter<bool> TraceWCExceptionsSetting(ServerParameterSet::getGlobal(),
"traceWriteConflictExceptions",
&WriteConflictException::trace,
- false, // allowedToChangeAtStartup
+ true, // allowedToChangeAtStartup
true); // allowedToChangeAtRuntime
}