Details
-
Bug
-
Resolution: Done
-
Minor - P4
-
None
-
None
-
None
-
Platforms 2017-02-13
-
-
(copied to CRM)
Description
Mongostat won't work on a replicated sharded cluster when one of the shards is misbehaving. Note this only happens with the --discover flag. Without that flag, it reports correctly.
localhost:~ angshuman.bagchi$ mongostat --discover
|
connected to: 127.0.0.1
|
|
|
localhost no data
|
Wed Aug 7 16:28:38.067 Assertion: 13111:field not found, expected type 2
|
0x1006e7f2b 0x1006a64b9 0x1006a699c 0x100008720 0x1000128fb 0x100017b6c 0x1000197c9 0x1006a03b6 0x10000171f 0x100001694 0x2
|
0 mongostat 0x00000001006e7f2b _ZN5mongo15printStackTraceERSo + 43
|
1 mongostat 0x00000001006a64b9 _ZN5mongo11msgassertedEiPKc + 217
|
2 mongostat 0x00000001006a699c _ZN5mongo11msgassertedEiRKSs + 12
|
3 mongostat 0x0000000100008720 _ZNK5mongo11BSONElement6StringEv + 464
|
4 mongostat 0x00000001000128fb _ZN5mongo4Stat9_discoverERSt3mapISsN5boost10shared_ptrINS0_11ServerStateEEESt4lessISsESaISt4pairIKSsS5_EEERS9_RKS5_ + 4235
|
5 mongostat 0x0000000100017b6c _ZN5mongo4Stat7runManyEv + 2460
|
6 mongostat 0x00000001000197c9 _ZN5mongo4Stat3runEv + 841
|
7 mongostat 0x00000001006a03b6 _ZN5mongo4Tool4mainEiPPc + 5462
|
8 mongostat 0x000000010000171f main + 63
|
9 mongostat 0x0000000100001694 start + 52
|
10 ??? 0x0000000000000002 0x0 + 2
|
assertion: 13111 field not found, expected type 2
|
Attachments
Issue Links
- is duplicated by
-
SERVER-10890 Mongostat traceback when fail to provide auth in sharded/replicated env.
-
- Closed
-
-
SERVER-12083 Mongostat throws repeatedly with bad auth + discover combo
-
- Closed
-