diff options
author | Eliot Horowitz <eliot@10gen.com> | 2014-11-09 23:59:58 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2014-11-10 00:13:22 -0500 |
commit | 4ab029e3e68ea5f7aa89b90a47fd814d17b142bf (patch) | |
tree | eea5c1b9bd91aa079d4f8448db4c7946679ac6b6 /src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp | |
parent | 1b446f240856cf93b32fcc62e1980d9cc2f42f87 (diff) | |
download | mongo-4ab029e3e68ea5f7aa89b90a47fd814d17b142bf.tar.gz |
SERVER-16023: abort mongod on WT_PANIC
Diffstat (limited to 'src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp')
-rw-r--r-- | src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp b/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp index 7b56c3bcdd6..f982103100c 100644 --- a/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp +++ b/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp @@ -52,6 +52,7 @@ namespace mongo { int mdb_handle_error(WT_EVENT_HANDLER *handler, WT_SESSION *session, int errorCode, const char *message) { error() << "WiredTiger (" << errorCode << ") " << message; + fassert( 28558, errorCode != WT_PANIC ); return 0; } |