Details
Description
This crash was introduced in 3.1.2. It does not affect 3.0.2.
Invariant failure nsIsDbOnly(dbName) src/mongo/s/catalog/legacy/catalog_manager_legacy.cpp 820
|
|
Program received signal SIGTRAP, Trace/breakpoint trap.
|
[Switching to Thread 0x7fc1585c4700 (LWP 11537)]
|
0x00007fc15e14d20b in raise (sig=5) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
|
37 ../nptl/sysdeps/unix/sysv/linux/pt-raise.c: No such file or directory.
|
(gdb) bt
|
#0 0x00007fc15e14d20b in raise (sig=5) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
|
#1 0x0000000000ff0238 in mongo::breakpoint () at src/mongo/util/debugger.cpp:57
|
#2 0x0000000000fe2209 in mongo::invariantFailed (expr=0x12077dc "nsIsDbOnly(dbName)",
|
file=0x1207610 "src/mongo/s/catalog/legacy/catalog_manager_legacy.cpp", line=820) at src/mongo/util/assert_util.cpp:153
|
#3 0x0000000000eb0642 in mongo::CatalogManagerLegacy::getDatabase (this=0x2f7ecd0, dbName=...) at src/mongo/s/catalog/legacy/catalog_manager_legacy.cpp:820
|
#4 0x0000000000ea50bb in mongo::CatalogCache::getDatabase (this=0x2f838f0, dbName=...) at src/mongo/s/catalog/catalog_cache.cpp:61
|
#5 0x0000000000f561b5 in mongo::(anonymous namespace)::MoveDatabasePrimaryCommand::run (this=0x1767600 <mongo::(anonymous namespace)::movePrimary>,
|
txn=0x0, dbname_unused=..., cmdObj=..., options=0, errmsg=..., result=...) at src/mongo/s/commands/cluster_move_primary_cmd.cpp:119
|
#6 0x0000000000f9115c in mongo::Command::execCommandClientBasic (txn=0x0, c=0x1767600 <mongo::(anonymous namespace)::movePrimary>, client=...,
|
queryOptions=0, ns=0x7fc1340013c4 "admin.$cmd", cmdObj=..., result=...) at src/mongo/s/s_only.cpp:102
|
#7 0x0000000000f915d6 in mongo::Command::runAgainstRegistered (ns=0x7fc1340013c4 "admin.$cmd", jsobj=..., anObjBuilder=..., queryOptions=0)
|
at src/mongo/s/s_only.cpp:146
|
#8 0x0000000000f998aa in mongo::Strategy::clientCommandOp (this=0x2f67990, r=...) at src/mongo/s/strategy.cpp:308
|
#9 0x0000000000f90612 in mongo::Request::process (this=0x7fc1585c3b90, attempt=0) at src/mongo/s/request.cpp:121
|
#10 0x0000000000b473f4 in mongo::ShardedMessageHandler::process (this=0x7fffc6106670, m=..., p=0x2f97a70) at src/mongo/s/server.cpp:149
|
#11 0x0000000001007c7d in mongo::PortMessageServer::handleIncomingMsg (arg=0x2f97a70) at src/mongo/util/net/message_server_port.cpp:227
|
#12 0x00007fc15e145182 in start_thread (arg=0x7fc1585c4700) at pthread_create.c:312
|
#13 0x00007fc15de7247d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
|