From bfd1d1684241d43f3b4779ecd51189f9a5262663 Mon Sep 17 00:00:00 2001 From: Ed Costello Date: Thu, 16 Aug 2012 13:52:40 -0400 Subject: [PATCH 1/8] add errorcodes.py from mongo src dist --- bin/errorcodes.py | 179 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 179 insertions(+) create mode 100755 bin/errorcodes.py diff --git a/bin/errorcodes.py b/bin/errorcodes.py new file mode 100755 index 00000000000..ef5e1a88877 --- /dev/null +++ b/bin/errorcodes.py @@ -0,0 +1,179 @@ +#!/usr/bin/env python + +import os +import sys +import re +import utils + + +assertNames = [ "uassert" , "massert", "fassert", "fassertFailed" ] + +def assignErrorCodes(): + cur = 10000 + for root in assertNames: + for x in utils.getAllSourceFiles(): + print( x ) + didAnything = False + fixed = "" + for line in open( x ): + s = line.partition( root + "(" ) + if s[1] == "" or line.startswith( "#define " + root): + fixed += line + continue + fixed += s[0] + root + "( " + str( cur ) + " , " + s[2] + cur = cur + 1 + didAnything = True + if didAnything: + out = open( x , 'w' ) + out.write( fixed ) + out.close() + + +codes = [] + +def readErrorCodes( callback, replaceZero = False ): + + quick = [ "assert" , "Exception"] + + ps = [ re.compile( "(([umsgf]asser(t|ted))) *\(( *)(\d+)" ) , + re.compile( "((User|Msg|MsgAssertion)Exceptio(n))\(( *)(\d+)" ), + re.compile( "((fassertFailed)()) *\(( *)(\d+)" ) + ] + + bad = [ re.compile( "\sassert *\(" ) ] + + for x in utils.getAllSourceFiles(): + + needReplace = [False] + lines = [] + lastCodes = [0] + lineNum = 1 + + for line in open( x ): + + found = False + for zz in quick: + if line.find( zz ) >= 0: + found = True + break + + if found: + + if x.find( "src/mongo/" ) >= 0: + for b in bad: + if len(b.findall( line )) > 0: + print( x ) + print( line ) + raise Exception( "you can't use a bare assert" ) + + for p in ps: + + def repl( m ): + m = m.groups() + + start = m[0] + spaces = m[3] + code = m[4] + if code == '0' and replaceZero : + code = getNextCode( lastCodes ) + lastCodes.append( code ) + code = str( code ) + needReplace[0] = True + + print( "Adding code " + code + " to line " + x + ":" + str( lineNum ) ) + + else : + codes.append( ( x , lineNum , line , code ) ) + callback( x , lineNum , line , code ) + + return start + "(" + spaces + code + + line = re.sub( p, repl, line ) + # end if ps loop + + if replaceZero : lines.append( line ) + lineNum = lineNum + 1 + + if replaceZero and needReplace[0] : + print( "Replacing file " + x ) + of = open( x + ".tmp", 'w' ) + of.write( "".join( lines ) ) + of.close() + os.remove(x) + os.rename( x + ".tmp", x ) + + +def getNextCode( lastCodes = [0] ): + highest = [max(lastCodes)] + def check( fileName , lineNum , line , code ): + code = int( code ) + if code > highest[0]: + highest[0] = code + readErrorCodes( check ) + return highest[0] + 1 + +def checkErrorCodes(): + seen = {} + errors = [] + def checkDups( fileName , lineNum , line , code ): + if code in seen: + print( "DUPLICATE IDS" ) + print( "%s:%d:%s %s" % ( fileName , lineNum , line.strip() , code ) ) + print( "%s:%d:%s %s" % seen[code] ) + errors.append( seen[code] ) + seen[code] = ( fileName , lineNum , line , code ) + readErrorCodes( checkDups, True ) + return len( errors ) == 0 + +def getBestMessage( err , start ): + err = err.partition( start )[2] + if not err: + return "" + err = err.partition( "\"" )[2] + if not err: + return "" + err = err.rpartition( "\"" )[0] + if not err: + return "" + return err + +def genErrorOutput(): + + if os.path.exists( "docs/errors.md" ): + i = open( "docs/errors.md" , "r" ) + + + out = open( "docs/errors.md" , 'wb' ) + out.write( "MongoDB Error Codes\n==========\n\n\n" ) + + prev = "" + seen = {} + + codes.sort( key=lambda x: x[0]+"-"+x[3] ) + for f,l,line,num in codes: + if num in seen: + continue + seen[num] = True + + if f.startswith( "./" ): + f = f[2:] + + if f != prev: + out.write( "\n\n" ) + out.write( f + "\n----\n" ) + prev = f + + url = "http://github.com/mongodb/mongo/blob/master/" + f + "#L" + str(l) + + out.write( "* " + str(num) + " [code](" + url + ") " + getBestMessage( line , str(num) ) + "\n" ) + + out.write( "\n" ) + out.close() + +if __name__ == "__main__": + ok = checkErrorCodes() + print( "ok:" + str( ok ) ) + print( "next: " + str( getNextCode() ) ) + if ok: + genErrorOutput() + From 98dda52fd9c4afdac4898121ad1d972774423dea Mon Sep 17 00:00:00 2001 From: Ed Costello Date: Thu, 16 Aug 2012 17:01:27 -0400 Subject: [PATCH 2/8] DOCS335 checkpointon errorcodes.py changes for docs --- bin/errorcodes.py | 32 +- draft/messages/errors.txt | 7730 +++++++++++++++++++++++++++++++++++++ 2 files changed, 7751 insertions(+), 11 deletions(-) create mode 100644 draft/messages/errors.txt diff --git a/bin/errorcodes.py b/bin/errorcodes.py index ef5e1a88877..558fd3dc092 100755 --- a/bin/errorcodes.py +++ b/bin/errorcodes.py @@ -139,13 +139,14 @@ def getBestMessage( err , start ): def genErrorOutput(): - if os.path.exists( "docs/errors.md" ): - i = open( "docs/errors.md" , "r" ) + if os.path.exists( "/tmp/errors.md" ): + i = open( "/tmp/errors.txt" , "r" ) - out = open( "docs/errors.md" , 'wb' ) - out.write( "MongoDB Error Codes\n==========\n\n\n" ) - + out = open( "/tmp/errors.txt" , 'wb' ) + out.write( "===================\nMongoDB Error Codes\n===================\n") + out.write("\n\n.. default-domain:: mongodb\n\n"); + prev = "" seen = {} @@ -157,15 +158,24 @@ def genErrorOutput(): if f.startswith( "./" ): f = f[2:] + fn = f.rpartition("/")[2] + +# if f != prev: +# out.write( "\n\n" ) +# out.write( f + "\n----\n" ) +# prev = f if f != prev: - out.write( "\n\n" ) - out.write( f + "\n----\n" ) - prev = f + out.write - url = "http://github.com/mongodb/mongo/blob/master/" + f + "#L" + str(l) - - out.write( "* " + str(num) + " [code](" + url + ") " + getBestMessage( line , str(num) ) + "\n" ) + url = "https://github.com/mongodb/mongo/blob/master/" + f + "#L" + str(l) + + out.write("\n.. error:: {}\n\n Text: {}\n\n".format(num,getBestMessage( line , str(num)))) +# out.write(" Module: {}\n\n".format(f)) + out.write(" Module: `{}:{} <{}>`_\n".format(fn,l,url)) +# out.write(" .. seealso:: `{}:{} <{}>`_\n".format(f,l, url)) + +# out.write( "* " + str(num) + " [code](" + url + ") " + getBestMessage( line , str(num) ) + "\n" ) out.write( "\n" ) out.close() diff --git a/draft/messages/errors.txt b/draft/messages/errors.txt new file mode 100644 index 00000000000..340f0884b02 --- /dev/null +++ b/draft/messages/errors.txt @@ -0,0 +1,7730 @@ +=================== +MongoDB Error Codes +=================== + + +.. default-domain:: mongodb + + +.. error:: 10065 + + Text: + + Module: `bson-inl.h:178 `_ + +.. error:: 10313 + + Text: Insufficient bytes to calculate element size + + Module: `bson-inl.h:551 `_ + +.. error:: 10314 + + Text: Insufficient bytes to calculate element size + + Module: `bson-inl.h:555 `_ + +.. error:: 10315 + + Text: Insufficient bytes to calculate element size + + Module: `bson-inl.h:560 `_ + +.. error:: 10316 + + Text: Insufficient bytes to calculate element size + + Module: `bson-inl.h:565 `_ + +.. error:: 10317 + + Text: Insufficient bytes to calculate element size + + Module: `bson-inl.h:569 `_ + +.. error:: 10318 + + Text: Invalid regex string + + Module: `bson-inl.h:575 `_ + +.. error:: 10319 + + Text: Invalid regex options string + + Module: `bson-inl.h:585 `_ + +.. error:: 10320 + + Text: + + Module: `bson-inl.h:659 `_ + +.. error:: 10321 + + Text: + + Module: `bson-inl.h:496 `_ + +.. error:: 10322 + + Text: Invalid CodeWScope size + + Module: `bson-inl.h:501 `_ + +.. error:: 10323 + + Text: Invalid CodeWScope string size + + Module: `bson-inl.h:503 `_ + +.. error:: 10324 + + Text: Invalid CodeWScope string size + + Module: `bson-inl.h:504 `_ + +.. error:: 10325 + + Text: Invalid CodeWScope size + + Module: `bson-inl.h:507 `_ + +.. error:: 10326 + + Text: Invalid CodeWScope object size + + Module: `bson-inl.h:509 `_ + +.. error:: 10327 + + Text: Object does not end with EOO + + Module: `bson-inl.h:458 `_ + +.. error:: 10328 + + Text: Invalid element size + + Module: `bson-inl.h:460 `_ + +.. error:: 10329 + + Text: Element too large + + Module: `bson-inl.h:461 `_ + +.. error:: 10330 + + Text: Element extends past end of object + + Module: `bson-inl.h:463 `_ + +.. error:: 10331 + + Text: EOO Before end of object + + Module: `bson-inl.h:468 `_ + +.. error:: 10334 + + Text: + + Module: `bson-inl.h:217 `_ + +.. error:: 13655 + + Text: + + Module: `bson-inl.h:593 `_ + +.. error:: 16150 + + Text: + + Module: `bson-inl.h:680 `_ + +.. error:: 10062 + + Text: not code + + Module: `bson_db.h:60 `_ + +.. error:: 10063 + + Text: not a dbref + + Module: `bsonelement.h:409 `_ + +.. error:: 10064 + + Text: not a dbref + + Module: `bsonelement.h:414 `_ + +.. error:: 10333 + + Text: Invalid field name + + Module: `bsonelement.h:439 `_ + +.. error:: 13111 + + Text: + + Module: `bsonelement.h:472 `_ + +.. error:: 13118 + + Text: unexpected or missing type value in BSON object + + Module: `bsonelement.h:477 `_ + +.. error:: 16177 + + Text: not codeWScope + + Module: `bsonelement.h:265 `_ + +.. error:: 16178 + + Text: not codeWScope + + Module: `bsonelement.h:272 `_ + +.. error:: 10335 + + Text: builder does not own memory + + Module: `bsonobjbuilder.h:554 `_ + +.. error:: 10336 + + Text: No subobject started + + Module: `bsonobjbuilder.h:629 `_ + +.. error:: 13048 + + Text: can't append to array using string field name [" + name.data() + "] + + Module: `bsonobjbuilder.h:828 `_ + +.. error:: 15891 + + Text: can't backfill array to larger than 1,500,000 elements + + Module: `bsonobjbuilder.h:836 `_ + +.. error:: 16234 + + Text: Invalid call to appendNull in BSONObj Builder. + + Module: `bsonobjbuilder.h:417 `_ + +.. error:: 13103 + + Text: too many compound keys + + Module: `ordering.h:64 `_ + +.. error:: 10000 + + Text: out of memory BufBuilder + + Module: `builder.h:108 `_ + +.. error:: 13548 + + Text: + + Module: `builder.h:220 `_ + +.. error:: 15912 + + Text: out of memory StackAllocator::Realloc + + Module: `builder.h:83 `_ + +.. error:: 15913 + + Text: out of memory BufBuilder::reset + + Module: `builder.h:133 `_ + +.. error:: 16070 + + Text: out of memory BufBuilder::grow_reallocate + + Module: `builder.h:224 `_ + +.. error:: 10256 + + Text: no createDirectClient in clientOnly + + Module: `clientAndShell.cpp:69 `_ + +.. error:: 13071 + + Text: invalid hostname [" + host + "] + + Module: `connpool.cpp:218 `_ + +.. error:: 13328 + + Text: : connect failed " + url.toString() + " : + + Module: `connpool.cpp:198 `_ + +.. error:: 11004 + + Text: connection was returned to the pool already + + Module: `connpool.h:246 `_ + +.. error:: 11005 + + Text: connection was returned to the pool already + + Module: `connpool.h:252 `_ + +.. error:: 13102 + + Text: connection was returned to the pool already + + Module: `connpool.h:258 `_ + +.. error:: 10005 + + Text: listdatabases failed" , runCommand( "admin" , BSON( "listDatabases + + Module: `dbclient.cpp:604 `_ + +.. error:: 10006 + + Text: listDatabases.databases not array" , info["databases + + Module: `dbclient.cpp:605 `_ + +.. error:: 10007 + + Text: dropIndex failed + + Module: `dbclient.cpp:996 `_ + +.. error:: 10008 + + Text: dropIndexes failed + + Module: `dbclient.cpp:1003 `_ + +.. error:: 10276 + + Text: DBClientBase::findN: transport error: " << getServerAddress() << " ns: " << ns << " query: + + Module: `dbclient.cpp:666 `_ + +.. error:: 10278 + + Text: dbclient error communicating with server: + + Module: `dbclient.cpp:1140 `_ + +.. error:: 10337 + + Text: object not valid + + Module: `dbclient.cpp:1091 `_ + +.. error:: 11010 + + Text: count fails: + + Module: `dbclient.cpp:375 `_ + +.. error:: 13386 + + Text: socket error for mapping query + + Module: `dbclient.cpp:847 `_ + +.. error:: 13421 + + Text: trying to connect to invalid ConnectionString + + Module: `dbclient.cpp:147 `_ + +.. error:: 16090 + + Text: socket error for mapping query + + Module: `dbclient.cpp:819 `_ + +.. error:: 16335 + + Text: custom connection to + + Module: `dbclient.cpp:134 `_ + +.. error:: 10009 + + Text: ReplicaSetMonitor no master found for set: + + Module: `dbclient_rs.cpp:407 `_ + +.. error:: 13610 + + Text: ConfigChangeHook already specified + + Module: `dbclient_rs.cpp:345 `_ + +.. error:: 13639 + + Text: can't connect to new replica set master [" << _masterHost.toString() << "] err: + + Module: `dbclient_rs.cpp:1302 `_ + +.. error:: 13642 + + Text: need at least 1 node for a replica set + + Module: `dbclient_rs.cpp:232 `_ + +.. error:: 15899 + + Text: No suitable secondary found for slaveOk query + + Module: `dbclient_rs.cpp:480 `_ + +.. error:: 16337 + + Text: Unknown read preference + + Module: `dbclient_rs.cpp:1112 `_ + +.. error:: 16340 + + Text: No replica set monitor active and no cached seed + + Module: `dbclient_rs.cpp:1270 `_ + +.. error:: 16357 + + Text: Tags should be a BSON object + + Module: `dbclient_rs.cpp:1813 `_ + +.. error:: 16358 + + Text: Tags should be a BSON object + + Module: `dbclient_rs.cpp:1220 `_ + +.. error:: 16369 + + Text: No good nodes available for set: + + Module: `dbclient_rs.cpp:1343 `_ + +.. error:: 16370 + + Text: Failed to do query, no good nodes in + + Module: `dbclient_rs.cpp:1467 `_ + +.. error:: 16379 + + Text: Failed to call findOne, no good nodes in + + Module: `dbclient_rs.cpp:1501 `_ + +.. error:: 16380 + + Text: Failed to call say, no good nodes in + + Module: `dbclient_rs.cpp:1620 `_ + +.. error:: 16381 + + Text: $readPreference should be an object + + Module: `dbclient_rs.cpp:124 `_ + +.. error:: 16382 + + Text: mode not specified for read preference", prefDoc.hasField("mode + + Module: `dbclient_rs.cpp:128 `_ + +.. error:: 16383 + + Text: Unknown read preference mode: + + Module: `dbclient_rs.cpp:148 `_ + +.. error:: 16384 + + Text: Cannot specify tags for primary only read preference + + Module: `dbclient_rs.cpp:152 `_ + +.. error:: 16385 + + Text: tags for read preference should be an array + + Module: `dbclient_rs.cpp:156 `_ + +.. error:: 13127 + + Text: getMore: cursor didn't exist on server, possible restart or timeout? + + Module: `dbclientcursor.cpp:180 `_ + +.. error:: 13422 + + Text: DBClientCursor next() called but more() is false + + Module: `dbclientcursor.cpp:234 `_ + +.. error:: 14821 + + Text: No client or lazy client specified, cannot store multi-host connection. + + Module: `dbclientcursor.cpp:300 `_ + +.. error:: 15875 + + Text: DBClientCursor::initLazy called on a client that doesn't support lazy + + Module: `dbclientcursor.cpp:81 `_ + +.. error:: 13106 + + Text: + + Module: `dbclientcursor.h:80 `_ + +.. error:: 13348 + + Text: connection died + + Module: `dbclientcursor.h:235 `_ + +.. error:: 13383 + + Text: BatchIterator empty + + Module: `dbclientcursor.h:252 `_ + +.. error:: 10011 + + Text: no collection name + + Module: `dbclientinterface.h:672 `_ + +.. error:: 9000 + + Text: + + Module: `dbclientinterface.h:1011 `_ + +.. error:: 14023 + + Text: remote time in cluster " << _conn.toString() << " is now skewed, cannot force lock. + + Module: `distlock.cpp:617 `_ + +.. error:: 16060 + + Text: cannot query locks collection on config server + + Module: `distlock.cpp:130 `_ + +.. error:: 13678 + + Text: Could not communicate with server " << server.toString() << " in cluster " << cluster.toString() << " to change skew by + + Module: `distlock_test.cpp:386 `_ + +.. error:: 10012 + + Text: file doesn't exist" , fileName == "- + + Module: `gridfs.cpp:99 `_ + +.. error:: 10013 + + Text: error opening file + + Module: `gridfs.cpp:106 `_ + +.. error:: 10014 + + Text: chunk is empty! + + Module: `gridfs.cpp:225 `_ + +.. error:: 10015 + + Text: doesn't exists + + Module: `gridfs.cpp:257 `_ + +.. error:: 13296 + + Text: invalid chunk size is specified + + Module: `gridfs.cpp:69 `_ + +.. error:: 13325 + + Text: couldn't open file: + + Module: `gridfs.cpp:251 `_ + +.. error:: 16428 + + Text: + + Module: `gridfs.cpp:144 `_ + +.. error:: 9008 + + Text: filemd5 failed + + Module: `gridfs.cpp:151 `_ + +.. error:: 10016 + + Text: _id isn't set - needed for remove()" , _id["_id + + Module: `model.cpp:40 `_ + +.. error:: 13121 + + Text: + + Module: `model.cpp:84 `_ + +.. error:: 9002 + + Text: error on Model::remove: + + Module: `model.cpp:53 `_ + +.. error:: 9003 + + Text: error on Model::save: + + Module: `model.cpp:126 `_ + +.. error:: 10017 + + Text: cursor already done + + Module: `parallel.cpp:114 `_ + +.. error:: 10018 + + Text: no more items + + Module: `parallel.cpp:426 `_ + +.. error:: 10019 + + Text: no more elements + + Module: `parallel.cpp:1585 `_ + +.. error:: 13431 + + Text: have to have sort key in projection and removing it + + Module: `parallel.cpp:514 `_ + +.. error:: 13633 + + Text: error querying server: + + Module: `parallel.cpp:144 `_ + +.. error:: 14812 + + Text: Error running command on server: + + Module: `parallel.cpp:1662 `_ + +.. error:: 14813 + + Text: Command returned nothing + + Module: `parallel.cpp:1663 `_ + +.. error:: 15986 + + Text: too many retries in total + + Module: `parallel.cpp:822 `_ + +.. error:: 15987 + + Text: could not fully initialize cursor on shard + + Module: `parallel.cpp:944 `_ + +.. error:: 15988 + + Text: error querying server + + Module: `parallel.cpp:1081 `_ + +.. error:: 15989 + + Text: database not found for parallel cursor request + + Module: `parallel.cpp:788 `_ + +.. error:: 10022 + + Text: SyncClusterConnection::getMore not supported yet + + Module: `syncclusterconnection.cpp:330 `_ + +.. error:: 10023 + + Text: SyncClusterConnection bulk insert not implemented + + Module: `syncclusterconnection.cpp:352 `_ + +.. error:: 13053 + + Text: help failed: " << info , _commandOnActive( "admin" , BSON( name << "1" << "help + + Module: `syncclusterconnection.cpp:469 `_ + +.. error:: 13054 + + Text: write $cmd not supported in SyncClusterConnection::query for: + + Module: `syncclusterconnection.cpp:289 `_ + +.. error:: 13104 + + Text: SyncClusterConnection::findOne prepare failed: + + Module: `syncclusterconnection.cpp:175 `_ + +.. error:: 13105 + + Text: + + Module: `syncclusterconnection.cpp:193 `_ + +.. error:: 13119 + + Text: SyncClusterConnection::insert obj has to have an _id: + + Module: `syncclusterconnection.cpp:337 `_ + +.. error:: 13120 + + Text: SyncClusterConnection::update upsert query needs _id" , query.obj["_id + + Module: `syncclusterconnection.cpp:370 `_ + +.. error:: 13397 + + Text: SyncClusterConnection::say prepare failed: + + Module: `syncclusterconnection.cpp:445 `_ + +.. error:: 15848 + + Text: sync cluster of sync clusters? + + Module: `syncclusterconnection.cpp:218 `_ + +.. error:: 8001 + + Text: SyncClusterConnection write op failed: + + Module: `syncclusterconnection.cpp:140 `_ + +.. error:: 8002 + + Text: all servers down! + + Module: `syncclusterconnection.cpp:326 `_ + +.. error:: 8003 + + Text: SyncClusterConnection::insert prepare failed: + + Module: `syncclusterconnection.cpp:342 `_ + +.. error:: 8004 + + Text: SyncClusterConnection needs 3 servers + + Module: `syncclusterconnection.cpp:54 `_ + +.. error:: 8005 + + Text: SyncClusterConnection::udpate prepare failed: + + Module: `syncclusterconnection.cpp:376 `_ + +.. error:: 8006 + + Text: SyncClusterConnection::call can only be used directly for dbQuery + + Module: `syncclusterconnection.cpp:419 `_ + +.. error:: 8007 + + Text: SyncClusterConnection::call can't handle $cmd" , strstr( d.getns(), "$cmd + + Module: `syncclusterconnection.cpp:423 `_ + +.. error:: 8008 + + Text: all servers down! + + Module: `syncclusterconnection.cpp:439 `_ + +.. error:: 8020 + + Text: SyncClusterConnection::remove prepare failed: + + Module: `syncclusterconnection.cpp:358 `_ + +.. error:: 10281 + + Text: verify is misdefined + + Module: `btree.cpp:144 `_ + +.. error:: 10282 + + Text: n==0 in btree popBack() + + Module: `btree.cpp:325 `_ + +.. error:: 10283 + + Text: rchild not null in btree popBack() + + Module: `btree.cpp:332 `_ + +.. error:: 10285 + + Text: _insert: reuse key but lchild is not null + + Module: `btree.cpp:1768 `_ + +.. error:: 10286 + + Text: _insert: reuse key but rchild is not null + + Module: `btree.cpp:1769 `_ + +.. error:: 10287 + + Text: btree: key+recloc already in index + + Module: `btree.cpp:85 `_ + +.. error:: 15898 + + Text: error in index possibly corruption consider repairing + + Module: `btree.cpp:43 `_ + +.. error:: 13000 + + Text: invalid keyNode: " + BSON( "i" << i << "n + + Module: `btree.h:364 `_ + +.. error:: 10288 + + Text: bad key order in BtreeBuilder - server internal error + + Module: `btreebuilder.cpp:76 `_ + +.. error:: 14800 + + Text: unsupported index version + + Module: `btreecursor.cpp:216 `_ + +.. error:: 15850 + + Text: keyAt bucket deleted + + Module: `btreecursor.cpp:62 `_ + +.. error:: 10345 + + Text: passes >= maxPasses in capped collection alloc + + Module: `cap.cpp:266 `_ + +.. error:: 13415 + + Text: emptying the collection is not allowed + + Module: `cap.cpp:352 `_ + +.. error:: 13424 + + Text: collection must be capped + + Module: `cap.cpp:419 `_ + +.. error:: 13425 + + Text: background index build in progress + + Module: `cap.cpp:420 `_ + +.. error:: 13426 + + Text: failed during index drop: + + Module: `cap.cpp:431 `_ + +.. error:: 16328 + + Text: document is larger than capped size + + Module: `cap.cpp:200 `_ + +.. error:: 10057 + + Text: + + Module: `client.cpp:326 `_ + +.. error:: 14031 + + Text: Can't take a write lock while out of disk space + + Module: `client.cpp:302 `_ + +.. error:: 15928 + + Text: can't open a database from a nested read lock + + Module: `client.cpp:247 `_ + +.. error:: 15929 + + Text: client access to index backing namespace prohibited + + Module: `client.cpp:352 `_ + +.. error:: 16107 + + Text: Don't have a lock on: + + Module: `client.cpp:308 `_ + +.. error:: 16151 + + Text: + + Module: `client.cpp:86 `_ + +.. error:: 16089 + + Text: + + Module: `clientcursor.cpp:796 `_ + +.. error:: 12051 + + Text: clientcursor already in use? driver problem? + + Module: `clientcursor.h:96 `_ + +.. error:: 12521 + + Text: internal error: use of an unlocked ClientCursor + + Module: `clientcursor.h:328 `_ + +.. error:: 10024 + + Text: bad ns field for index during dbcopy + + Module: `cloner.cpp:92 `_ + +.. error:: 10025 + + Text: bad ns field for index during dbcopy [2] + + Module: `cloner.cpp:94 `_ + +.. error:: 10026 + + Text: source namespace does not exist + + Module: `cloner.cpp:752 `_ + +.. error:: 10027 + + Text: target namespace exists", cmdObj["dropTarget + + Module: `cloner.cpp:762 `_ + +.. error:: 10289 + + Text: useReplAuth is not written to replication log + + Module: `cloner.cpp:307 `_ + +.. error:: 10290 + + Text: + + Module: `cloner.cpp:387 `_ + +.. error:: 13008 + + Text: must call copydbgetnonce first + + Module: `cloner.cpp:703 `_ + +.. error:: 15908 + + Text: + + Module: `cloner.cpp:244 `_ + +.. error:: 15967 + + Text: invalid collection name: + + Module: `cloner.cpp:741 `_ + +.. error:: 10033 + + Text: logpath has to be non-zero + + Module: `cmdline.cpp:406 `_ + +.. error:: 16176 + + Text: + + Module: `cmdline.cpp:526 `_ + +.. error:: 15962 + + Text: need to specify namespace + + Module: `commands.cpp:36 `_ + +.. error:: 15966 + + Text: dbname not ok in Command::parseNsFullyQualified: " << dbname , dbname == nss.db || dbname == "admin + + Module: `commands.cpp:37 `_ + +.. error:: 10044 + + Text: distinct too big, 16mb cap + + Module: `distinct.cpp:117 `_ + +.. error:: 12515 + + Text: can't remove and update", cmdObj["update + + Module: `find_and_modify.cpp:258 `_ + +.. error:: 12516 + + Text: must specify remove or update + + Module: `find_and_modify.cpp:290 `_ + +.. error:: 13329 + + Text: upsert mode requires update field + + Module: `find_and_modify.cpp:235 `_ + +.. error:: 13330 + + Text: upsert mode requires query field + + Module: `find_and_modify.cpp:236 `_ + +.. error:: 10041 + + Text: invoke failed in $keyf: + + Module: `group.cpp:42 `_ + +.. error:: 10042 + + Text: return of $key has to be an object + + Module: `group.cpp:44 `_ + +.. error:: 10043 + + Text: group() can't handle more than 20000 unique keys + + Module: `group.cpp:123 `_ + +.. error:: 9010 + + Text: reduce invoke failed: + + Module: `group.cpp:129 `_ + +.. error:: 13469 + + Text: getifaddrs failure: + + Module: `isself.cpp:49 `_ + +.. error:: 13470 + + Text: getnameinfo() failed: + + Module: `isself.cpp:64 `_ + +.. error:: 13472 + + Text: getnameinfo() failed: + + Module: `isself.cpp:110 `_ + +.. error:: 10074 + + Text: need values + + Module: `mr.cpp:154 `_ + +.. error:: 10075 + + Text: reduce -> multiple not supported yet + + Module: `mr.cpp:195 `_ + +.. error:: 10076 + + Text: rename failed: + + Module: `mr.cpp:508 `_ + +.. error:: 10077 + + Text: fast_emit takes 2 args + + Module: `mr.cpp:962 `_ + +.. error:: 13069 + + Text: an emit can't be more than half max bson size + + Module: `mr.cpp:963 `_ + +.. error:: 13070 + + Text: value too large to reduce + + Module: `mr.cpp:175 `_ + +.. error:: 13522 + + Text: unknown out specifier [" << t << "] + + Module: `mr.cpp:262 `_ + +.. error:: 13598 + + Text: couldn't compile code for: + + Module: `mr.cpp:54 `_ + +.. error:: 13602 + + Text: outType is no longer a valid option" , cmdObj["outType + + Module: `mr.cpp:234 `_ + +.. error:: 13604 + + Text: too much data for in memory map/reduce + + Module: `mr.cpp:430 `_ + +.. error:: 13606 + + Text: 'out' has to be a string or an object + + Module: `mr.cpp:276 `_ + +.. error:: 13608 + + Text: query has to be blank or an Object + + Module: `mr.cpp:316 `_ + +.. error:: 13609 + + Text: sort has to be blank or an Object + + Module: `mr.cpp:323 `_ + +.. error:: 13630 + + Text: userCreateNS failed for mr tempLong ns: " << _config.tempLong << " err: + + Module: `mr.cpp:360 `_ + +.. error:: 13631 + + Text: userCreateNS failed for mr incLong ns: " << _config.incLong << " err: + + Module: `mr.cpp:346 `_ + +.. error:: 15876 + + Text: could not create cursor over " << config.ns << " to hold data while prepping m/r + + Module: `mr.cpp:1042 `_ + +.. error:: 15877 + + Text: could not create m/r holding client cursor over + + Module: `mr.cpp:1044 `_ + +.. error:: 15895 + + Text: nonAtomic option cannot be used with this output type + + Module: `mr.cpp:272 `_ + +.. error:: 15921 + + Text: splitVector failed: + + Module: `mr.cpp:414 `_ + +.. error:: 16052 + + Text: could not create cursor over " << config.ns << " for query : " << config.filter << " sort : + + Module: `mr.cpp:1093 `_ + +.. error:: 16053 + + Text: could not create client cursor over " << config.ns << " for query : " << config.filter << " sort : + + Module: `mr.cpp:1095 `_ + +.. error:: 16054 + + Text: shardedFirstPass should only use replace outType + + Module: `mr.cpp:281 `_ + +.. error:: 16149 + + Text: cannot run map reduce without the js engine + + Module: `mr.cpp:1025 `_ + +.. error:: 9014 + + Text: map invoke failed: + + Module: `mr.cpp:72 `_ + +.. error:: 16153 + + Text: namespace does not exist + + Module: `touch.cpp:96 `_ + +.. error:: 13660 + + Text: namespace " << ns << " does not exist + + Module: `compact.cpp:316 `_ + +.. error:: 13661 + + Text: cannot compact capped collection + + Module: `compact.cpp:317 `_ + +.. error:: 14024 + + Text: compact error out of space during compaction + + Module: `compact.cpp:115 `_ + +.. error:: 14025 + + Text: compact error no space available to allocate + + Module: `compact.cpp:247 `_ + +.. error:: 14027 + + Text: can't compact a system namespace", !str::contains(ns, ".system. + + Module: `compact.cpp:308 `_ + +.. error:: 14028 + + Text: bad ns + + Module: `compact.cpp:307 `_ + +.. error:: 11600 + + Text: interrupted at shutdown + + Module: `curop.cpp:189 `_ + +.. error:: 11601 + + Text: operation was interrupted + + Module: `curop.cpp:191 `_ + +.. error:: 12601 + + Text: CurOp not marked done yet + + Module: `curop.h:192 `_ + +.. error:: 13285 + + Text: manual matcher config not allowed + + Module: `cursor.h:200 `_ + +.. error:: 16159 + + Text: manual keyFieldsOnly config not allowed + + Module: `cursor.h:211 `_ + +.. error:: 16098 + + Text: can't dblock:" << db << " when local or admin is already locked + + Module: `d_concurrency.cpp:521 `_ + +.. error:: 16099 + + Text: internal error tried to lock two databases at the same time. old:" << ls.otherName() << " new: + + Module: `d_concurrency.cpp:708 `_ + +.. error:: 16100 + + Text: can't dblock:" << db << " when local or admin is already locked + + Module: `d_concurrency.cpp:713 `_ + +.. error:: 16103 + + Text: can't lock_R, threadState= + + Module: `d_concurrency.cpp:124 `_ + +.. error:: 16104 + + Text: expected to be read locked for + + Module: `d_concurrency.cpp:264 `_ + +.. error:: 16105 + + Text: expected to be write locked for + + Module: `d_concurrency.cpp:270 `_ + +.. error:: 16106 + + Text: internal error tried to lock two databases at the same time. old:" << ls.otherName() << " new: + + Module: `d_concurrency.cpp:516 `_ + +.. error:: 16114 + + Text: + + Module: `d_concurrency.cpp:133 `_ + +.. error:: 16116 + + Text: + + Module: `d_concurrency.cpp:340 `_ + +.. error:: 16117 + + Text: + + Module: `d_concurrency.cpp:341 `_ + +.. error:: 16118 + + Text: + + Module: `d_concurrency.cpp:344 `_ + +.. error:: 16119 + + Text: + + Module: `d_concurrency.cpp:354 `_ + +.. error:: 16120 + + Text: + + Module: `d_concurrency.cpp:355 `_ + +.. error:: 16121 + + Text: + + Module: `d_concurrency.cpp:362 `_ + +.. error:: 16122 + + Text: + + Module: `d_concurrency.cpp:364 `_ + +.. error:: 16123 + + Text: + + Module: `d_concurrency.cpp:365 `_ + +.. error:: 16125 + + Text: + + Module: `d_concurrency.cpp:369 `_ + +.. error:: 16126 + + Text: + + Module: `d_concurrency.cpp:371 `_ + +.. error:: 16127 + + Text: + + Module: `d_concurrency.cpp:377 `_ + +.. error:: 16128 + + Text: + + Module: `d_concurrency.cpp:379 `_ + +.. error:: 16129 + + Text: + + Module: `d_concurrency.cpp:383 `_ + +.. error:: 16130 + + Text: + + Module: `d_concurrency.cpp:385 `_ + +.. error:: 16131 + + Text: + + Module: `d_concurrency.cpp:483 `_ + +.. error:: 16132 + + Text: + + Module: `d_concurrency.cpp:488 `_ + +.. error:: 16133 + + Text: + + Module: `d_concurrency.cpp:502 `_ + +.. error:: 16134 + + Text: + + Module: `d_concurrency.cpp:536 `_ + +.. error:: 16135 + + Text: + + Module: `d_concurrency.cpp:727 `_ + +.. error:: 16171 + + Text: + + Module: `d_concurrency.cpp:295 `_ + +.. error:: 16186 + + Text: can't get a DBWrite while having a read lock + + Module: `d_concurrency.cpp:559 `_ + +.. error:: 16187 + + Text: + + Module: `d_concurrency.cpp:733 `_ + +.. error:: 16188 + + Text: + + Module: `d_concurrency.cpp:747 `_ + +.. error:: 16189 + + Text: + + Module: `d_concurrency.cpp:753 `_ + +.. error:: 16252 + + Text: + + Module: `d_concurrency.cpp:509 `_ + +.. error:: 16253 + + Text: + + Module: `d_concurrency.cpp:550 `_ + +.. error:: 16254 + + Text: + + Module: `d_concurrency.cpp:586 `_ + +.. error:: 16255 + + Text: + + Module: `d_concurrency.cpp:701 `_ + +.. error:: 10028 + + Text: db name is empty + + Module: `database.cpp:70 `_ + +.. error:: 10029 + + Text: bad db name [1] + + Module: `database.cpp:72 `_ + +.. error:: 10030 + + Text: bad db name [2] + + Module: `database.cpp:73 `_ + +.. error:: 10031 + + Text: bad char(s) in db name + + Module: `database.cpp:74 `_ + +.. error:: 10032 + + Text: db name too long + + Module: `database.cpp:71 `_ + +.. error:: 10295 + + Text: getFile(): bad file number value (corrupt db?): run repair + + Module: `database.cpp:242 `_ + +.. error:: 12501 + + Text: quota exceeded + + Module: `database.cpp:326 `_ + +.. error:: 14810 + + Text: couldn't allocate space (suitableFile) + + Module: `database.cpp:341 `_ + +.. error:: 15924 + + Text: getFile(): bad file number value " << n << " (corrupt db?): run repair + + Module: `database.cpp:190 `_ + +.. error:: 15927 + + Text: can't open database in a read lock. if db was just closed, consider retrying the query. might otherwise indicate an internal error + + Module: `database.cpp:434 `_ + +.. error:: 16185 + + Text: + + Module: `database.cpp:85 `_ + +.. error:: 13074 + + Text: db name can't be empty + + Module: `databaseholder.h:94 `_ + +.. error:: 13075 + + Text: db name can't be empty + + Module: `databaseholder.h:97 `_ + +.. error:: 13280 + + Text: invalid db name: + + Module: `databaseholder.h:88 `_ + +.. error:: 10296 + + Text: + + Module: `db.cpp:486 `_ + +.. error:: 10297 + + Text: Couldn't register Windows Ctrl-C handler + + Module: `db.cpp:1424 `_ + +.. error:: 12590 + + Text: + + Module: `db.cpp:491 `_ + +.. error:: 14026 + + Text: + + Module: `db.cpp:307 `_ + +.. error:: 10298 + + Text: can't temprelease nested lock + + Module: `db.h:40 `_ + +.. error:: 10039 + + Text: can't drop collection with reserved $ character in name + + Module: `dbcommands.cpp:775 `_ + +.. error:: 10040 + + Text: chunks out of order + + Module: `dbcommands.cpp:1128 `_ + +.. error:: 10301 + + Text: source collection " + fromNs + " does not exist + + Module: `dbcommands.cpp:1544 `_ + +.. error:: 13049 + + Text: godinsert must specify a collection + + Module: `dbcommands.cpp:1681 `_ + +.. error:: 13281 + + Text: File deleted during filemd5 command + + Module: `dbcommands.cpp:1151 `_ + +.. error:: 13416 + + Text: captrunc must specify a collection + + Module: `dbcommands.cpp:1817 `_ + +.. error:: 13417 + + Text: captrunc collection not found or empty + + Module: `dbcommands.cpp:1825 `_ + +.. error:: 13418 + + Text: captrunc invalid n + + Module: `dbcommands.cpp:1827 `_ + +.. error:: 13428 + + Text: emptycapped must specify a collection + + Module: `dbcommands.cpp:1845 `_ + +.. error:: 13429 + + Text: emptycapped no such collection + + Module: `dbcommands.cpp:1848 `_ + +.. error:: 13455 + + Text: dbexit timed out getting lock + + Module: `dbcommands.cpp:358 `_ + +.. error:: 14832 + + Text: specify size: when capped is true", !cmdObj["capped"].trueValue() || cmdObj["size"].isNumber() || cmdObj.hasField("$nExtents + + Module: `dbcommands.cpp:841 `_ + +.. error:: 15880 + + Text: no ram log for warnings? + + Module: `dbcommands.cpp:676 `_ + +.. error:: 15888 + + Text: must pass name of collection to create + + Module: `dbcommands.cpp:838 `_ + +.. error:: 16247 + + Text: md5 state not correct size + + Module: `dbcommands.cpp:1090 `_ + +.. error:: 10038 + + Text: forced error + + Module: `dbcommands_generic.cpp:418 `_ + +.. error:: 16175 + + Text: + + Module: `dbcommands_generic.cpp:347 `_ + +.. error:: 10046 + + Text: eval needs Code + + Module: `dbeval.cpp:41 `_ + +.. error:: 12598 + + Text: $eval reads unauthorized + + Module: `dbeval.cpp:122 `_ + +.. error:: 13430 + + Text: no _id index + + Module: `dbhelpers.cpp:132 `_ + +.. error:: 16333 + + Text: + + Module: `dbhelpers.cpp:244 `_ + +.. error:: 16341 + + Text: + + Module: `dbhelpers.cpp:238 `_ + +.. error:: 10304 + + Text: Client Error: Remaining data too small for BSON object + + Module: `dbmessage.h:199 `_ + +.. error:: 10305 + + Text: Client Error: Invalid object size + + Module: `dbmessage.h:201 `_ + +.. error:: 10306 + + Text: Client Error: Next object larger than space left in message + + Module: `dbmessage.h:202 `_ + +.. error:: 10307 + + Text: Client Error: bad object in message + + Module: `dbmessage.h:205 `_ + +.. error:: 13066 + + Text: Message contains no documents + + Module: `dbmessage.h:197 `_ + +.. error:: 13453 + + Text: server not started with --jsonp + + Module: `dbwebserver.cpp:170 `_ + +.. error:: 13599 + + Text: Written data does not match in-memory view. Missing WriteIntent? + + Module: `dur.cpp:424 `_ + +.. error:: 13616 + + Text: can't disable durability with pending writes + + Module: `dur.cpp:200 `_ + +.. error:: 16110 + + Text: + + Module: `dur.cpp:261 `_ + +.. error:: 13611 + + Text: can't read lsn file in journal directory : + + Module: `dur_journal.cpp:563 `_ + +.. error:: 13614 + + Text: unexpected version number of lsn file in journal/ directory got: + + Module: `dur_journal.cpp:530 `_ + +.. error:: 15926 + + Text: Insufficient free space for journals + + Module: `dur_journal.cpp:375 `_ + +.. error:: 13531 + + Text: unexpected files in journal directory " << dir.string() << " : + + Module: `dur_recover.cpp:79 `_ + +.. error:: 13532 + + Text: + + Module: `dur_recover.cpp:86 `_ + +.. error:: 13533 + + Text: problem processing journal file during recovery + + Module: `dur_recover.cpp:162 `_ + +.. error:: 13535 + + Text: recover abrupt journal file end + + Module: `dur_recover.cpp:467 `_ + +.. error:: 13536 + + Text: journal version number mismatch + + Module: `dur_recover.cpp:394 `_ + +.. error:: 13537 + + Text: + + Module: `dur_recover.cpp:385 `_ + +.. error:: 13544 + + Text: recover error couldn't open + + Module: `dur_recover.cpp:449 `_ + +.. error:: 13545 + + Text: --durOptions " << (int) CmdLine::DurScanOnly << " (scan only) specified + + Module: `dur_recover.cpp:474 `_ + +.. error:: 13594 + + Text: journal checksum doesn't match + + Module: `dur_recover.cpp:358 `_ + +.. error:: 13622 + + Text: Trying to write past end of file in WRITETODATAFILES + + Module: `dur_recover.cpp:255 `_ + +.. error:: 15874 + + Text: couldn't uncompress journal section + + Module: `dur_recover.cpp:114 `_ + +.. error:: 13546 + + Text: journal recover: unrecognized opcode in journal + + Module: `durop.cpp:53 `_ + +.. error:: 13547 + + Text: recover couldn't create file + + Module: `durop.cpp:144 `_ + +.. error:: 13628 + + Text: recover failure writing file + + Module: `durop.cpp:158 `_ + +.. error:: 10048 + + Text: already sorted + + Module: `extsort.cpp:109 `_ + +.. error:: 10049 + + Text: sorted already + + Module: `extsort.cpp:134 `_ + +.. error:: 10050 + + Text: bad + + Module: `extsort.cpp:155 `_ + +.. error:: 16392 + + Text: + + Module: `extsort.cpp:269 `_ + +.. error:: 16393 + + Text: reading DiskLoc for external sort failed + + Module: `extsort.cpp:338 `_ + +.. error:: 16394 + + Text: reading doc for external sort failed: + + Module: `extsort.cpp:331 `_ + +.. error:: 10052 + + Text: not sorted + + Module: `extsort.h:108 `_ + +.. error:: 13022 + + Text: can't have 2 geo field + + Module: `2d.cpp:120 `_ + +.. error:: 13023 + + Text: 2d has to be first in index + + Module: `2d.cpp:121 `_ + +.. error:: 13024 + + Text: no geo field specified + + Module: `2d.cpp:130 `_ + +.. error:: 13026 + + Text: geo values have to be numbers: + + Module: `2d.cpp:333 `_ + +.. error:: 13027 + + Text: point not in interval of [ " << _min << ", " << _max << " ] + + Module: `2d.cpp:356 `_ + +.. error:: 13028 + + Text: bits in geo index must be between 1 and 32 + + Module: `2d.cpp:134 `_ + +.. error:: 13042 + + Text: missing geo field (" + _geo + ") in : + + Module: `2d.cpp:2866 `_ + +.. error:: 13046 + + Text: 'near' param missing/invalid", !cmdObj["near + + Module: `2d.cpp:2922 `_ + +.. error:: 13057 + + Text: $within has to take an object or array + + Module: `2d.cpp:2832 `_ + +.. error:: 13058 + + Text: unknown $within information : " << context << ", a shape must be specified. + + Module: `2d.cpp:2856 `_ + +.. error:: 13059 + + Text: $center has to take an object or array + + Module: `2d.cpp:2842 `_ + +.. error:: 13060 + + Text: $center needs 2 fields (middle,max distance) + + Module: `2d.cpp:2503 `_ + +.. error:: 13061 + + Text: need a max distance >= 0 + + Module: `2d.cpp:2517 `_ + +.. error:: 13063 + + Text: $box needs 2 fields (bottomLeft,topRight) + + Module: `2d.cpp:2621 `_ + +.. error:: 13064 + + Text: need an area > 0 + + Module: `2d.cpp:2633 `_ + +.. error:: 13065 + + Text: $box has to take an object or array + + Module: `2d.cpp:2847 `_ + +.. error:: 13067 + + Text: geo field is empty + + Module: `2d.cpp:328 `_ + +.. error:: 13068 + + Text: geo field only has 1 element + + Module: `2d.cpp:330 `_ + +.. error:: 13460 + + Text: invalid $center query type: + + Module: `2d.cpp:2540 `_ + +.. error:: 13461 + + Text: Spherical MaxDistance > PI. Are you sure you are using radians? + + Module: `2d.cpp:2528 `_ + +.. error:: 13462 + + Text: Spherical distance would require wrapping, which isn't implemented yet + + Module: `2d.cpp:2535 `_ + +.. error:: 13464 + + Text: invalid $near search type: + + Module: `2d.cpp:2801 `_ + +.. error:: 13654 + + Text: location object expected, location array not in correct format + + Module: `2d.cpp:249 `_ + +.. error:: 13656 + + Text: the first field of $center object must be a location object + + Module: `2d.cpp:2508 `_ + +.. error:: 14029 + + Text: $polygon has to take an object or array + + Module: `2d.cpp:2852 `_ + +.. error:: 14030 + + Text: polygon must be defined by three points or more + + Module: `2d.cpp:2716 `_ + +.. error:: 13047 + + Text: wrong type for geo index. if you're using a pre-release version, need to rebuild index + + Module: `core.h:106 `_ + +.. error:: 14808 + + Text: point " << p.toString() << " must be in earth-like bounds of long : [-180, 180], lat : [-90, 90] + + Module: `core.h:509 `_ + +.. error:: 13314 + + Text: can't have 2 geo fields + + Module: `haystack.cpp:89 `_ + +.. error:: 13315 + + Text: 2d has to be first in index + + Module: `haystack.cpp:90 `_ + +.. error:: 13316 + + Text: no geo field specified + + Module: `haystack.cpp:99 `_ + +.. error:: 13317 + + Text: no other fields specified + + Module: `haystack.cpp:100 `_ + +.. error:: 13318 + + Text: near needs to be an array + + Module: `haystack.cpp:298 `_ + +.. error:: 13319 + + Text: maxDistance needs a number + + Module: `haystack.cpp:299 `_ + +.. error:: 13320 + + Text: search needs to be an object + + Module: `haystack.cpp:300 `_ + +.. error:: 13321 + + Text: need bucketSize + + Module: `haystack.cpp:80 `_ + +.. error:: 13322 + + Text: not a number + + Module: `haystack.cpp:106 `_ + +.. error:: 13323 + + Text: latlng not an array + + Module: `haystack.cpp:141 `_ + +.. error:: 13326 + + Text: quadrant search can only have 1 other field for now + + Module: `haystack.cpp:101 `_ + +.. error:: 16241 + + Text: Currently only single field hashed index supported. + + Module: `hashindex.cpp:34 `_ + +.. error:: 16242 + + Text: Currently hashed indexes cannot guarantee uniqueness. Use a regular index. + + Module: `hashindex.cpp:36 `_ + +.. error:: 16243 + + Text: error: no hashed index field + + Module: `hashindex.cpp:56 `_ + +.. error:: 16244 + + Text: Error: hashed indexes do not currently support array values + + Module: `hashindex.cpp:75 `_ + +.. error:: 16245 + + Text: Only HashVersion 0 has been defined + + Module: `hashindex.cpp:161 `_ + +.. error:: 10096 + + Text: invalid ns to index + + Module: `index.cpp:308 `_ + +.. error:: 10097 + + Text: bad table to index name on add index attempt current db: " << cc().database()->name << " source: + + Module: `index.cpp:309 `_ + +.. error:: 10098 + + Text: + + Module: `index.cpp:316 `_ + +.. error:: 11001 + + Text: + + Module: `index.cpp:97 `_ + +.. error:: 12504 + + Text: + + Module: `index.cpp:323 `_ + +.. error:: 12505 + + Text: + + Module: `index.cpp:353 `_ + +.. error:: 12523 + + Text: no index name specified + + Module: `index.cpp:304 `_ + +.. error:: 12524 + + Text: index key pattern too large + + Module: `index.cpp:313 `_ + +.. error:: 12588 + + Text: cannot add index with a background operation in progress + + Module: `index.cpp:359 `_ + +.. error:: 14803 + + Text: this version of mongod cannot build new indexes of version number + + Module: `index.cpp:394 `_ + +.. error:: 14802 + + Text: index v field should be Integer type + + Module: `index.h:193 `_ + +.. error:: 10092 + + Text: too may dups on index build with dropDups=true + + Module: `index_update.cpp:251 `_ + +.. error:: 12584 + + Text: cursor gone during bg index + + Module: `index_update.cpp:406 `_ + +.. error:: 12585 + + Text: cursor gone during bg index; dropDups + + Module: `index_update.cpp:385 `_ + +.. error:: 13130 + + Text: can't start bg index b/c in recursive lock (db.eval?) + + Module: `index_update.cpp:422 `_ + +.. error:: 16093 + + Text: after yield cursor deleted + + Module: `index_update.cpp:377 `_ + +.. error:: 16408 + + Text: + + Module: `index_update.cpp:306 `_ + +.. error:: 13007 + + Text: can only have 1 index plugin / bad index key pattern + + Module: `indexkey.cpp:65 `_ + +.. error:: 13529 + + Text: sparse only works for single field keys + + Module: `indexkey.cpp:82 `_ + +.. error:: 15855 + + Text: Ambiguous field name found in array (do not use numeric field names in embedded elements in an array), field: '" << arrField.fieldName() << "' for array: + + Module: `indexkey.cpp:299 `_ + +.. error:: 15869 + + Text: Invalid index version for key generation. + + Module: `indexkey.cpp:415 `_ + +.. error:: 10054 + + Text: not master + + Module: `instance.cpp:572 `_ + +.. error:: 10055 + + Text: update object too large + + Module: `instance.cpp:555 `_ + +.. error:: 10056 + + Text: not master + + Module: `instance.cpp:609 `_ + +.. error:: 10058 + + Text: not master + + Module: `instance.cpp:807 `_ + +.. error:: 10059 + + Text: object to insert too large + + Module: `instance.cpp:751 `_ + +.. error:: 10309 + + Text: Unable to create/open lock file: " << name << ' ' << errnoWithDescription() << " Is a mongod instance already running? + + Module: `instance.cpp:1132 `_ + +.. error:: 10310 + + Text: Unable to lock file: " + name + ". Is a mongod instance already running? + + Module: `instance.cpp:1137 `_ + +.. error:: 10332 + + Text: Expected CurrentTime type + + Module: `instance.cpp:111 `_ + +.. error:: 12596 + + Text: old lock file + + Module: `instance.cpp:1203 `_ + +.. error:: 13004 + + Text: sent negative cursors to kill: + + Module: `instance.cpp:500 `_ + +.. error:: 13073 + + Text: shutting down + + Module: `instance.cpp:687 `_ + +.. error:: 13342 + + Text: Unable to truncate lock file + + Module: `instance.cpp:1221 `_ + +.. error:: 13511 + + Text: document to insert can't have $ fields + + Module: `instance.cpp:757 `_ + +.. error:: 13597 + + Text: can't start without --journal enabled when journal/ files are present + + Module: `instance.cpp:1213 `_ + +.. error:: 13618 + + Text: can't start without --journal enabled when journal/ files are present + + Module: `instance.cpp:1238 `_ + +.. error:: 13625 + + Text: Unable to truncate lock file + + Module: `instance.cpp:1217 `_ + +.. error:: 13627 + + Text: Unable to create/open lock file: " << name << ' ' << m << ". Is a mongod instance already running? + + Module: `instance.cpp:1126 `_ + +.. error:: 13658 + + Text: bad kill cursors size: + + Module: `instance.cpp:499 `_ + +.. error:: 13659 + + Text: sent 0 cursors to kill + + Module: `instance.cpp:498 `_ + +.. error:: 16257 + + Text: Invalid ns [" << ns << "] + + Module: `instance.cpp:427 `_ + +.. error:: 16258 + + Text: Invalid ns [" << ns << "] + + Module: `instance.cpp:660 `_ + +.. error:: 16372 + + Text: + + Module: `introspect.cpp:83 `_ + +.. error:: 10060 + + Text: woSortOrder needs a non-empty sortKey + + Module: `jsobj.cpp:541 `_ + +.. error:: 10061 + + Text: type not supported for appendMinElementForType + + Module: `jsobj.cpp:1148 `_ + +.. error:: 10311 + + Text: + + Module: `jsobj.cpp:99 `_ + +.. error:: 10312 + + Text: + + Module: `jsobj.cpp:257 `_ + +.. error:: 12579 + + Text: unhandled cases in BSONObj okForStorage + + Module: `jsobj.cpp:869 `_ + +.. error:: 14853 + + Text: type not supported for appendMaxElementForType + + Module: `jsobj.cpp:1201 `_ + +.. error:: 10338 + + Text: Invalid use of reserved field name: + + Module: `json.cpp:233 `_ + +.. error:: 10339 + + Text: Badly formatted bindata + + Module: `json.cpp:406 `_ + +.. error:: 10340 + + Text: Failure parsing JSON string near: + + Module: `json.cpp:642 `_ + +.. error:: 13649 + + Text: no operation yet + + Module: `lasterror.cpp:93 `_ + +.. error:: 16146 + + Text: + + Module: `lockstat.cpp:76 `_ + +.. error:: 16339 + + Text: + + Module: `lockstat.cpp:87 `_ + +.. error:: 16115 + + Text: + + Module: `lockstate.cpp:171 `_ + +.. error:: 16169 + + Text: + + Module: `lockstate.cpp:84 `_ + +.. error:: 16170 + + Text: + + Module: `lockstate.cpp:206 `_ + +.. error:: 16231 + + Text: + + Module: `lockstate.cpp:201 `_ + +.. error:: 10066 + + Text: $where may only appear once in query + + Module: `matcher.cpp:421 `_ + +.. error:: 10067 + + Text: $where query, but no script engine + + Module: `matcher.cpp:422 `_ + +.. error:: 10068 + + Text: invalid operator: + + Module: `matcher.cpp:285 `_ + +.. error:: 10069 + + Text: BUG - can't operator for: + + Module: `matcher.cpp:371 `_ + +.. error:: 10070 + + Text: $where compile error + + Module: `matcher.cpp:106 `_ + +.. error:: 10071 + + Text: + + Module: `matcher.cpp:120 `_ + +.. error:: 10072 + + Text: unknown error in invocation of $where function + + Module: `matcher.cpp:123 `_ + +.. error:: 10073 + + Text: mod can't be 0 + + Module: `matcher.cpp:155 `_ + +.. error:: 10341 + + Text: code has to be set first! + + Module: `matcher.cpp:90 `_ + +.. error:: 10342 + + Text: pcre not compiled with utf8 support + + Module: `matcher.cpp:1315 `_ + +.. error:: 12517 + + Text: $elemMatch needs an Object + + Module: `matcher.cpp:162 `_ + +.. error:: 13020 + + Text: with $all, can't mix $elemMatch and others + + Module: `matcher.cpp:215 `_ + +.. error:: 13029 + + Text: can't use $not with $options, use BSON regex type instead + + Module: `matcher.cpp:362 `_ + +.. error:: 13030 + + Text: $not cannot be empty + + Module: `matcher.cpp:479 `_ + +.. error:: 13031 + + Text: invalid use of $not + + Module: `matcher.cpp:489 `_ + +.. error:: 13032 + + Text: can't use $not with $regex, use BSON regex type instead + + Module: `matcher.cpp:351 `_ + +.. error:: 13086 + + Text: $and/$or/$nor must be a nonempty array + + Module: `matcher.cpp:377 `_ + +.. error:: 13087 + + Text: $and/$or/$nor match element must be an object + + Module: `matcher.cpp:381 `_ + +.. error:: 13089 + + Text: no current client needed for $where + + Module: `matcher.cpp:423 `_ + +.. error:: 13276 + + Text: $in needs an array + + Module: `matcher.cpp:310 `_ + +.. error:: 13277 + + Text: $nin needs an array + + Module: `matcher.cpp:321 `_ + +.. error:: 13629 + + Text: can't have undefined in a query expression + + Module: `matcher.cpp:438 `_ + +.. error:: 14844 + + Text: $atomic specifier must be a top level field + + Module: `matcher.cpp:516 `_ + +.. error:: 15882 + + Text: $elemMatch not allowed within $in + + Module: `matcher.cpp:207 `_ + +.. error:: 15902 + + Text: $where expression has an unexpected type + + Module: `matcher.cpp:420 `_ + +.. error:: 13520 + + Text: MongoMMF only supports filenames in a certain format + + Module: `mongommf.cpp:162 `_ + +.. error:: 13636 + + Text: file " << filename() << " open/create failed in createPrivateMap (look in log for more information) + + Module: `mongommf.cpp:191 `_ + +.. error:: 16112 + + Text: + + Module: `mongommf.cpp:46 `_ + +.. error:: 10080 + + Text: ns name too long, max size is 128 + + Module: `namespace-inl.h:35 `_ + +.. error:: 10348 + + Text: $extra: ns name too long + + Module: `namespace-inl.h:45 `_ + +.. error:: 10349 + + Text: E12000 idxNo fails + + Module: `namespace_details-inl.h:55 `_ + +.. error:: 13283 + + Text: Missing Extra + + Module: `namespace_details-inl.h:33 `_ + +.. error:: 14045 + + Text: missing Extra + + Module: `namespace_details-inl.h:34 `_ + +.. error:: 14823 + + Text: missing extra + + Module: `namespace_details-inl.h:41 `_ + +.. error:: 14824 + + Text: missing Extra + + Module: `namespace_details-inl.h:42 `_ + +.. error:: 10079 + + Text: bad .ns file length, cannot open database + + Module: `namespace_details.cpp:171 `_ + +.. error:: 10081 + + Text: too many namespaces/collections + + Module: `namespace_details.cpp:482 `_ + +.. error:: 10082 + + Text: allocExtra: too many namespaces/collections + + Module: `namespace_details.cpp:497 `_ + +.. error:: 10343 + + Text: bad lenForNewNsFiles + + Module: `namespace_details.cpp:178 `_ + +.. error:: 10346 + + Text: not implemented + + Module: `namespace_details.cpp:568 `_ + +.. error:: 10350 + + Text: allocExtra: base ns missing? + + Module: `namespace_details.cpp:492 `_ + +.. error:: 10351 + + Text: allocExtra: extra already exists + + Module: `namespace_details.cpp:493 `_ + +.. error:: 10078 + + Text: nsToDatabase: ns too long + + Module: `namespacestring.h:148 `_ + +.. error:: 10088 + + Text: nsToDatabase: ns too long + + Module: `namespacestring.h:159 `_ + +.. error:: 10352 + + Text: Security is a singleton class + + Module: `nonce.cpp:33 `_ + +.. error:: 10353 + + Text: can't open dev/urandom: + + Module: `nonce.cpp:44 `_ + +.. error:: 10354 + + Text: md5 unit test fails + + Module: `nonce.cpp:53 `_ + +.. error:: 10355 + + Text: devrandom failed + + Module: `nonce.cpp:62 `_ + +.. error:: 13044 + + Text: no ts field in query + + Module: `oplog.cpp:530 `_ + +.. error:: 13257 + + Text: + + Module: `oplog.cpp:349 `_ + +.. error:: 13288 + + Text: replSet error write op to db before replSet initialized", str::startsWith(ns, "local. + + Module: `oplog.cpp:54 `_ + +.. error:: 13312 + + Text: replSet error : logOp() but not primary? + + Module: `oplog.cpp:145 `_ + +.. error:: 13347 + + Text: local.oplog.rs missing. did you drop it? if so restart server + + Module: `oplog.cpp:183 `_ + +.. error:: 13389 + + Text: local.oplog.rs missing. did you drop it? if so restart server + + Module: `oplog.cpp:73 `_ + +.. error:: 14038 + + Text: invalid _findingStartMode + + Module: `oplog.cpp:474 `_ + +.. error:: 14825 + + Text: error in applyOperation : unknown opType + + Module: `oplog.cpp:849 `_ + +.. error:: 15916 + + Text: Can no longer connect to initial sync source: + + Module: `oplog.cpp:679 `_ + +.. error:: 15917 + + Text: Got bad disk location when attempting to insert + + Module: `oplog.cpp:713 `_ + +.. error:: 15910 + + Text: Doesn't have cursor for reading oplog + + Module: `oplogreader.h:83 `_ + +.. error:: 15911 + + Text: Doesn't have cursor for reading oplog + + Module: `oplogreader.h:88 `_ + +.. error:: 10100 + + Text: cannot delete from collection with reserved $ in name + + Module: `delete.cpp:44 `_ + +.. error:: 10101 + + Text: can't remove from a capped collection + + Module: `delete.cpp:52 `_ + +.. error:: 12050 + + Text: cannot delete from system namespace + + Module: `delete.cpp:40 `_ + +.. error:: 10110 + + Text: bad query object + + Module: `query.cpp:954 `_ + +.. error:: 13051 + + Text: tailable cursor requested on non capped collection + + Module: `query.cpp:993 `_ + +.. error:: 13052 + + Text: only {$natural:1} order allowed for tailable cursor + + Module: `query.cpp:999 `_ + +.. error:: 13530 + + Text: bad or malformed command request? + + Module: `query.cpp:937 `_ + +.. error:: 14833 + + Text: auth error + + Module: `query.cpp:103 `_ + +.. error:: 16256 + + Text: Invalid ns [" << ns << "] + + Module: `query.cpp:911 `_ + +.. error:: 16332 + + Text: can't have an empty ns + + Module: `query.cpp:900 `_ + +.. error:: 16083 + + Text: reserve 16083 + + Module: `query.h:46 `_ + +.. error:: 10154 + + Text: Modifiers and non-modifiers cannot be mixed + + Module: `update.cpp:40 `_ + +.. error:: 10155 + + Text: cannot update reserved $ collection + + Module: `update.cpp:476 `_ + +.. error:: 10156 + + Text: + + Module: `update.cpp:479 `_ + +.. error:: 10157 + + Text: multi-update requires all modified objects to have an _id + + Module: `update.cpp:308 `_ + +.. error:: 10158 + + Text: multi update only works with $ operators + + Module: `update.cpp:425 `_ + +.. error:: 10159 + + Text: multi update only works with $ operators + + Module: `update.cpp:453 `_ + +.. error:: 12522 + + Text: $ operator made object too large + + Module: `update.cpp:45 `_ + +.. error:: 10131 + + Text: $push can only be applied to an array + + Module: `update_internal.cpp:116 `_ + +.. error:: 10132 + + Text: $pushAll can only be applied to an array + + Module: `update_internal.cpp:187 `_ + +.. error:: 10133 + + Text: $pushAll has to be passed an array + + Module: `update_internal.cpp:188 `_ + +.. error:: 10134 + + Text: $pull/$pullAll can only be applied to an array + + Module: `update_internal.cpp:212 `_ + +.. error:: 10135 + + Text: $pop can only be applied to an array + + Module: `update_internal.cpp:247 `_ + +.. error:: 10136 + + Text: $bit needs an object + + Module: `update_internal.cpp:283 `_ + +.. error:: 10137 + + Text: $bit can only be applied to numbers + + Module: `update_internal.cpp:284 `_ + +.. error:: 10138 + + Text: $bit cannot update a value of type double + + Module: `update_internal.cpp:285 `_ + +.. error:: 10139 + + Text: $bit field must be number + + Module: `update_internal.cpp:293 `_ + +.. error:: 10140 + + Text: Cannot apply $inc modifier to non-number + + Module: `update_internal.cpp:402 `_ + +.. error:: 10141 + + Text: + + Module: `update_internal.cpp:424 `_ + +.. error:: 10142 + + Text: + + Module: `update_internal.cpp:432 `_ + +.. error:: 10143 + + Text: + + Module: `update_internal.cpp:459 `_ + +.. error:: 10145 + + Text: + + Module: `update_internal.cpp:717 `_ + +.. error:: 10147 + + Text: Invalid modifier specified: + + Module: `update_internal.cpp:857 `_ + +.. error:: 10148 + + Text: + + Module: `update_internal.cpp:874 `_ + +.. error:: 10149 + + Text: + + Module: `update_internal.cpp:877 `_ + +.. error:: 10150 + + Text: + + Module: `update_internal.cpp:880 `_ + +.. error:: 10151 + + Text: + + Module: `update_internal.cpp:883 `_ + +.. error:: 10152 + + Text: + + Module: `update_internal.cpp:886 `_ + +.. error:: 10153 + + Text: + + Module: `update_internal.cpp:889 `_ + +.. error:: 10399 + + Text: ModSet::createNewFromMods - RIGHT_SUBFIELD should be impossible + + Module: `update_internal.cpp:761 `_ + +.. error:: 10400 + + Text: unhandled case + + Module: `update_internal.cpp:764 `_ + +.. error:: 12591 + + Text: + + Module: `update_internal.cpp:467 `_ + +.. error:: 12592 + + Text: $addToSet can only be applied to an array + + Module: `update_internal.cpp:133 `_ + +.. error:: 13478 + + Text: can't apply mod in place - shouldn't have gotten here + + Module: `update_internal.cpp:610 `_ + +.. error:: 13479 + + Text: + + Module: `update_internal.cpp:902 `_ + +.. error:: 13480 + + Text: + + Module: `update_internal.cpp:905 `_ + +.. error:: 13481 + + Text: + + Module: `update_internal.cpp:908 `_ + +.. error:: 13482 + + Text: + + Module: `update_internal.cpp:911 `_ + +.. error:: 13483 + + Text: + + Module: `update_internal.cpp:915 `_ + +.. error:: 13484 + + Text: + + Module: `update_internal.cpp:919 `_ + +.. error:: 13485 + + Text: + + Module: `update_internal.cpp:922 `_ + +.. error:: 13486 + + Text: + + Module: `update_internal.cpp:925 `_ + +.. error:: 13487 + + Text: + + Module: `update_internal.cpp:929 `_ + +.. error:: 13488 + + Text: + + Module: `update_internal.cpp:932 `_ + +.. error:: 13489 + + Text: $rename source field invalid + + Module: `update_internal.cpp:374 `_ + +.. error:: 13490 + + Text: $rename target field invalid + + Module: `update_internal.cpp:385 `_ + +.. error:: 13494 + + Text: $rename target must be a string + + Module: `update_internal.cpp:894 `_ + +.. error:: 13495 + + Text: + + Module: `update_internal.cpp:896 `_ + +.. error:: 13496 + + Text: + + Module: `update_internal.cpp:899 `_ + +.. error:: 15896 + + Text: + + Module: `update_internal.cpp:871 `_ + +.. error:: 16069 + + Text: ModSet::createNewFromMods - + + Module: `update_internal.cpp:739 `_ + +.. error:: 9016 + + Text: unknown $bit operation: + + Module: `update_internal.cpp:309 `_ + +.. error:: 9017 + + Text: Mod::apply can't handle type: + + Module: `update_internal.cpp:332 `_ + +.. error:: 10161 + + Text: Invalid modifier specified + + Module: `update_internal.h:317 `_ + +.. error:: 12527 + + Text: not okForStorage + + Module: `update_internal.h:212 `_ + +.. error:: 13492 + + Text: mod must be RENAME_TO type + + Module: `update_internal.h:237 `_ + +.. error:: 9015 + + Text: + + Module: `update_internal.h:580 `_ + +.. error:: 10003 + + Text: failing update: objects in a capped ns cannot grow + + Module: `pdfile.cpp:1080 `_ + +.. error:: 10083 + + Text: create collection invalid size spec + + Module: `pdfile.cpp:258 `_ + +.. error:: 10084 + + Text: can't map file memory - mongo requires 64 bit build for larger datasets + + Module: `pdfile.cpp:410 `_ + +.. error:: 10085 + + Text: can't map file memory + + Module: `pdfile.cpp:412 `_ + +.. error:: 10086 + + Text: ns not found: + + Module: `pdfile.cpp:892 `_ + +.. error:: 10087 + + Text: turn off profiling before dropping system.profile collection + + Module: `pdfile.cpp:900 `_ + +.. error:: 10089 + + Text: can't remove from a capped collection + + Module: `pdfile.cpp:1014 `_ + +.. error:: 10093 + + Text: cannot insert into reserved $ collection + + Module: `pdfile.cpp:1397 `_ + +.. error:: 10094 + + Text: invalid ns: + + Module: `pdfile.cpp:1398 `_ + +.. error:: 10095 + + Text: attempt to insert in reserved database name 'system' + + Module: `pdfile.cpp:1299 `_ + +.. error:: 10099 + + Text: _id cannot be an array + + Module: `pdfile.cpp:1436 `_ + +.. error:: 10356 + + Text: invalid ns: + + Module: `pdfile.cpp:353 `_ + +.. error:: 10357 + + Text: shutdown in progress + + Module: `pdfile.cpp:514 `_ + +.. error:: 10358 + + Text: bad new extent size + + Module: `pdfile.cpp:515 `_ + +.. error:: 10359 + + Text: header==0 on new extent: 32 bit mmap space exceeded? + + Module: `pdfile.cpp:516 `_ + +.. error:: 10360 + + Text: Extent::reset bad magic value + + Module: `pdfile.cpp:663 `_ + +.. error:: 10361 + + Text: can't create .$freelist + + Module: `pdfile.cpp:872 `_ + +.. error:: 12502 + + Text: can't drop system ns + + Module: `pdfile.cpp:902 `_ + +.. error:: 12503 + + Text: + + Module: `pdfile.cpp:940 `_ + +.. error:: 12582 + + Text: duplicate key insert for unique index of capped collection + + Module: `pdfile.cpp:1239 `_ + +.. error:: 12583 + + Text: unexpected index insertion failure on capped collection + + Module: `pdfile.cpp:1545 `_ + +.. error:: 12586 + + Text: cannot perform operation: a background operation is currently running for this database + + Module: `pdfile.cpp:111 `_ + +.. error:: 12587 + + Text: cannot perform operation: a background operation is currently running for this collection + + Module: `pdfile.cpp:116 `_ + +.. error:: 13143 + + Text: can't create index on system.indexes" , tabletoidxns.find( ".system.indexes + + Module: `pdfile.cpp:1340 `_ + +.. error:: 13440 + + Text: + + Module: `pdfile.cpp:393 `_ + +.. error:: 13441 + + Text: + + Module: `pdfile.cpp:387 `_ + +.. error:: 13596 + + Text: cannot change _id of a document old:" << objOld << " new: + + Module: `pdfile.cpp:1075 `_ + +.. error:: 14037 + + Text: can't create user databases on a --configsvr instance + + Module: `pdfile.cpp:234 `_ + +.. error:: 14051 + + Text: system.users entry needs 'user' field to be a string" , t["user + + Module: `pdfile.cpp:1307 `_ + +.. error:: 14052 + + Text: system.users entry needs 'pwd' field to be a string" , t["pwd + + Module: `pdfile.cpp:1308 `_ + +.. error:: 14053 + + Text: system.users entry needs 'user' field to be non-empty" , t["user + + Module: `pdfile.cpp:1309 `_ + +.. error:: 14054 + + Text: system.users entry needs 'pwd' field to be non-empty" , t["pwd + + Module: `pdfile.cpp:1310 `_ + +.. error:: 13640 + + Text: DataFileHeader looks corrupt at file open filelength:" << filelength << " fileno: + + Module: `pdfile.h:437 `_ + +.. error:: 15943 + + Text: group accumulator + + Module: `accumulator.cpp:28 `_ + +.. error:: 16030 + + Text: reserved error + + Module: `accumulator.cpp:59 `_ + +.. error:: 16031 + + Text: reserved error + + Module: `accumulator.cpp:60 `_ + +.. error:: 16032 + + Text: reserved error + + Module: `accumulator.cpp:61 `_ + +.. error:: 16033 + + Text: reserved error + + Module: `accumulator.cpp:62 `_ + +.. error:: 16036 + + Text: reserved error + + Module: `accumulator.cpp:64 `_ + +.. error:: 16037 + + Text: reserved error + + Module: `accumulator.cpp:65 `_ + +.. error:: 16038 + + Text: reserved error + + Module: `accumulator.cpp:66 `_ + +.. error:: 16039 + + Text: reserved error + + Module: `accumulator.cpp:67 `_ + +.. error:: 16040 + + Text: reserved error + + Module: `accumulator.cpp:68 `_ + +.. error:: 16041 + + Text: reserved error + + Module: `accumulator.cpp:69 `_ + +.. error:: 16042 + + Text: reserved error + + Module: `accumulator.cpp:70 `_ + +.. error:: 16043 + + Text: reserved error + + Module: `accumulator.cpp:71 `_ + +.. error:: 16044 + + Text: reserved error + + Module: `accumulator.cpp:72 `_ + +.. error:: 16045 + + Text: reserved error + + Module: `accumulator.cpp:73 `_ + +.. error:: 16046 + + Text: reserved error + + Module: `accumulator.cpp:74 `_ + +.. error:: 16047 + + Text: reserved error + + Module: `accumulator.cpp:75 `_ + +.. error:: 16048 + + Text: reserved error + + Module: `accumulator.cpp:76 `_ + +.. error:: 16049 + + Text: reserved error + + Module: `accumulator.cpp:77 `_ + +.. error:: 16000 + + Text: $sum resulted in a non-numeric type + + Module: `accumulator_sum.cpp:74 `_ + +.. error:: 15944 + + Text: terminating request: request heap use exceeded 10% of physical RAM + + Module: `doc_mem_monitor.cpp:55 `_ + +.. error:: 16390 + + Text: sharded pipeline failed on shard + + Module: `document_source_command_shards.cpp:95 `_ + +.. error:: 16391 + + Text: no result array? shard: + + Module: `document_source_command_shards.cpp:102 `_ + +.. error:: 16028 + + Text: collection or database disappeared when cursor yielded + + Module: `document_source_cursor.cpp:88 `_ + +.. error:: 15946 + + Text: a document filter expression must be an object + + Module: `document_source_filter.cpp:75 `_ + +.. error:: 15947 + + Text: a group's fields must be specified in an object + + Module: `document_source_group.cpp:163 `_ + +.. error:: 15948 + + Text: a group's _id may only be specified once + + Module: `document_source_group.cpp:177 `_ + +.. error:: 15949 + + Text: + + Module: `document_source_group.cpp:234 `_ + +.. error:: 15950 + + Text: + + Module: `document_source_group.cpp:250 `_ + +.. error:: 15951 + + Text: + + Module: `document_source_group.cpp:255 `_ + +.. error:: 15952 + + Text: + + Module: `document_source_group.cpp:274 `_ + +.. error:: 15953 + + Text: + + Module: `document_source_group.cpp:289 `_ + +.. error:: 15954 + + Text: + + Module: `document_source_group.cpp:301 `_ + +.. error:: 15955 + + Text: a group specification must include an _id + + Module: `document_source_group.cpp:308 `_ + +.. error:: 16414 + + Text: + + Module: `document_source_group.cpp:245 `_ + +.. error:: 15957 + + Text: the limit must be specified as a number + + Module: `document_source_limit.cpp:100 `_ + +.. error:: 15958 + + Text: the limit must be positive + + Module: `document_source_limit.cpp:107 `_ + +.. error:: 15959 + + Text: the match filter must be an expression in an object + + Module: `document_source_match.cpp:84 `_ + +.. error:: 16395 + + Text: $where is not allowed inside of a $match aggregation expression + + Module: `document_source_match.cpp:67 `_ + +.. error:: 16424 + + Text: $near is not allowed inside of a $match aggregation expression + + Module: `document_source_match.cpp:70 `_ + +.. error:: 16425 + + Text: $within is not allowed inside of a $match aggregation expression + + Module: `document_source_match.cpp:72 `_ + +.. error:: 16426 + + Text: $nearSphere is not allowed inside of a $match aggregation expression + + Module: `document_source_match.cpp:74 `_ + +.. error:: 15969 + + Text: + + Module: `document_source_project.cpp:110 `_ + +.. error:: 16402 + + Text: parseObject() returned wrong type of Expression + + Module: `document_source_project.cpp:127 `_ + +.. error:: 16403 + + Text: $projection requires at least one output field + + Module: `document_source_project.cpp:128 `_ + +.. error:: 15956 + + Text: + + Module: `document_source_skip.cpp:119 `_ + +.. error:: 15972 + + Text: + + Module: `document_source_skip.cpp:111 `_ + +.. error:: 15973 + + Text: the + + Module: `document_source_sort.cpp:123 `_ + +.. error:: 15974 + + Text: + + Module: `document_source_sort.cpp:138 `_ + +.. error:: 15975 + + Text: + + Module: `document_source_sort.cpp:143 `_ + +.. error:: 15976 + + Text: + + Module: `document_source_sort.cpp:151 `_ + +.. error:: 15978 + + Text: + + Module: `document_source_unwind.cpp:97 `_ + +.. error:: 15979 + + Text: can't unwind more than one path + + Module: `document_source_unwind.cpp:270 `_ + +.. error:: 15981 + + Text: the + + Module: `document_source_unwind.cpp:282 `_ + +.. error:: 15982 + + Text: + + Module: `expression.cpp:58 `_ + +.. error:: 15983 + + Text: + + Module: `expression.cpp:88 `_ + +.. error:: 15990 + + Text: this object is already an operator expression, and can't be used as a document expression (at ' + + Module: `expression.cpp:102 `_ + +.. error:: 15992 + + Text: + + Module: `expression.cpp:162 `_ + +.. error:: 15993 + + Text: + + Module: `expression.cpp:2131 `_ + +.. error:: 15997 + + Text: + + Module: `expression.cpp:2138 `_ + +.. error:: 15999 + + Text: invalid operator ' + + Module: `expression.cpp:242 `_ + +.. error:: 16014 + + Text: + + Module: `expression.cpp:1347 `_ + +.. error:: 16019 + + Text: the + + Module: `expression.cpp:253 `_ + +.. error:: 16020 + + Text: the + + Module: `expression.cpp:276 `_ + +.. error:: 16021 + + Text: the + + Module: `expression.cpp:260 `_ + +.. error:: 16022 + + Text: the + + Module: `expression.cpp:290 `_ + +.. error:: 16034 + + Text: + + Module: `expression.cpp:2374 `_ + +.. error:: 16035 + + Text: + + Module: `expression.cpp:2380 `_ + +.. error:: 16373 + + Text: + + Module: `expression.cpp:946 `_ + +.. error:: 16374 + + Text: $mod does not support dates + + Module: `expression.cpp:1757 `_ + +.. error:: 16375 + + Text: $multiply does not support dates + + Module: `expression.cpp:1858 `_ + +.. error:: 16376 + + Text: + + Module: `expression.cpp:2429 `_ + +.. error:: 16400 + + Text: + + Module: `expression.cpp:1196 `_ + +.. error:: 16401 + + Text: + + Module: `expression.cpp:1214 `_ + +.. error:: 16404 + + Text: $expressions are not allowed at the top-level of $project + + Module: `expression.cpp:93 `_ + +.. error:: 16405 + + Text: dotted field names are only allowed at the top level + + Module: `expression.cpp:106 `_ + +.. error:: 16406 + + Text: + + Module: `expression.cpp:154 `_ + +.. error:: 16407 + + Text: inclusion not supported in objects nested in $expressions + + Module: `expression.cpp:1014 `_ + +.. error:: 16413 + + Text: $subtract resulted in a non-numeric type + + Module: `expression.cpp:2446 `_ + +.. error:: 16415 + + Text: $add does not support dates + + Module: `expression.cpp:347 `_ + +.. error:: 16416 + + Text: $add does not support strings + + Module: `expression.cpp:349 `_ + +.. error:: 16417 + + Text: $add resulted in a non-numeric type + + Module: `expression.cpp:367 `_ + +.. error:: 16418 + + Text: $multiply resulted in a non-numeric type + + Module: `expression.cpp:1872 `_ + +.. error:: 16419 + + Text: field path must not contain embedded null characters" << prefixedField.find("\0") << ", + + Module: `expression.cpp:54 `_ + +.. error:: 16420 + + Text: field inclusion is not allowed inside of $expressions + + Module: `expression.cpp:149 `_ + +.. error:: 15998 + + Text: FieldPath field names may not be empty strings. + + Module: `field_path.cpp:88 `_ + +.. error:: 16409 + + Text: FieldPath cannot be constructed from an empty vector. + + Module: `field_path.cpp:28 `_ + +.. error:: 16410 + + Text: FieldPath field names may not start with '$'. + + Module: `field_path.cpp:89 `_ + +.. error:: 16411 + + Text: FieldPath field names may not contain '\0'. + + Module: `field_path.cpp:90 `_ + +.. error:: 16412 + + Text: FieldPath field names may not contain '.'. + + Module: `field_path.cpp:92 `_ + +.. error:: 15942 + + Text: pipeline element + + Module: `pipeline.cpp:160 `_ + +.. error:: 16389 + + Text: + + Module: `pipeline.cpp:409 `_ + +.. error:: 16001 + + Text: + + Module: `value.cpp:77 `_ + +.. error:: 16002 + + Text: + + Module: `value.cpp:184 `_ + +.. error:: 16003 + + Text: + + Module: `value.cpp:551 `_ + +.. error:: 16004 + + Text: + + Module: `value.cpp:577 `_ + +.. error:: 16005 + + Text: + + Module: `value.cpp:603 `_ + +.. error:: 16006 + + Text: + + Module: `value.cpp:622 `_ + +.. error:: 16007 + + Text: + + Module: `value.cpp:709 `_ + +.. error:: 16016 + + Text: + + Module: `value.cpp:811 `_ + +.. error:: 16017 + + Text: + + Module: `value.cpp:862 `_ + +.. error:: 16018 + + Text: + + Module: `value.cpp:963 `_ + +.. error:: 16378 + + Text: + + Module: `value.cpp:725 `_ + +.. error:: 16421 + + Text: Can't handle date values outside of time_t range + + Module: `value.cpp:640 `_ + +.. error:: 16422 + + Text: gmtime failed - your system doesn't support dates before 1970 + + Module: `value.cpp:661 `_ + +.. error:: 16423 + + Text: gmtime failed to convert time_t of + + Module: `value.cpp:664 `_ + +.. error:: 16427 + + Text: + + Module: `prefetch.cpp:144 `_ + +.. error:: 10053 + + Text: You cannot currently mix including and excluding fields. + + Module: `projection.cpp:100 `_ + +.. error:: 10371 + + Text: can only add to Projection once + + Module: `projection.cpp:26 `_ + +.. error:: 13097 + + Text: Unsupported projection option: + + Module: `projection.cpp:83 `_ + +.. error:: 13098 + + Text: $slice only supports numbers and [skip, limit] arrays + + Module: `projection.cpp:61 `_ + +.. error:: 13099 + + Text: $slice array wrong size + + Module: `projection.cpp:51 `_ + +.. error:: 13100 + + Text: $slice limit must be positive + + Module: `projection.cpp:56 `_ + +.. error:: 16342 + + Text: elemMatch: invalid argument. object required. + + Module: `projection.cpp:66 `_ + +.. error:: 16343 + + Text: Cannot specify positional operator and $elemMatch + + Module: `projection.cpp:68 `_ + +.. error:: 16344 + + Text: Cannot use $elemMatch projection on a nested field + + Module: `projection.cpp:71 `_ + +.. error:: 16345 + + Text: Cannot exclude array elements with the positional operator + + Module: `projection.cpp:107 `_ + +.. error:: 16346 + + Text: Cannot specify more than one positional array element per query + + Module: `projection.cpp:109 `_ + +.. error:: 16347 + + Text: Cannot specify positional operator and $elemMatch + + Module: `projection.cpp:111 `_ + +.. error:: 16348 + + Text: matchers are only supported for $elemMatch + + Module: `projection.cpp:174 `_ + +.. error:: 16349 + + Text: $elemMatch specified, but projection field not found. + + Module: `projection.cpp:184 `_ + +.. error:: 16350 + + Text: $elemMatch called on document element with eoo + + Module: `projection.cpp:188 `_ + +.. error:: 16351 + + Text: $elemMatch called on array element with eoo + + Module: `projection.cpp:190 `_ + +.. error:: 16352 + + Text: positional operator ( + + Module: `projection.cpp:287 `_ + +.. error:: 16353 + + Text: positional operator element mismatch + + Module: `projection.cpp:292 `_ + +.. error:: 16354 + + Text: Positional operator does not match the query specifier. + + Module: `projection.cpp:343 `_ + +.. error:: 10111 + + Text: table scans not allowed: + + Module: `queryoptimizer.cpp:357 `_ + +.. error:: 10112 + + Text: bad hint + + Module: `queryoptimizer.cpp:73 `_ + +.. error:: 10113 + + Text: bad hint + + Module: `queryoptimizer.cpp:85 `_ + +.. error:: 10363 + + Text: newCursor() with start location not implemented for indexed plans + + Module: `queryoptimizer.cpp:292 `_ + +.. error:: 10364 + + Text: newReverseCursor() not implemented for indexed plans + + Module: `queryoptimizer.cpp:315 `_ + +.. error:: 10365 + + Text: + + Module: `queryoptimizer.cpp:742 `_ + +.. error:: 10366 + + Text: natural order cannot be specified with $min/$max + + Module: `queryoptimizer.cpp:623 `_ + +.. error:: 10367 + + Text: + + Module: `queryoptimizer.cpp:635 `_ + +.. error:: 10368 + + Text: Unable to locate previously recorded index + + Module: `queryoptimizer.cpp:696 `_ + +.. error:: 10369 + + Text: no plans + + Module: `queryoptimizer.cpp:1018 `_ + +.. error:: 13038 + + Text: can't find special index: + + Module: `queryoptimizer.cpp:659 `_ + +.. error:: 13040 + + Text: no type for special: + + Module: `queryoptimizer.cpp:160 `_ + +.. error:: 13268 + + Text: invalid $or spec + + Module: `queryoptimizer.cpp:1218 `_ + +.. error:: 13292 + + Text: hint eoo + + Module: `queryoptimizer.cpp:60 `_ + +.. error:: 16330 + + Text: 'special' query operator not allowed + + Module: `queryoptimizer.cpp:654 `_ + +.. error:: 16331 + + Text: 'special' plan hint not allowed + + Module: `queryoptimizer.cpp:750 `_ + +.. error:: 13266 + + Text: not implemented for $or query + + Module: `queryoptimizer.h:614 `_ + +.. error:: 13271 + + Text: no more clauses + + Module: `queryoptimizer.h:617 `_ + +.. error:: 14809 + + Text: Invalid access for cursor that is not ok() + + Module: `queryoptimizercursorimpl.cpp:666 `_ + +.. error:: 16249 + + Text: + + Module: `queryoptimizercursorimpl.cpp:99 `_ + +.. error:: 9011 + + Text: + + Module: `queryoptimizercursorimpl.cpp:82 `_ + +.. error:: 14049 + + Text: FieldRangeSetPair invalid index specified + + Module: `queryutil-inl.h:138 `_ + +.. error:: 10370 + + Text: $all requires array + + Module: `queryutil.cpp:364 `_ + +.. error:: 12580 + + Text: invalid query + + Module: `queryutil.cpp:174 `_ + +.. error:: 13033 + + Text: can't have 2 special fields + + Module: `queryutil.cpp:764 `_ + +.. error:: 13034 + + Text: invalid use of $not + + Module: `queryutil.cpp:902 `_ + +.. error:: 13041 + + Text: invalid use of $not + + Module: `queryutil.cpp:912 `_ + +.. error:: 13050 + + Text: $all requires array + + Module: `queryutil.cpp:876 `_ + +.. error:: 13262 + + Text: $or requires nonempty array + + Module: `queryutil.cpp:1713 `_ + +.. error:: 13263 + + Text: $or array must contain objects + + Module: `queryutil.cpp:1717 `_ + +.. error:: 13274 + + Text: no or clause to pop + + Module: `queryutil.cpp:1729 `_ + +.. error:: 13291 + + Text: $or may not contain 'special' query + + Module: `queryutil.cpp:1719 `_ + +.. error:: 13303 + + Text: combinatorial limit of $in partitioning of result set exceeded + + Module: `queryutil.cpp:1244 `_ + +.. error:: 13304 + + Text: combinatorial limit of $in partitioning of result set exceeded + + Module: `queryutil.cpp:1254 `_ + +.. error:: 13385 + + Text: combinatorial limit of $in partitioning of result set exceeded + + Module: `queryutil.cpp:1116 `_ + +.. error:: 13454 + + Text: invalid regular expression operator + + Module: `queryutil.cpp:255 `_ + +.. error:: 14048 + + Text: FieldRangeSetPair invalid index specified + + Module: `queryutil.cpp:1348 `_ + +.. error:: 14816 + + Text: $and expression must be a nonempty array + + Module: `queryutil.cpp:970 `_ + +.. error:: 14817 + + Text: $and/$or elements must be objects + + Module: `queryutil.cpp:957 `_ + +.. error:: 15881 + + Text: $elemMatch not allowed within $in + + Module: `queryutil.cpp:178 `_ + +.. error:: 10102 + + Text: bad order array + + Module: `queryutil.h:41 `_ + +.. error:: 10103 + + Text: bad order array [2] + + Module: `queryutil.h:42 `_ + +.. error:: 10104 + + Text: too many ordering elements + + Module: `queryutil.h:45 `_ + +.. error:: 10105 + + Text: bad skip value in query + + Module: `queryutil.h:130 `_ + +.. error:: 12001 + + Text: E12001 can't sort with $snapshot + + Module: `queryutil.h:213 `_ + +.. error:: 12002 + + Text: E12002 can't use hint with $snapshot + + Module: `queryutil.h:214 `_ + +.. error:: 13513 + + Text: sort must be an object or array + + Module: `queryutil.h:183 `_ + +.. error:: 16236 + + Text: + + Module: `record.cpp:445 `_ + +.. error:: 10002 + + Text: local.sources collection corrupt? + + Module: `repl.cpp:398 `_ + +.. error:: 10118 + + Text: 'host' field not set in sources collection object + + Module: `repl.cpp:266 `_ + +.. error:: 10119 + + Text: only source='main' allowed for now with replication", sourceName() == "main + + Module: `repl.cpp:267 `_ + +.. error:: 10120 + + Text: bad sources 'syncedTo' field value + + Module: `repl.cpp:270 `_ + +.. error:: 10123 + + Text: replication error last applied optime at slave >= nextOpTime from master + + Module: `repl.cpp:1012 `_ + +.. error:: 10124 + + Text: + + Module: `repl.cpp:1248 `_ + +.. error:: 10384 + + Text: --only requires use of --source + + Module: `repl.cpp:409 `_ + +.. error:: 10385 + + Text: Unable to get database list + + Module: `repl.cpp:465 `_ + +.. error:: 10386 + + Text: non Date ts found: + + Module: `repl.cpp:781 `_ + +.. error:: 10389 + + Text: Unable to get database list + + Module: `repl.cpp:810 `_ + +.. error:: 10390 + + Text: got $err reading remote oplog + + Module: `repl.cpp:900 `_ + +.. error:: 10391 + + Text: repl: bad object read from remote oplog + + Module: `repl.cpp:905 `_ + +.. error:: 10392 + + Text: bad user object? [1] + + Module: `repl.cpp:1080 `_ + +.. error:: 10393 + + Text: bad user object? [2] + + Module: `repl.cpp:1081 `_ + +.. error:: 13344 + + Text: trying to slave off of a non-master + + Module: `repl.cpp:896 `_ + +.. error:: 13435 + + Text: not master and slaveOk=false + + Module: `repl.cpp:1556 `_ + +.. error:: 13436 + + Text: + + Module: `repl.cpp:1558 `_ + +.. error:: 14032 + + Text: Invalid 'ts' in remote log + + Module: `repl.cpp:570 `_ + +.. error:: 14033 + + Text: Unable to get database list + + Module: `repl.cpp:576 `_ + +.. error:: 14034 + + Text: Duplicate database names present after attempting to delete duplicates + + Module: `repl.cpp:618 `_ + +.. error:: 15914 + + Text: Failure retrying initial sync update + + Module: `repl.cpp:629 `_ + +.. error:: 1000 + + Text: replSet source for syncing doesn't seem to be await capable -- is it an older version of mongodb? + + Module: `bgsync.cpp:280 `_ + +.. error:: 16235 + + Text: going to start syncing, but buffer is not empty + + Module: `bgsync.cpp:519 `_ + +.. error:: 13112 + + Text: bad replset heartbeat option + + Module: `health.h:41 `_ + +.. error:: 13113 + + Text: bad replset heartbeat option + + Module: `health.h:42 `_ + +.. error:: 15900 + + Text: can't heartbeat: too much lock + + Module: `heartbeat.cpp:150 `_ + +.. error:: 13093 + + Text: bad --replSet config string format is: [/,,...] + + Module: `rs.cpp:328 `_ + +.. error:: 13096 + + Text: bad --replSet command line config string - dups? + + Module: `rs.cpp:347 `_ + +.. error:: 13101 + + Text: can't use localhost in replset host list + + Module: `rs.cpp:349 `_ + +.. error:: 13114 + + Text: bad --replSet seed hostname + + Module: `rs.cpp:345 `_ + +.. error:: 13290 + + Text: bad replSet oplog entry? + + Module: `rs.cpp:443 `_ + +.. error:: 13302 + + Text: replSet error self appears twice in the repl set configuration + + Module: `rs.cpp:547 `_ + +.. error:: 13107 + + Text: + + Module: `rs_config.cpp:532 `_ + +.. error:: 13108 + + Text: bad replset config -- duplicate hosts in the config object? + + Module: `rs_config.cpp:542 `_ + +.. error:: 13109 + + Text: multiple rows in " << rsConfigNs << " not supported host: + + Module: `rs_config.cpp:648 `_ + +.. error:: 13115 + + Text: bad " + rsConfigNs + " config: version + + Module: `rs_config.cpp:463 `_ + +.. error:: 13117 + + Text: bad " + rsConfigNs + " config + + Module: `rs_config.cpp:549 `_ + +.. error:: 13122 + + Text: bad repl set config? + + Module: `rs_config.cpp:566 `_ + +.. error:: 13126 + + Text: bad Member config + + Module: `rs_config.cpp:140 `_ + +.. error:: 13131 + + Text: replSet error parsing (or missing) 'members' field in config object + + Module: `rs_config.cpp:473 `_ + +.. error:: 13132 + + Text: + + Module: `rs_config.cpp:320 `_ + +.. error:: 13133 + + Text: replSet bad config no members + + Module: `rs_config.cpp:324 `_ + +.. error:: 13135 + + Text: + + Module: `rs_config.cpp:538 `_ + +.. error:: 13260 + + Text: + + Module: `rs_config.cpp:623 `_ + +.. error:: 13308 + + Text: replSet bad config version # + + Module: `rs_config.cpp:323 `_ + +.. error:: 13309 + + Text: replSet bad config maximum number of members is 12 + + Module: `rs_config.cpp:325 `_ + +.. error:: 13393 + + Text: can't use localhost in repl set member names except when using it for all members + + Module: `rs_config.cpp:548 `_ + +.. error:: 13419 + + Text: priorities must be between 0.0 and 100.0 + + Module: `rs_config.cpp:147 `_ + +.. error:: 13432 + + Text: _id may not change for members + + Module: `rs_config.cpp:272 `_ + +.. error:: 13433 + + Text: can't find self in new replset config + + Module: `rs_config.cpp:289 `_ + +.. error:: 13434 + + Text: unexpected field '" << e.fieldName() << "' in object + + Module: `rs_config.cpp:43 `_ + +.. error:: 13437 + + Text: slaveDelay requires priority be zero + + Module: `rs_config.cpp:148 `_ + +.. error:: 13438 + + Text: bad slaveDelay value + + Module: `rs_config.cpp:149 `_ + +.. error:: 13439 + + Text: priority must be 0 when hidden=true + + Module: `rs_config.cpp:150 `_ + +.. error:: 13476 + + Text: buildIndexes may not change for members + + Module: `rs_config.cpp:276 `_ + +.. error:: 13477 + + Text: priority must be 0 when buildIndexes=false + + Module: `rs_config.cpp:151 `_ + +.. error:: 13510 + + Text: arbiterOnly may not change for members + + Module: `rs_config.cpp:282 `_ + +.. error:: 13612 + + Text: replSet bad config maximum number of voting members is 7 + + Module: `rs_config.cpp:332 `_ + +.. error:: 13613 + + Text: replSet bad config no voting members + + Module: `rs_config.cpp:333 `_ + +.. error:: 13645 + + Text: hosts cannot switch between localhost and hostname + + Module: `rs_config.cpp:266 `_ + +.. error:: 14046 + + Text: getLastErrorMode rules must be objects + + Module: `rs_config.cpp:382 `_ + +.. error:: 14827 + + Text: arbiters cannot have tags + + Module: `rs_config.cpp:524 `_ + +.. error:: 14828 + + Text: getLastErrorMode criteria must be greater than 0: + + Module: `rs_config.cpp:394 `_ + +.. error:: 14829 + + Text: getLastErrorMode criteria must be numeric + + Module: `rs_config.cpp:389 `_ + +.. error:: 14831 + + Text: mode " << clauseObj << " requires + + Module: `rs_config.cpp:399 `_ + +.. error:: 13404 + + Text: + + Module: `rs_initialsync.cpp:44 `_ + +.. error:: 16233 + + Text: + + Module: `rs_initialsync.cpp:66 `_ + +.. error:: 13144 + + Text: + + Module: `rs_initiate.cpp:130 `_ + +.. error:: 13145 + + Text: set name does not match the set name host " + i->h.toString() + " expects + + Module: `rs_initiate.cpp:93 `_ + +.. error:: 13256 + + Text: member " + i->h.toString() + " is already initiated + + Module: `rs_initiate.cpp:97 `_ + +.. error:: 13259 + + Text: + + Module: `rs_initiate.cpp:83 `_ + +.. error:: 13278 + + Text: bad config: isSelf is true for multiple hosts: + + Module: `rs_initiate.cpp:58 `_ + +.. error:: 13279 + + Text: + + Module: `rs_initiate.cpp:64 `_ + +.. error:: 13311 + + Text: member " + i->h.toString() + " has data already, cannot initiate set. All members except initiator must be empty. + + Module: `rs_initiate.cpp:136 `_ + +.. error:: 13341 + + Text: member " + i->h.toString() + " has a config version >= to the new cfg version; cannot change config + + Module: `rs_initiate.cpp:102 `_ + +.. error:: 13420 + + Text: initiation and reconfiguration of a replica set must be sent to a node that can become primary + + Module: `rs_initiate.cpp:51 `_ + +.. error:: 13410 + + Text: replSet too much data to roll back + + Module: `rs_rollback.cpp:344 `_ + +.. error:: 13423 + + Text: replSet error in rollback can't find + + Module: `rs_rollback.cpp:454 `_ + +.. error:: 15909 + + Text: replSet rollback error resyncing collection + + Module: `rs_rollback.cpp:397 `_ + +.. error:: 12000 + + Text: rs slaveDelay differential too big check clocks and systems + + Module: `rs_sync.cpp:442 `_ + +.. error:: 15915 + + Text: + + Module: `rs_sync.cpp:138 `_ + +.. error:: 16113 + + Text: + + Module: `rs_sync.cpp:624 `_ + +.. error:: 16359 + + Text: + + Module: `rs_sync.cpp:114 `_ + +.. error:: 16360 + + Text: + + Module: `rs_sync.cpp:118 `_ + +.. error:: 16361 + + Text: + + Module: `rs_sync.cpp:154 `_ + +.. error:: 16397 + + Text: + + Module: `rs_sync.cpp:177 `_ + +.. error:: 14830 + + Text: unrecognized getLastError mode: + + Module: `repl_block.cpp:164 `_ + +.. error:: 16250 + + Text: w has to be a string or a number + + Module: `repl_block.cpp:150 `_ + +.. error:: 10107 + + Text: not master + + Module: `replutil.h:82 `_ + +.. error:: 13085 + + Text: query failed for dbwebserver + + Module: `restapi.cpp:150 `_ + +.. error:: 16172 + + Text: couldn't get readlock to open admin db + + Module: `restapi.cpp:241 `_ + +.. error:: 16173 + + Text: couldn't get read lock to get admin auth credentials + + Module: `restapi.cpp:254 `_ + +.. error:: 16174 + + Text: couldn't get read lock to check admin user + + Module: `restapi.cpp:263 `_ + +.. error:: 15925 + + Text: cannot sort with keys that are parallel arrays + + Module: `scanandorder.cpp:39 `_ + +.. error:: 16355 + + Text: positional operator specified, but no array match + + Module: `scanandorder.cpp:78 `_ + +.. error:: 15889 + + Text: key file must be used to log in with internal user + + Module: `security.cpp:120 `_ + +.. error:: 16232 + + Text: + + Module: `security.cpp:35 `_ + +.. error:: 12528 + + Text: should be ok for storage: + + Module: `jsobjtests.cpp:2026 `_ + +.. error:: 12529 + + Text: should NOT be ok for storage: + + Module: `jsobjtests.cpp:2033 `_ + +.. error:: 13258 + + Text: oids broken after resetting! + + Module: `balance.cpp:334 `_ + +.. error:: 16356 + + Text: tag ranges not valid for: + + Module: `balance.cpp:236 `_ + +.. error:: 10163 + + Text: can only handle numbers here - which i think is correct + + Module: `chunk.cpp:129 `_ + +.. error:: 10165 + + Text: can't split as shard doesn't have a manager + + Module: `chunk.cpp:267 `_ + +.. error:: 10167 + + Text: can't move shard to its current location! + + Module: `chunk.cpp:305 `_ + +.. error:: 10169 + + Text: datasize failed!" , conn->get()->runCommand( "admin + + Module: `chunk.cpp:454 `_ + +.. error:: 10170 + + Text: Chunk needs a ns + + Module: `chunk.cpp:71 `_ + +.. error:: 10171 + + Text: Chunk needs a server + + Module: `chunk.cpp:74 `_ + +.. error:: 10172 + + Text: Chunk needs a min + + Module: `chunk.cpp:76 `_ + +.. error:: 10173 + + Text: Chunk needs a max + + Module: `chunk.cpp:77 `_ + +.. error:: 10174 + + Text: config servers not all up + + Module: `chunk.cpp:1199 `_ + +.. error:: 10412 + + Text: + + Module: `chunk.cpp:423 `_ + +.. error:: 13003 + + Text: can't split a chunk with only one distinct value + + Module: `chunk.cpp:270 `_ + +.. error:: 13141 + + Text: Chunk map pointed to incorrect chunk + + Module: `chunk.cpp:1056 `_ + +.. error:: 13282 + + Text: Couldn't load a valid config for " + _ns + " after 3 attempts. Please try again. + + Module: `chunk.cpp:676 `_ + +.. error:: 13327 + + Text: Chunk ns must match server ns + + Module: `chunk.cpp:72 `_ + +.. error:: 13331 + + Text: collection's metadata is undergoing changes. Please try again. + + Module: `chunk.cpp:1197 `_ + +.. error:: 13332 + + Text: need a split key to split chunk + + Module: `chunk.cpp:268 `_ + +.. error:: 13333 + + Text: can't split a chunk in that many parts + + Module: `chunk.cpp:269 `_ + +.. error:: 13345 + + Text: + + Module: `chunk.cpp:192 `_ + +.. error:: 13405 + + Text: min value " << min << " does not have shard key + + Module: `chunk.cpp:1136 `_ + +.. error:: 13406 + + Text: max value " << max << " does not have shard key + + Module: `chunk.cpp:1137 `_ + +.. error:: 13449 + + Text: collection " << _ns << " already sharded with + + Module: `chunk.cpp:997 `_ + +.. error:: 13501 + + Text: use geoNear command rather than $near query + + Module: `chunk.cpp:1082 `_ + +.. error:: 13502 + + Text: unrecognized special query type: + + Module: `chunk.cpp:1089 `_ + +.. error:: 13503 + + Text: + + Module: `chunk.cpp:162 `_ + +.. error:: 13507 + + Text: no chunks found between bounds " << min << " and + + Module: `chunk.cpp:1143 `_ + +.. error:: 14022 + + Text: Error locking distributed lock for chunk drop. + + Module: `chunk.cpp:1194 `_ + +.. error:: 15903 + + Text: + + Module: `chunk.cpp:1023 `_ + +.. error:: 16068 + + Text: no chunk ranges available + + Module: `chunk.cpp:1128 `_ + +.. error:: 16338 + + Text: + + Module: `chunk.cpp:1234 `_ + +.. error:: 8070 + + Text: + + Module: `chunk.cpp:1060 `_ + +.. error:: 8071 + + Text: cleaning up after drop failed: + + Module: `chunk.cpp:1256 `_ + +.. error:: 13134 + + Text: + + Module: `client_info.cpp:60 `_ + +.. error:: 10420 + + Text: how could chunk manager be null! + + Module: `commands_public.cpp:846 `_ + +.. error:: 12594 + + Text: how could chunk manager be null! + + Module: `commands_public.cpp:579 `_ + +.. error:: 13002 + + Text: shard internal error chunk manager should never be null + + Module: `commands_public.cpp:704 `_ + +.. error:: 13091 + + Text: how could chunk manager be null! + + Module: `commands_public.cpp:911 `_ + +.. error:: 13137 + + Text: Source and destination collections must be on same shard + + Module: `commands_public.cpp:444 `_ + +.. error:: 13138 + + Text: You can't rename a sharded collection + + Module: `commands_public.cpp:438 `_ + +.. error:: 13139 + + Text: You can't rename to a sharded collection + + Module: `commands_public.cpp:439 `_ + +.. error:: 13140 + + Text: Don't recognize source or target DB + + Module: `commands_public.cpp:437 `_ + +.. error:: 13343 + + Text: query for sharded findAndModify must have shardkey + + Module: `commands_public.cpp:707 `_ + +.. error:: 13398 + + Text: cant copy to sharded DB + + Module: `commands_public.cpp:458 `_ + +.. error:: 13399 + + Text: need a fromdb argument + + Module: `commands_public.cpp:466 `_ + +.. error:: 13400 + + Text: don't know where source DB is + + Module: `commands_public.cpp:469 `_ + +.. error:: 13401 + + Text: cant copy from sharded DB + + Module: `commands_public.cpp:470 `_ + +.. error:: 13402 + + Text: need a todb argument + + Module: `commands_public.cpp:455 `_ + +.. error:: 13407 + + Text: how could chunk manager be null! + + Module: `commands_public.cpp:747 `_ + +.. error:: 13408 + + Text: keyPattern must equal shard key + + Module: `commands_public.cpp:753 `_ + +.. error:: 13500 + + Text: how could chunk manager be null! + + Module: `commands_public.cpp:1016 `_ + +.. error:: 15920 + + Text: Cannot output to a non-sharded collection, a sharded collection exists + + Module: `commands_public.cpp:1214 `_ + +.. error:: 16246 + + Text: Shard " + conf->getName() + " is too old to support GridFS sharded by {files_id:1, n:1} + + Module: `commands_public.cpp:975 `_ + +.. error:: 16260 + + Text: skip has to be positive + + Module: `commands_public.cpp:518 `_ + +.. error:: 10178 + + Text: no primary! + + Module: `config.cpp:147 `_ + +.. error:: 10181 + + Text: not sharded: + + Module: `config.cpp:310 `_ + +.. error:: 10184 + + Text: _dropShardedCollections too many collections - bailing + + Module: `config.cpp:677 `_ + +.. error:: 10187 + + Text: need configdbs + + Module: `config.cpp:722 `_ + +.. error:: 10189 + + Text: should only have 1 thing in config.version + + Module: `config.cpp:897 `_ + +.. error:: 13396 + + Text: DBConfig save failed: + + Module: `config.cpp:521 `_ + +.. error:: 13473 + + Text: failed to save collection (" + ns + "): + + Module: `config.cpp:110 `_ + +.. error:: 13509 + + Text: can't migrate from 1.5.x release to the current one; need to upgrade to 1.6.x first + + Module: `config.cpp:454 `_ + +.. error:: 13648 + + Text: can't shard collection because not all config servers are up + + Module: `config.cpp:167 `_ + +.. error:: 14822 + + Text: state changed in the middle: + + Module: `config.cpp:394 `_ + +.. error:: 15883 + + Text: not sharded after chunk manager reset : + + Module: `config.cpp:426 `_ + +.. error:: 15885 + + Text: not sharded after reloading from chunks : + + Module: `config.cpp:341 `_ + +.. error:: 8042 + + Text: db doesn't have sharding enabled + + Module: `config.cpp:166 `_ + +.. error:: 8043 + + Text: collection already sharded + + Module: `config.cpp:175 `_ + +.. error:: 10190 + + Text: ConfigServer not setup + + Module: `config.h:220 `_ + +.. error:: 8041 + + Text: no primary shard configured for db: + + Module: `config.h:163 `_ + +.. error:: 10191 + + Text: cursor already done + + Module: `cursors.cpp:91 `_ + +.. error:: 13286 + + Text: sent 0 cursors to kill + + Module: `cursors.cpp:239 `_ + +.. error:: 13287 + + Text: too many cursors to kill + + Module: `cursors.cpp:240 `_ + +.. error:: 13542 + + Text: collection doesn't have a key: + + Module: `d_chunk_manager.cpp:183 `_ + +.. error:: 13585 + + Text: version " << version.toString() << " not greater than + + Module: `d_chunk_manager.cpp:344 `_ + +.. error:: 13586 + + Text: couldn't find chunk " << min << "-> + + Module: `d_chunk_manager.cpp:312 `_ + +.. error:: 13587 + + Text: + + Module: `d_chunk_manager.cpp:320 `_ + +.. error:: 13588 + + Text: + + Module: `d_chunk_manager.cpp:380 `_ + +.. error:: 13590 + + Text: setting version to " << version.toString() << " on removing last chunk + + Module: `d_chunk_manager.cpp:334 `_ + +.. error:: 13591 + + Text: version can't be set to zero + + Module: `d_chunk_manager.cpp:366 `_ + +.. error:: 14039 + + Text: version " << version.toString() << " not greater than + + Module: `d_chunk_manager.cpp:407 `_ + +.. error:: 14040 + + Text: can split " << min << " -> " << max << " on + + Module: `d_chunk_manager.cpp:414 `_ + +.. error:: 16181 + + Text: could not initialize cursor to config server chunks collection for ns + + Module: `d_chunk_manager.cpp:128 `_ + +.. error:: 16229 + + Text: + + Module: `d_chunk_manager.cpp:161 `_ + +.. error:: 10422 + + Text: write with bad shard config and no server id! + + Module: `d_logic.cpp:110 `_ + +.. error:: 9517 + + Text: writeback + + Module: `d_logic.cpp:104 `_ + +.. error:: 13593 + + Text: + + Module: `d_split.cpp:718 `_ + +.. error:: 13298 + + Text: + + Module: `d_state.cpp:79 `_ + +.. error:: 13299 + + Text: + + Module: `d_state.cpp:101 `_ + +.. error:: 13647 + + Text: context should be empty here, is: + + Module: `d_state.cpp:592 `_ + +.. error:: 10185 + + Text: can't find a shard to put new db on + + Module: `grid.cpp:118 `_ + +.. error:: 10186 + + Text: removeDB expects db name + + Module: `grid.cpp:138 `_ + +.. error:: 10421 + + Text: + + Module: `grid.cpp:540 `_ + +.. error:: 15918 + + Text: + + Module: `grid.cpp:44 `_ + +.. error:: 10194 + + Text: can't call primaryShard on a sharded collection! + + Module: `request.cpp:109 `_ + +.. error:: 13644 + + Text: can't use 'local' database through mongos" , ! str::startsWith( getns() , "local. + + Module: `request.cpp:80 `_ + +.. error:: 15845 + + Text: + + Module: `request.cpp:62 `_ + +.. error:: 8060 + + Text: can't call primaryShard on a sharded collection + + Module: `request.cpp:105 `_ + +.. error:: 15890 + + Text: key file must be used to log in with internal user + + Module: `security.cpp:35 `_ + +.. error:: 10197 + + Text: createDirectClient not implemented for sharding yet + + Module: `server.cpp:188 `_ + +.. error:: 15849 + + Text: client info not defined + + Module: `server.cpp:90 `_ + +.. error:: 13128 + + Text: can't find shard for: + + Module: `shard.cpp:135 `_ + +.. error:: 13129 + + Text: can't find shard for: + + Module: `shard.cpp:117 `_ + +.. error:: 13136 + + Text: + + Module: `shard.cpp:336 `_ + +.. error:: 13632 + + Text: couldn't get updated shard list from config server + + Module: `shard.cpp:44 `_ + +.. error:: 15847 + + Text: can't authenticate to server + + Module: `shard.cpp:400 `_ + +.. error:: 15907 + + Text: could not initialize sharding on connection + + Module: `shard.cpp:418 `_ + +.. error:: 10428 + + Text: need_authoritative set but in authoritative mode already + + Module: `shard_version.cpp:246 `_ + +.. error:: 10429 + + Text: + + Module: `shard_version.cpp:279 `_ + +.. error:: 15904 + + Text: cannot set version on invalid connection + + Module: `shard_version.cpp:79 `_ + +.. error:: 15905 + + Text: cannot set version or shard on pair connection + + Module: `shard_version.cpp:84 `_ + +.. error:: 15906 + + Text: cannot set version or shard on sync connection + + Module: `shard_version.cpp:87 `_ + +.. error:: 16334 + + Text: cannot set version or shard on custom connection + + Module: `shard_version.cpp:90 `_ + +.. error:: 10198 + + Text: left object (" << lObject << ") doesn't have full shard key ( + + Module: `shardkey.cpp:47 `_ + +.. error:: 10199 + + Text: right object (" << rObject << ") doesn't have full shard key ( + + Module: `shardkey.cpp:50 `_ + +.. error:: 13334 + + Text: Shard Key must be less than 512 bytes + + Module: `shardkey.h:125 `_ + +.. error:: 10200 + + Text: mongos: error calling db + + Module: `strategy.cpp:72 `_ + +.. error:: 10201 + + Text: invalid update + + Module: `strategy_shard.cpp:765 `_ + +.. error:: 10203 + + Text: bad delete message + + Module: `strategy_shard.cpp:921 `_ + +.. error:: 10204 + + Text: dbgrid: getmore: error calling db + + Module: `strategy_shard.cpp:204 `_ + +.. error:: 10205 + + Text: can't use unique indexes with sharding ns: + + Module: `strategy_shard.cpp:1029 `_ + +.. error:: 12376 + + Text: + + Module: `strategy_shard.cpp:664 `_ + +.. error:: 13123 + + Text: Can't modify shard key's value. field: + + Module: `strategy_shard.cpp:608 `_ + +.. error:: 13505 + + Text: + + Module: `strategy_shard.cpp:895 `_ + +.. error:: 13506 + + Text: + + Module: `strategy_shard.cpp:750 `_ + +.. error:: 16055 + + Text: too many retries during bulk insert, " << insertsRemaining.size() << " inserts remaining + + Module: `strategy_shard.cpp:446 `_ + +.. error:: 16056 + + Text: shutting down server during bulk insert, " << insertsRemaining.size() << " inserts remaining + + Module: `strategy_shard.cpp:447 `_ + +.. error:: 16064 + + Text: + + Module: `strategy_shard.cpp:600 `_ + +.. error:: 16065 + + Text: multi-updates require $ops rather than replacement object + + Module: `strategy_shard.cpp:651 `_ + +.. error:: 16336 + + Text: + + Module: `strategy_shard.cpp:191 `_ + +.. error:: 8010 + + Text: something is wrong, shouldn't see a command here + + Module: `strategy_shard.cpp:58 `_ + +.. error:: 8011 + + Text: + + Module: `strategy_shard.cpp:382 `_ + +.. error:: 8012 + + Text: + + Module: `strategy_shard.cpp:723 `_ + +.. error:: 8013 + + Text: + + Module: `strategy_shard.cpp:639 `_ + +.. error:: 8014 + + Text: cannot modify shard key for collection + + Module: `strategy_shard.cpp:687 `_ + +.. error:: 8015 + + Text: + + Module: `strategy_shard.cpp:909 `_ + +.. error:: 8016 + + Text: can't do this write op on sharded collection + + Module: `strategy_shard.cpp:1012 `_ + +.. error:: 8050 + + Text: can't update system.indexes + + Module: `strategy_shard.cpp:1050 `_ + +.. error:: 8051 + + Text: can't delete indexes on sharded collection yet + + Module: `strategy_shard.cpp:1053 `_ + +.. error:: 8052 + + Text: handleIndexWrite invalid write op + + Module: `strategy_shard.cpp:1057 `_ + +.. error:: 13390 + + Text: unrecognized command: + + Module: `strategy_single.cpp:89 `_ + +.. error:: 10427 + + Text: invalid writeback message + + Module: `writeback_listener.cpp:187 `_ + +.. error:: 13403 + + Text: didn't get writeback for: + + Module: `writeback_listener.cpp:126 `_ + +.. error:: 13641 + + Text: can't parse host [" << conn.getServerAddress() << "] + + Module: `writeback_listener.cpp:69 `_ + +.. error:: 14041 + + Text: got writeback waitfor for older id + + Module: `writeback_listener.cpp:104 `_ + +.. error:: 15884 + + Text: + + Module: `writeback_listener.cpp:364 `_ + +.. error:: 14811 + + Text: invalid bench dynamic piece: + + Module: `bench.cpp:308 `_ + +.. error:: 15931 + + Text: Authenticating to connection for _benchThread failed: + + Module: `bench.cpp:389 `_ + +.. error:: 15932 + + Text: Authenticating to connection for benchThread failed: + + Module: `bench.cpp:684 `_ + +.. error:: 16147 + + Text: Already finished. + + Module: `bench.cpp:223 `_ + +.. error:: 16152 + + Text: Cannot wait for state + + Module: `bench.cpp:233 `_ + +.. error:: 16157 + + Text: + + Module: `bench.cpp:200 `_ + +.. error:: 16158 + + Text: + + Module: `bench.cpp:202 `_ + +.. error:: 16164 + + Text: loopCommands config not supported", args["loopCommands + + Module: `bench.cpp:168 `_ + +.. error:: 10206 + + Text: + + Module: `engine.cpp:85 `_ + +.. error:: 10207 + + Text: compile failed + + Module: `engine.cpp:92 `_ + +.. error:: 10208 + + Text: need to have locallyConnected already + + Module: `engine.cpp:178 `_ + +.. error:: 10209 + + Text: name has to be a string: + + Module: `engine.cpp:199 `_ + +.. error:: 10210 + + Text: value has to be set + + Module: `engine.cpp:200 `_ + +.. error:: 10430 + + Text: invalid object id: not hex + + Module: `engine.cpp:170 `_ + +.. error:: 10448 + + Text: invalid object id: length + + Module: `engine.cpp:161 `_ + +.. error:: 13474 + + Text: no _getInterruptSpecCallback + + Module: `engine.h:202 `_ + +.. error:: 9004 + + Text: invoke failed: + + Module: `engine.h:92 `_ + +.. error:: 9005 + + Text: invoke failed: + + Module: `engine.h:101 `_ + +.. error:: 10212 + + Text: holder magic value is wrong + + Module: `engine_spidermonkey.cpp:81 `_ + +.. error:: 10214 + + Text: not a number + + Module: `engine_spidermonkey.cpp:230 `_ + +.. error:: 10215 + + Text: not an object + + Module: `engine_spidermonkey.cpp:318 `_ + +.. error:: 10216 + + Text: not a function + + Module: `engine_spidermonkey.cpp:327 `_ + +.. error:: 10217 + + Text: can't append field. name:" + name + " type: + + Module: `engine_spidermonkey.cpp:384 `_ + +.. error:: 10218 + + Text: not done: toval + + Module: `engine_spidermonkey.cpp:718 `_ + +.. error:: 10219 + + Text: object passed to getPropery is null + + Module: `engine_spidermonkey.cpp:745 `_ + +.. error:: 10220 + + Text: don't know what to do with this op + + Module: `engine_spidermonkey.cpp:845 `_ + +.. error:: 10221 + + Text: JS_NewRuntime failed + + Module: `engine_spidermonkey.cpp:1374 `_ + +.. error:: 10223 + + Text: deleted SMScope twice? + + Module: `engine_spidermonkey.cpp:1457 `_ + +.. error:: 10224 + + Text: already local connected + + Module: `engine_spidermonkey.cpp:1503 `_ + +.. error:: 10225 + + Text: already setup for external db + + Module: `engine_spidermonkey.cpp:1513 `_ + +.. error:: 10226 + + Text: connected to different db + + Module: `engine_spidermonkey.cpp:1515 `_ + +.. error:: 10227 + + Text: unknown type + + Module: `engine_spidermonkey.cpp:1584 `_ + +.. error:: 10228 + + Text: exec failed: + + Module: `engine_spidermonkey.cpp:1755 `_ + +.. error:: 10431 + + Text: JS_NewContext failed + + Module: `engine_spidermonkey.cpp:1433 `_ + +.. error:: 10432 + + Text: JS_NewObject failed for global + + Module: `engine_spidermonkey.cpp:1440 `_ + +.. error:: 10433 + + Text: js init failed + + Module: `engine_spidermonkey.cpp:1442 `_ + +.. error:: 13072 + + Text: JS_NewObject failed: + + Module: `engine_spidermonkey.cpp:40 `_ + +.. error:: 13076 + + Text: recursive toObject + + Module: `engine_spidermonkey.cpp:151 `_ + +.. error:: 13615 + + Text: JS allocation failed, either memory leak or using too much memory + + Module: `engine_spidermonkey.cpp:44 `_ + +.. error:: 16268 + + Text: error converting UTF-16 string to UTF-8 + + Module: `engine_spidermonkey.cpp:201 `_ + +.. error:: 16269 + + Text: + + Module: `engine_spidermonkey.cpp:306 `_ + +.. error:: 16270 + + Text: conversion from string to JavaScript value failed + + Module: `engine_spidermonkey.cpp:526 `_ + +.. error:: 16271 + + Text: + + Module: `engine_spidermonkey.cpp:799 `_ + +.. error:: 16272 + + Text: + + Module: `engine_spidermonkey.cpp:856 `_ + +.. error:: 16273 + + Text: + + Module: `engine_spidermonkey.cpp:880 `_ + +.. error:: 16274 + + Text: + + Module: `engine_spidermonkey.cpp:931 `_ + +.. error:: 16275 + + Text: + + Module: `engine_spidermonkey.cpp:956 `_ + +.. error:: 16276 + + Text: + + Module: `engine_spidermonkey.cpp:978 `_ + +.. error:: 16277 + + Text: + + Module: `engine_spidermonkey.cpp:1082 `_ + +.. error:: 16278 + + Text: + + Module: `engine_spidermonkey.cpp:1113 `_ + +.. error:: 16279 + + Text: + + Module: `engine_spidermonkey.cpp:1144 `_ + +.. error:: 16280 + + Text: + + Module: `engine_spidermonkey.cpp:1172 `_ + +.. error:: 16281 + + Text: + + Module: `engine_spidermonkey.cpp:1221 `_ + +.. error:: 16282 + + Text: + + Module: `engine_spidermonkey.cpp:1284 `_ + +.. error:: 16283 + + Text: + + Module: `engine_spidermonkey.cpp:1306 `_ + +.. error:: 16284 + + Text: + + Module: `engine_spidermonkey.cpp:1357 `_ + +.. error:: 16285 + + Text: + + Module: `engine_spidermonkey.cpp:1788 `_ + +.. error:: 16286 + + Text: + + Module: `engine_spidermonkey.cpp:1817 `_ + +.. error:: 16287 + + Text: + + Module: `engine_spidermonkey.cpp:1968 `_ + +.. error:: 10230 + + Text: can't handle external yet + + Module: `engine_v8.cpp:646 `_ + +.. error:: 10231 + + Text: not an object + + Module: `engine_v8.cpp:691 `_ + +.. error:: 10232 + + Text: not a func + + Module: `engine_v8.cpp:753 `_ + +.. error:: 10233 + + Text: + + Module: `engine_v8.cpp:863 `_ + +.. error:: 10234 + + Text: + + Module: `engine_v8.cpp:890 `_ + +.. error:: 12509 + + Text: don't know what this is: + + Module: `engine_v8.cpp:654 `_ + +.. error:: 12510 + + Text: externalSetup already called, can't call externalSetup + + Module: `engine_v8.cpp:955 `_ + +.. error:: 12511 + + Text: localConnect called with a different name previously + + Module: `engine_v8.cpp:959 `_ + +.. error:: 12512 + + Text: localConnect already called, can't call externalSetup + + Module: `engine_v8.cpp:978 `_ + +.. error:: 13475 + + Text: + + Module: `engine_v8.cpp:873 `_ + +.. error:: 10235 + + Text: no cursor! + + Module: `sm_db.cpp:75 `_ + +.. error:: 10236 + + Text: no args to internal_cursor_constructor + + Module: `sm_db.cpp:81 `_ + +.. error:: 10239 + + Text: no connection! + + Module: `sm_db.cpp:279 `_ + +.. error:: 10245 + + Text: no connection! + + Module: `sm_db.cpp:452 `_ + +.. error:: 10248 + + Text: no connection! + + Module: `sm_db.cpp:492 `_ + +.. error:: 10251 + + Text: no connection! + + Module: `sm_db.cpp:554 `_ + +.. error:: 16288 + + Text: + + Module: `sm_db.cpp:92 `_ + +.. error:: 16289 + + Text: + + Module: `sm_db.cpp:112 `_ + +.. error:: 16290 + + Text: + + Module: `sm_db.cpp:129 `_ + +.. error:: 16291 + + Text: + + Module: `sm_db.cpp:148 `_ + +.. error:: 16292 + + Text: + + Module: `sm_db.cpp:173 `_ + +.. error:: 16293 + + Text: + + Module: `sm_db.cpp:219 `_ + +.. error:: 16294 + + Text: + + Module: `sm_db.cpp:257 `_ + +.. error:: 16295 + + Text: + + Module: `sm_db.cpp:272 `_ + +.. error:: 16296 + + Text: + + Module: `sm_db.cpp:298 `_ + +.. error:: 16297 + + Text: + + Module: `sm_db.cpp:349 `_ + +.. error:: 16298 + + Text: + + Module: `sm_db.cpp:434 `_ + +.. error:: 16299 + + Text: + + Module: `sm_db.cpp:475 `_ + +.. error:: 16300 + + Text: + + Module: `sm_db.cpp:537 `_ + +.. error:: 16301 + + Text: + + Module: `sm_db.cpp:578 `_ + +.. error:: 16302 + + Text: + + Module: `sm_db.cpp:617 `_ + +.. error:: 16303 + + Text: + + Module: `sm_db.cpp:662 `_ + +.. error:: 16304 + + Text: + + Module: `sm_db.cpp:729 `_ + +.. error:: 16305 + + Text: + + Module: `sm_db.cpp:768 `_ + +.. error:: 16306 + + Text: + + Module: `sm_db.cpp:816 `_ + +.. error:: 16307 + + Text: + + Module: `sm_db.cpp:857 `_ + +.. error:: 16308 + + Text: + + Module: `sm_db.cpp:902 `_ + +.. error:: 16309 + + Text: + + Module: `sm_db.cpp:1025 `_ + +.. error:: 16310 + + Text: + + Module: `sm_db.cpp:1053 `_ + +.. error:: 16311 + + Text: + + Module: `sm_db.cpp:1078 `_ + +.. error:: 16312 + + Text: + + Module: `sm_db.cpp:1109 `_ + +.. error:: 16313 + + Text: + + Module: `sm_db.cpp:1129 `_ + +.. error:: 16314 + + Text: + + Module: `sm_db.cpp:1174 `_ + +.. error:: 16315 + + Text: + + Module: `sm_db.cpp:1197 `_ + +.. error:: 16316 + + Text: + + Module: `sm_db.cpp:1253 `_ + +.. error:: 16317 + + Text: + + Module: `sm_db.cpp:1305 `_ + +.. error:: 16318 + + Text: + + Module: `sm_db.cpp:1323 `_ + +.. error:: 16319 + + Text: + + Module: `sm_db.cpp:1355 `_ + +.. error:: 16320 + + Text: + + Module: `sm_db.cpp:1414 `_ + +.. error:: 16321 + + Text: + + Module: `sm_db.cpp:1432 `_ + +.. error:: 16322 + + Text: + + Module: `sm_db.cpp:1456 `_ + +.. error:: 16323 + + Text: + + Module: `sm_db.cpp:1540 `_ + +.. error:: 16324 + + Text: + + Module: `sm_db.cpp:1567 `_ + +.. error:: 16396 + + Text: + + Module: `sm_db.cpp:384 `_ + +.. error:: 10261 + + Text: + + Module: `utils.cpp:27 `_ + +.. error:: 16259 + + Text: + + Module: `utils.cpp:49 `_ + +.. error:: 10258 + + Text: processinfo not supported + + Module: `shell_utils.cpp:80 `_ + +.. error:: 12513 + + Text: connect failed", scope.exec( _dbConnect , "(connect) + + Module: `shell_utils.cpp:151 `_ + +.. error:: 12514 + + Text: login failed", scope.exec( _dbAuth , "(auth) + + Module: `shell_utils.cpp:154 `_ + +.. error:: 12518 + + Text: srand requires a single numeric argument + + Module: `shell_utils.cpp:97 `_ + +.. error:: 12519 + + Text: rand accepts no arguments + + Module: `shell_utils.cpp:108 `_ + +.. error:: 12597 + + Text: need to specify 1 argument + + Module: `shell_utils.cpp:55 `_ + +.. error:: 13006 + + Text: isWindows accepts no arguments + + Module: `shell_utils.cpp:119 `_ + +.. error:: 10257 + + Text: need to specify 1 argument to listFiles + + Module: `shell_utils_extended.cpp:45 `_ + +.. error:: 12581 + + Text: + + Module: `shell_utils_extended.cpp:54 `_ + +.. error:: 13301 + + Text: cat() : file to big to load as a variable + + Module: `shell_utils_extended.cpp:138 `_ + +.. error:: 13411 + + Text: getHostName accepts no arguments + + Module: `shell_utils_extended.cpp:204 `_ + +.. error:: 13619 + + Text: fuzzFile takes 2 arguments + + Module: `shell_utils_extended.cpp:189 `_ + +.. error:: 13620 + + Text: couldn't open file to fuzz + + Module: `shell_utils_extended.cpp:192 `_ + +.. error:: 14042 + + Text: + + Module: `shell_utils_launcher.cpp:376 `_ + +.. error:: 15852 + + Text: stopMongoByPid needs a number + + Module: `shell_utils_launcher.cpp:712 `_ + +.. error:: 15853 + + Text: stopMongo needs a number + + Module: `shell_utils_launcher.cpp:703 `_ + +.. error:: 16363 + + Text: _id is not a number", args["_id + + Module: `docgenerator.cpp:27 `_ + +.. error:: 16364 + + Text: blob is not a string", (args["blob + + Module: `docgenerator.cpp:30 `_ + +.. error:: 16365 + + Text: nestedDoc is not an object", (args["nestedDoc + + Module: `docgenerator.cpp:33 `_ + +.. error:: 16366 + + Text: list is not an array", args["list + + Module: `docgenerator.cpp:36 `_ + +.. error:: 16367 + + Text: list member is not a string + + Module: `docgenerator.cpp:39 `_ + +.. error:: 16368 + + Text: counter is not a number", args["counter + + Module: `docgenerator.cpp:43 `_ + +.. error:: 10262 + + Text: couldn't open file + + Module: `dump.cpp:126 `_ + +.. error:: 14035 + + Text: couldn't write to file + + Module: `dump.cpp:78 `_ + +.. error:: 15933 + + Text: Couldn't open file: + + Module: `dump.cpp:141 `_ + +.. error:: 10263 + + Text: unknown error reading file + + Module: `import.cpp:131 `_ + +.. error:: 13289 + + Text: Invalid UTF8 character detected + + Module: `import.cpp:141 `_ + +.. error:: 13293 + + Text: BSON representation of supplied JSON array is too large: + + Module: `import.cpp:162 `_ + +.. error:: 13295 + + Text: JSONArray file too large + + Module: `import.cpp:116 `_ + +.. error:: 13504 + + Text: BSON representation of supplied JSON is too large: + + Module: `import.cpp:196 `_ + +.. error:: 15854 + + Text: CSV file ends while inside quoted field + + Module: `import.cpp:223 `_ + +.. error:: 16329 + + Text: read error, or input line too long (max length: + + Module: `import.cpp:127 `_ + +.. error:: 16265 + + Text: + + Module: `loadgenerator.cpp:111 `_ + +.. error:: 16266 + + Text: + + Module: `loadgenerator.cpp:113 `_ + +.. error:: 16267 + + Text: + + Module: `loadgenerator.cpp:130 `_ + +.. error:: 15934 + + Text: JSON object size didn't match file size + + Module: `restore.cpp:389 `_ + +.. error:: 15935 + + Text: user does not have write access + + Module: `restore.cpp:83 `_ + +.. error:: 15936 + + Text: Creating collection " + _curns + " failed. Errmsg: " + info["errmsg + + Module: `restore.cpp:453 `_ + +.. error:: 10266 + + Text: can't use --source twice + + Module: `sniffer.cpp:480 `_ + +.. error:: 10267 + + Text: source needs more args + + Module: `sniffer.cpp:481 `_ + +.. error:: 10264 + + Text: invalid object size: + + Module: `tool.cpp:496 `_ + +.. error:: 10265 + + Text: counts don't match + + Module: `tool.cpp:532 `_ + +.. error:: 9997 + + Text: authentication failed: + + Module: `tool.cpp:435 `_ + +.. error:: 9998 + + Text: you need to specify fields + + Module: `tool.cpp:398 `_ + +.. error:: 9999 + + Text: file: " + fn ) + " doesn't exist + + Module: `tool.cpp:377 `_ + +.. error:: 10162 + + Text: + + Module: `unittest.cpp:241 `_ + +.. error:: 16145 + + Text: + + Module: `unittest.cpp:204 `_ + +.. error:: 13524 + + Text: out of memory AlignedBuilder + + Module: `alignedbuilder.cpp:109 `_ + +.. error:: 13584 + + Text: out of memory AlignedBuilder + + Module: `alignedbuilder.cpp:27 `_ + +.. error:: 10437 + + Text: unknown exception + + Module: `assert_util.h:240 `_ + +.. error:: 123 + + Text: blah + + Module: `assert_util.h:72 `_ + +.. error:: 13294 + + Text: + + Module: `assert_util.h:238 `_ + +.. error:: 14043 + + Text: + + Module: `assert_util.h:249 `_ + +.. error:: 14044 + + Text: unknown exception + + Module: `assert_util.h:251 `_ + +.. error:: 16199 + + Text: + + Module: `assert_util.h:200 `_ + +.. error:: 13643 + + Text: backgroundjob already started: + + Module: `background.cpp:55 `_ + +.. error:: 10270 + + Text: invalid base64 + + Module: `base64.cpp:79 `_ + +.. error:: 14050 + + Text: List1: item to orphan not in list + + Module: `list.h:84 `_ + +.. error:: 16137 + + Text: + + Module: `qlock.h:319 `_ + +.. error:: 16138 + + Text: + + Module: `qlock.h:325 `_ + +.. error:: 16139 + + Text: + + Module: `qlock.h:336 `_ + +.. error:: 16140 + + Text: + + Module: `qlock.h:343 `_ + +.. error:: 16200 + + Text: + + Module: `qlock.h:116 `_ + +.. error:: 16201 + + Text: + + Module: `qlock.h:122 `_ + +.. error:: 16202 + + Text: + + Module: `qlock.h:207 `_ + +.. error:: 16203 + + Text: + + Module: `qlock.h:218 `_ + +.. error:: 16204 + + Text: + + Module: `qlock.h:219 `_ + +.. error:: 16205 + + Text: + + Module: `qlock.h:220 `_ + +.. error:: 16206 + + Text: + + Module: `qlock.h:238 `_ + +.. error:: 16207 + + Text: + + Module: `qlock.h:239 `_ + +.. error:: 16208 + + Text: + + Module: `qlock.h:240 `_ + +.. error:: 16209 + + Text: + + Module: `qlock.h:251 `_ + +.. error:: 16210 + + Text: + + Module: `qlock.h:252 `_ + +.. error:: 16211 + + Text: + + Module: `qlock.h:253 `_ + +.. error:: 16212 + + Text: + + Module: `qlock.h:263 `_ + +.. error:: 16214 + + Text: + + Module: `qlock.h:274 `_ + +.. error:: 16215 + + Text: + + Module: `qlock.h:275 `_ + +.. error:: 16216 + + Text: + + Module: `qlock.h:284 `_ + +.. error:: 16217 + + Text: + + Module: `qlock.h:285 `_ + +.. error:: 16219 + + Text: + + Module: `qlock.h:292 `_ + +.. error:: 16220 + + Text: + + Module: `qlock.h:293 `_ + +.. error:: 16221 + + Text: + + Module: `qlock.h:294 `_ + +.. error:: 16222 + + Text: + + Module: `qlock.h:295 `_ + +.. error:: 10438 + + Text: ReadFile error - truncated file? + + Module: `file.h:117 `_ + +.. error:: 10439 + + Text: + + Module: `file_allocator.cpp:294 `_ + +.. error:: 10440 + + Text: + + Module: `file_allocator.cpp:178 `_ + +.. error:: 10441 + + Text: Unable to allocate new file of size + + Module: `file_allocator.cpp:182 `_ + +.. error:: 10442 + + Text: Unable to allocate new file of size + + Module: `file_allocator.cpp:184 `_ + +.. error:: 10443 + + Text: FileAllocator: file write failed + + Module: `file_allocator.cpp:199 `_ + +.. error:: 13653 + + Text: + + Module: `file_allocator.cpp:316 `_ + +.. error:: 16062 + + Text: fstatfs failed: + + Module: `file_allocator.cpp:142 `_ + +.. error:: 16063 + + Text: ftruncate failed: + + Module: `file_allocator.cpp:160 `_ + +.. error:: 10268 + + Text: LoggingManager already started + + Module: `log.cpp:72 `_ + +.. error:: 14036 + + Text: couldn't write to log file + + Module: `log.cpp:112 `_ + +.. error:: 13514 + + Text: + + Module: `logfile.cpp:251 `_ + +.. error:: 13515 + + Text: + + Module: `logfile.cpp:237 `_ + +.. error:: 13516 + + Text: couldn't open file " << name << " for writing + + Module: `logfile.cpp:175 `_ + +.. error:: 13517 + + Text: error appending to file + + Module: `logfile.cpp:127 `_ + +.. error:: 13518 + + Text: couldn't open file " << name << " for writing + + Module: `logfile.cpp:71 `_ + +.. error:: 13519 + + Text: error 87 appending to file - invalid parameter + + Module: `logfile.cpp:125 `_ + +.. error:: 15871 + + Text: Couldn't truncate file: + + Module: `logfile.cpp:85 `_ + +.. error:: 15873 + + Text: Couldn't truncate file: + + Module: `logfile.cpp:193 `_ + +.. error:: 16142 + + Text: + + Module: `logfile.cpp:224 `_ + +.. error:: 16143 + + Text: + + Module: `logfile.cpp:225 `_ + +.. error:: 16144 + + Text: + + Module: `logfile.cpp:223 `_ + +.. error:: 13468 + + Text: can't create file already exists + + Module: `mmap.cpp:48 `_ + +.. error:: 13617 + + Text: MongoFile : multiple opens of same filename + + Module: `mmap.cpp:198 `_ + +.. error:: 15922 + + Text: couldn't get file length when opening mapping + + Module: `mmap.cpp:72 `_ + +.. error:: 15923 + + Text: couldn't get file length when opening mapping + + Module: `mmap.cpp:82 `_ + +.. error:: 16325 + + Text: + + Module: `mmap.cpp:35 `_ + +.. error:: 16326 + + Text: + + Module: `mmap.cpp:36 `_ + +.. error:: 16327 + + Text: + + Module: `mmap.cpp:38 `_ + +.. error:: 10446 + + Text: mmap: can't map area of size 0 file: + + Module: `mmap_posix.cpp:100 `_ + +.. error:: 10447 + + Text: map file alloc failed, wanted: " << length << " filelen: + + Module: `mmap_posix.cpp:110 `_ + +.. error:: 13056 + + Text: Async flushing not supported on windows + + Module: `mmap_win.cpp:388 `_ + +.. error:: 16148 + + Text: + + Module: `mmap_win.cpp:325 `_ + +.. error:: 16165 + + Text: + + Module: `mmap_win.cpp:117 `_ + +.. error:: 16166 + + Text: + + Module: `mmap_win.cpp:209 `_ + +.. error:: 16167 + + Text: + + Module: `mmap_win.cpp:288 `_ + +.. error:: 16168 + + Text: + + Module: `mmap_win.cpp:308 `_ + +.. error:: 16225 + + Text: + + Module: `mmap_win.cpp:186 `_ + +.. error:: 16362 + + Text: + + Module: `mmap_win.cpp:264 `_ + +.. error:: 16387 + + Text: + + Module: `mmap_win.cpp:371 `_ + +.. error:: 13095 + + Text: HostAndPort: bad port # + + Module: `hostandport.h:164 `_ + +.. error:: 13110 + + Text: HostAndPort: host is empty + + Module: `hostandport.h:160 `_ + +.. error:: 10271 + + Text: invalid url" , url.find( "http:// + + Module: `httpclient.cpp:47 `_ + +.. error:: 15862 + + Text: no ssl support + + Module: `httpclient.cpp:108 `_ + +.. error:: 15863 + + Text: listen(): invalid socket? + + Module: `listen.cpp:134 `_ + +.. error:: 13273 + + Text: single data buffer expected + + Module: `message.h:169 `_ + +.. error:: 16141 + + Text: cannot translate opcode + + Module: `message.h:58 `_ + +.. error:: 10273 + + Text: _cur not empty! pipelining requests not supported + + Module: `message_server_asio.cpp:110 `_ + +.. error:: 10274 + + Text: pipelining requests doesn't work yet + + Module: `message_server_asio.cpp:171 `_ + +.. error:: 10275 + + Text: multiple PortMessageServer not supported + + Module: `message_server_port.cpp:120 `_ + +.. error:: 13079 + + Text: path to unix socket too long + + Module: `sock.cpp:158 `_ + +.. error:: 13080 + + Text: no unix socket support on windows + + Module: `sock.cpp:156 `_ + +.. error:: 13082 + + Text: getnameinfo error + + Module: `sock.cpp:244 `_ + +.. error:: 15861 + + Text: can't create SSL + + Module: `sock.cpp:483 `_ + +.. error:: 15864 + + Text: can't create SSL Context: + + Module: `sock.cpp:433 `_ + +.. error:: 15865 + + Text: + + Module: `sock.cpp:441 `_ + +.. error:: 15866 + + Text: + + Module: `sock.cpp:447 `_ + +.. error:: 13600 + + Text: + + Module: `paths.h:59 `_ + +.. error:: 13646 + + Text: stat() failed for file: " << path << " + + Module: `paths.h:88 `_ + +.. error:: 13650 + + Text: Couldn't open directory '" << dir.string() << "' for flushing: + + Module: `paths.h:116 `_ + +.. error:: 13651 + + Text: Couldn't fsync directory '" << dir.string() << "': + + Module: `paths.h:120 `_ + +.. error:: 13652 + + Text: Couldn't find parent dir for file: + + Module: `paths.h:104 `_ + +.. error:: 13538 + + Text: + + Module: `processinfo_linux2.cpp:48 `_ + +.. error:: 13305 + + Text: could not convert string to long long + + Module: `text.cpp:136 `_ + +.. error:: 13306 + + Text: could not convert string to long long + + Module: `text.cpp:145 `_ + +.. error:: 13307 + + Text: cannot convert empty string to long long + + Module: `text.cpp:131 `_ + +.. error:: 13310 + + Text: could not convert string to long long + + Module: `text.cpp:149 `_ + +.. error:: 16091 + + Text: + + Module: `text.cpp:181 `_ + +.. error:: 16226 + + Text: + + Module: `time_support.cpp:60 `_ + +.. error:: 16227 + + Text: + + Module: `time_support.cpp:70 `_ + +.. error:: 16228 + + Text: + + Module: `time_support.cpp:102 `_ + +.. error:: 16160 + + Text: + + Module: `timer-posixclock-inl.h:36 `_ + +.. error:: 16161 + + Text: + + Module: `timer-win32-inl.h:37 `_ + +.. error:: 16162 + + Text: + + Module: `timer.cpp:54 `_ + +.. error:: 16163 + + Text: + + Module: `timer.cpp:55 `_ + +.. error:: 16154 + + Text: namespace does not exist + + Module: `touch_pages.cpp:45 `_ + +.. error:: 16237 + + Text: readahead failed on fd + + Module: `touch_pages.cpp:75 `_ + +.. error:: 16238 + + Text: can't fetch extent file structure + + Module: `touch_pages.cpp:49 `_ + From 8f921d7b0b6b41febe5235d57427ab17e708f080 Mon Sep 17 00:00:00 2001 From: Ed Costello Date: Thu, 16 Aug 2012 17:37:21 -0400 Subject: [PATCH 3/8] DOCS335 checkpointon errorcodes.py changes for docs --- bin/errorcodes.py | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/bin/errorcodes.py b/bin/errorcodes.py index 558fd3dc092..d155405a4db 100755 --- a/bin/errorcodes.py +++ b/bin/errorcodes.py @@ -165,9 +165,6 @@ def genErrorOutput(): # out.write( f + "\n----\n" ) # prev = f - if f != prev: - out.write - url = "https://github.com/mongodb/mongo/blob/master/" + f + "#L" + str(l) out.write("\n.. error:: {}\n\n Text: {}\n\n".format(num,getBestMessage( line , str(num)))) @@ -179,6 +176,32 @@ def genErrorOutput(): out.write( "\n" ) out.close() + +def genErrorOutputCSV(): + if os.path.exists("/tmp/errors.csv"): + i=open("/tmp/errors.csv","r"); + + out = open("/tmp/errors.csv", 'wb') + out.write('"Error","Text","Module","Line"' + "\n") + + prev = "" + seen = {} + + codes.sort( key=lambda x: x[0]+"-"+x[3] ) + for f,l,line,num in codes: + if num in seen: + continue + seen[num] = True + + if f.startswith( "./"): + f=f[2:] + fn = f.rpartition("/")[2] + + out.write('"{}","{}","{}","{}"'.format(num, getBestMessage(line , str(num)),f,l)) + + out.write("\n") + + out.close() if __name__ == "__main__": ok = checkErrorCodes() @@ -186,4 +209,5 @@ def genErrorOutput(): print( "next: " + str( getNextCode() ) ) if ok: genErrorOutput() + genErrorOutputCSV() From 405be967381f6e265315398bd0f27df2107594f2 Mon Sep 17 00:00:00 2001 From: Ed Costello Date: Fri, 17 Aug 2012 17:09:56 -0400 Subject: [PATCH 4/8] DOCS335 checkpoint --- bin/errorcodes.py | 179 +- draft/messages/errors.txt | 7729 +++++++++++++++++++------------------ 2 files changed, 4021 insertions(+), 3887 deletions(-) diff --git a/bin/errorcodes.py b/bin/errorcodes.py index d155405a4db..3db1f338de4 100755 --- a/bin/errorcodes.py +++ b/bin/errorcodes.py @@ -5,9 +5,36 @@ import re import utils +sourceroot = "/Users/epc/Documents/github/epc/mongo" +errorsrst = "/Users/epc/Documents/github/epc/docs/draft/messages/errors.txt" +errorsCSV = "/Users/epc/Documents/github/epc/docs/draft/messages/errors.csv" +errorsTitle = "MongoDB Error and Message Codes" assertNames = [ "uassert" , "massert", "fassert", "fassertFailed" ] +severityTexts = dict({ + 'fassert':'Abort', + 'fasserted' : 'Abort', + 'fassertFailed': 'Abort', + 'massert':'Info', + 'masserted': 'Info', + 'msgasserted': 'Info', + 'wassert':'Warning', + 'wasserted': 'Warning', + }) + +exceptionTexts = dict({ + 'uassert': 'UserException', + 'uasserted': 'UserException', + 'UserException' : 'UserException', + 'dbexception': 'DBException', + 'DBException': 'DBException', + 'DBexception': 'DBException', + 'MsgException': 'MsgException', + 'MSGException': 'MsgException', + 'MsgAssertionException': 'MsgAssertionException', + }) + def assignErrorCodes(): cur = 10000 for root in assertNames: @@ -31,18 +58,19 @@ def assignErrorCodes(): codes = [] -def readErrorCodes( callback, replaceZero = False ): +def XreadErrorCodes( callback, replaceZero = False ): quick = [ "assert" , "Exception"] ps = [ re.compile( "(([umsgf]asser(t|ted))) *\(( *)(\d+)" ) , re.compile( "((User|Msg|MsgAssertion)Exceptio(n))\(( *)(\d+)" ), + re.compile( "streamNotGood"), re.compile( "((fassertFailed)()) *\(( *)(\d+)" ) ] bad = [ re.compile( "\sassert *\(" ) ] - - for x in utils.getAllSourceFiles(): + arr=[] + for x in utils.getAllSourceFiles(arr,sourceroot): needReplace = [False] lines = [] @@ -101,6 +129,88 @@ def repl( m ): of.close() os.remove(x) os.rename( x + ".tmp", x ) + + +def readErrorCodes( callback, replaceZero = False ): + + quick = [ "assert" , "Exception"] + +# ps = [ re.compile( "(([umsgf]asser(t|ted))) *\(( *)(\d+)" ) , +# re.compile( "((DB|User|Msg|MsgAssertion)Exceptio(n))\(( *)(\d+)" ), +# re.compile( "((fassertFailed)()) *\(( *)(\d+)" ) +# ] + ps = [ re.compile( "(([wum]asser(t|ted))) *\(( *)(\d+) *,? *(\S+) *,?" ) , + re.compile( "((msgasser(t|ted))) *\(( *)(\d+) *,? *(\S+) *,?" ) , + re.compile( "((fasser(t|ted))) *\(( *)(\d+)()" ) , + re.compile( "((DB|User|Msg|MsgAssertion)Exceptio(n))\(( *)(\d+) *,? *(\S+) *,?" ), + re.compile( "((fassertFailed)()) *\(( *)(\d+)()" ) + ] + + bad = [ re.compile( "\sassert *\(" ) ] + arr=[] + for x in utils.getAllSourceFiles(arr,sourceroot): + + needReplace = [False] + lines = [] + lastCodes = [0] + lineNum = 1 + + for line in open( x ): + + found = False + for zz in quick: + if line.find( zz ) >= 0: + found = True + break + + if found: + + if x.find( "src/mongo/" ) >= 0: + for b in bad: + if len(b.findall( line )) > 0: + print( x ) + print( line ) + raise Exception( "you can't use a bare assert" ) + + for p in ps: + + def repl( m ): + m = m.groups() + severity = m[0] + start = m[0] + spaces = m[3] + code = m[4] + message = m[5] +# if code == '0' and replaceZero : +# code = getNextCode( lastCodes ) +# lastCodes.append( code ) +# code = str( code ) +# needReplace[0] = True +# +# print( "Adding code " + code + " to line " + x + ":" + str( lineNum ) ) +# +# else : + codes.append( ( x , lineNum , line , code, message, severity ) ) + print("x(" + x + ") lineNum(" + str(lineNum) + ") line(" + line + ") spaces(" + spaces + ") code(" + code + ")") + callback( x , lineNum , line , code ) + + return start + "(" + spaces + code + + line = re.sub( p, repl, line ) + print("line(" + line + ")") + # end if ps loop + +# if replaceZero : lines.append( line ) + lineNum = lineNum + 1 +# +# if replaceZero and needReplace[0] : +# print( "Replacing file " + x ) +# of = open( x + ".tmp", 'w' ) +# of.write( "".join( lines ) ) +# of.close() +# os.remove(x) +# os.rename( x + ".tmp", x ) + def getNextCode( lastCodes = [0] ): @@ -122,10 +232,11 @@ def checkDups( fileName , lineNum , line , code ): print( "%s:%d:%s %s" % seen[code] ) errors.append( seen[code] ) seen[code] = ( fileName , lineNum , line , code ) - readErrorCodes( checkDups, True ) + readErrorCodes( checkDups,False ) return len( errors ) == 0 def getBestMessage( err , start ): + #print(err + "\n") err = err.partition( start )[2] if not err: return "" @@ -139,56 +250,78 @@ def getBestMessage( err , start ): def genErrorOutput(): - if os.path.exists( "/tmp/errors.md" ): - i = open( "/tmp/errors.txt" , "r" ) - - - out = open( "/tmp/errors.txt" , 'wb' ) - out.write( "===================\nMongoDB Error Codes\n===================\n") + if os.path.exists(errorsrst ): + i = open(errorsrst , "r" ) + out = open( errorsrst , 'wb' ) + titleLen = len(errorsTitle) + out.write(":orphan:\n") + out.write("=" * titleLen + "\n") + out.write(errorsTitle + "\n") + out.write("=" * titleLen + "\n") + out.write("\n\n.. default-domain:: mongodb\n\n"); prev = "" seen = {} + sourcerootOffset = len(sourceroot) + codes.sort( key=lambda x: x[0]+"-"+x[3] ) - for f,l,line,num in codes: + for f,l,line,num,message,severity in codes: if num in seen: continue seen[num] = True - if f.startswith( "./" ): - f = f[2:] - fn = f.rpartition("/")[2] +# if f.startswith( "./" ): + if f.startswith(sourceroot): + f = f[sourcerootOffset+1:] + + fn = f.rpartition("/")[2] # if f != prev: # out.write( "\n\n" ) # out.write( f + "\n----\n" ) # prev = f - url = "https://github.com/mongodb/mongo/blob/master/" + f + "#L" + str(l) - - out.write("\n.. error:: {}\n\n Text: {}\n\n".format(num,getBestMessage( line , str(num)))) + url = ":source:`" + f + "#L" + str(l) + "`" + +# out.write("\n.. error:: {}\n\n Text: {}\n\n".format(num,getBestMessage( line , str(num)))) # out.write(" Module: {}\n\n".format(f)) - out.write(" Module: `{}:{} <{}>`_\n".format(fn,l,url)) +# out.write(" :module: `{}:{} <{}>`_\n".format(fn,l,url)) # out.write(" .. seealso:: `{}:{} <{}>`_\n".format(f,l, url)) - # out.write( "* " + str(num) + " [code](" + url + ") " + getBestMessage( line , str(num) ) + "\n" ) + + out.write(".. error:: {}\n\n".format(num)) + if message: + out.write(" :message: {}\n".format(message)) + else: + out.write(" :message: {}\n".format(getBestMessage( line , str(num)))) + if severity: + if severity in severityTexts: + out.write(" :severity: {}\n".format(severityTexts[severity])) + elif severity in exceptionTexts: + out.write(" :throws: {}\n".format(exceptionTexts[severity])) + else: + out.write(" :severity: {}\n".format(severity)) + + out.write(" :module: {}\n\n".format(url) ) + out.write( "\n" ) out.close() def genErrorOutputCSV(): - if os.path.exists("/tmp/errors.csv"): - i=open("/tmp/errors.csv","r"); + if os.path.exists(errorsCSV): + i=open(errorsCSV,"r"); - out = open("/tmp/errors.csv", 'wb') + out = open(errorsCSV, 'wb') out.write('"Error","Text","Module","Line"' + "\n") prev = "" seen = {} codes.sort( key=lambda x: x[0]+"-"+x[3] ) - for f,l,line,num in codes: + for f,l,line,num,message,severity in codes: if num in seen: continue seen[num] = True diff --git a/draft/messages/errors.txt b/draft/messages/errors.txt index 340f0884b02..87061f3d641 100644 --- a/draft/messages/errors.txt +++ b/draft/messages/errors.txt @@ -1,7730 +1,7731 @@ -=================== -MongoDB Error Codes -=================== +:orphan: +=============================== +MongoDB Error and Message Codes +=============================== .. default-domain:: mongodb - .. error:: 10065 - Text: - - Module: `bson-inl.h:178 `_ + :message: ss.str() + :throws: UserException + :module: :source:`src/mongo/bson/bson-inl.h#L178` .. error:: 10313 - Text: Insufficient bytes to calculate element size - - Module: `bson-inl.h:551 `_ + :message: "Insufficient + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L551` .. error:: 10314 - Text: Insufficient bytes to calculate element size - - Module: `bson-inl.h:555 `_ + :message: "Insufficient + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L555` .. error:: 10315 - Text: Insufficient bytes to calculate element size - - Module: `bson-inl.h:560 `_ + :message: "Insufficient + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L560` .. error:: 10316 - Text: Insufficient bytes to calculate element size - - Module: `bson-inl.h:565 `_ + :message: "Insufficient + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L565` .. error:: 10317 - Text: Insufficient bytes to calculate element size - - Module: `bson-inl.h:569 `_ + :message: "Insufficient + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L569` .. error:: 10318 - Text: Invalid regex string - - Module: `bson-inl.h:575 `_ + :message: "Invalid + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L575` .. error:: 10319 - Text: Invalid regex options string - - Module: `bson-inl.h:585 `_ + :message: "Invalid + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L585` .. error:: 10320 - Text: - - Module: `bson-inl.h:659 `_ + :message: msg.c_str(),false); + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L659` .. error:: 10321 - Text: - - Module: `bson-inl.h:496 `_ + :message: buf.str() + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L496` .. error:: 10322 - Text: Invalid CodeWScope size - - Module: `bson-inl.h:501 `_ + :message: "Invalid + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L501` .. error:: 10323 - Text: Invalid CodeWScope string size - - Module: `bson-inl.h:503 `_ + :message: "Invalid + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L503` .. error:: 10324 - Text: Invalid CodeWScope string size - - Module: `bson-inl.h:504 `_ + :message: "Invalid + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L504` .. error:: 10325 - Text: Invalid CodeWScope size - - Module: `bson-inl.h:507 `_ + :message: "Invalid + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L507` .. error:: 10326 - Text: Invalid CodeWScope object size - - Module: `bson-inl.h:509 `_ + :message: "Invalid + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L509` .. error:: 10327 - Text: Object does not end with EOO - - Module: `bson-inl.h:458 `_ + :message: "Object + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L458` .. error:: 10328 - Text: Invalid element size - - Module: `bson-inl.h:460 `_ + :message: "Invalid + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L460` .. error:: 10329 - Text: Element too large - - Module: `bson-inl.h:461 `_ + :message: "Element + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L461` .. error:: 10330 - Text: Element extends past end of object - - Module: `bson-inl.h:463 `_ + :message: "Element + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L463` .. error:: 10331 - Text: EOO Before end of object - - Module: `bson-inl.h:468 `_ + :message: "EOO + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L468` .. error:: 10334 - Text: - - Module: `bson-inl.h:217 `_ + :message: ss.str() + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L217` .. error:: 13655 - Text: - - Module: `bson-inl.h:593 `_ + :message: msg.c_str(),false); + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L593` .. error:: 16150 - Text: - - Module: `bson-inl.h:680 `_ + :message: s.str(), + :throws: UserException + :module: :source:`src/mongo/bson/bson-inl.h#L680` .. error:: 10062 - Text: not code - - Module: `bson_db.h:60 `_ + :message: "not + :throws: UserException + :module: :source:`src/mongo/bson/bson_db.h#L60` .. error:: 10063 - Text: not a dbref - - Module: `bsonelement.h:409 `_ + :message: "not + :throws: UserException + :module: :source:`src/mongo/bson/bsonelement.h#L409` .. error:: 10064 - Text: not a dbref - - Module: `bsonelement.h:414 `_ + :message: "not + :throws: UserException + :module: :source:`src/mongo/bson/bsonelement.h#L414` .. error:: 10333 - Text: Invalid field name - - Module: `bsonelement.h:439 `_ + :message: "Invalid + :throws: UserException + :module: :source:`src/mongo/bson/bsonelement.h#L439` .. error:: 13111 - Text: - - Module: `bsonelement.h:472 `_ + :message: ss.str() + :severity: Info + :module: :source:`src/mongo/bson/bsonelement.h#L472` .. error:: 13118 - Text: unexpected or missing type value in BSON object - - Module: `bsonelement.h:477 `_ + :message: "unexpected + :severity: Info + :module: :source:`src/mongo/bson/bsonelement.h#L477` .. error:: 16177 - Text: not codeWScope - - Module: `bsonelement.h:265 `_ + :message: "not + :severity: Info + :module: :source:`src/mongo/bson/bsonelement.h#L265` .. error:: 16178 - Text: not codeWScope - - Module: `bsonelement.h:272 `_ + :message: "not + :severity: Info + :module: :source:`src/mongo/bson/bsonelement.h#L272` .. error:: 10335 - Text: builder does not own memory - - Module: `bsonobjbuilder.h:554 `_ + :message: "builder + :severity: Info + :module: :source:`src/mongo/bson/bsonobjbuilder.h#L554` .. error:: 10336 - Text: No subobject started - - Module: `bsonobjbuilder.h:629 `_ + :message: "No + :severity: Info + :module: :source:`src/mongo/bson/bsonobjbuilder.h#L629` .. error:: 13048 - Text: can't append to array using string field name [" + name.data() + "] - - Module: `bsonobjbuilder.h:828 `_ + :message: (std::string)"can't + :throws: UserException + :module: :source:`src/mongo/bson/bsonobjbuilder.h#L828` .. error:: 15891 - Text: can't backfill array to larger than 1,500,000 elements - - Module: `bsonobjbuilder.h:836 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/bson/bsonobjbuilder.h#L836` .. error:: 16234 - Text: Invalid call to appendNull in BSONObj Builder. - - Module: `bsonobjbuilder.h:417 `_ + :message: "Invalid + :severity: Info + :module: :source:`src/mongo/bson/bsonobjbuilder.h#L417` .. error:: 13103 - Text: too many compound keys - - Module: `ordering.h:64 `_ + :message: "too + :throws: UserException + :module: :source:`src/mongo/bson/ordering.h#L64` .. error:: 10000 - Text: out of memory BufBuilder - - Module: `builder.h:108 `_ + :message: "out + :severity: Info + :module: :source:`src/mongo/bson/util/builder.h#L108` .. error:: 13548 - Text: - - Module: `builder.h:220 `_ + :message: ss.str().c_str()); + :severity: Info + :module: :source:`src/mongo/bson/util/builder.h#L220` .. error:: 15912 - Text: out of memory StackAllocator::Realloc - - Module: `builder.h:83 `_ + :message: "out + :severity: Info + :module: :source:`src/mongo/bson/util/builder.h#L83` .. error:: 15913 - Text: out of memory BufBuilder::reset - - Module: `builder.h:133 `_ + :message: "out + :severity: Info + :module: :source:`src/mongo/bson/util/builder.h#L133` .. error:: 16070 - Text: out of memory BufBuilder::grow_reallocate - - Module: `builder.h:224 `_ + :message: "out + :severity: Info + :module: :source:`src/mongo/bson/util/builder.h#L224` .. error:: 10256 - Text: no createDirectClient in clientOnly - - Module: `clientAndShell.cpp:69 `_ + :message: "no + :throws: UserException + :module: :source:`src/mongo/client/clientAndShell.cpp#L69` .. error:: 13071 - Text: invalid hostname [" + host + "] - - Module: `connpool.cpp:218 `_ + :message: (string)"invalid + :throws: UserException + :module: :source:`src/mongo/client/connpool.cpp#L218` .. error:: 13328 - Text: : connect failed " + url.toString() + " : - - Module: `connpool.cpp:198 `_ + :message: _name + :throws: UserException + :module: :source:`src/mongo/client/connpool.cpp#L198` .. error:: 11004 - Text: connection was returned to the pool already - - Module: `connpool.h:246 `_ + :message: "connection + :throws: UserException + :module: :source:`src/mongo/client/connpool.h#L246` .. error:: 11005 - Text: connection was returned to the pool already - - Module: `connpool.h:252 `_ + :message: "connection + :throws: UserException + :module: :source:`src/mongo/client/connpool.h#L252` .. error:: 13102 - Text: connection was returned to the pool already - - Module: `connpool.h:258 `_ + :message: "connection + :throws: UserException + :module: :source:`src/mongo/client/connpool.h#L258` .. error:: 10005 - Text: listdatabases failed" , runCommand( "admin" , BSON( "listDatabases - - Module: `dbclient.cpp:604 `_ + :message: "listdatabases + :throws: UserException + :module: :source:`src/mongo/client/dbclient.cpp#L604` .. error:: 10006 - Text: listDatabases.databases not array" , info["databases - - Module: `dbclient.cpp:605 `_ + :message: "listDatabases.databases + :throws: UserException + :module: :source:`src/mongo/client/dbclient.cpp#L605` .. error:: 10007 - Text: dropIndex failed - - Module: `dbclient.cpp:996 `_ + :message: "dropIndex + :throws: UserException + :module: :source:`src/mongo/client/dbclient.cpp#L996` .. error:: 10008 - Text: dropIndexes failed - - Module: `dbclient.cpp:1003 `_ + :message: "dropIndexes + :throws: UserException + :module: :source:`src/mongo/client/dbclient.cpp#L1003` .. error:: 10276 - Text: DBClientBase::findN: transport error: " << getServerAddress() << " ns: " << ns << " query: - - Module: `dbclient.cpp:666 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/client/dbclient.cpp#L666` .. error:: 10278 - Text: dbclient error communicating with server: - - Module: `dbclient.cpp:1140 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/client/dbclient.cpp#L1140` .. error:: 10337 - Text: object not valid - - Module: `dbclient.cpp:1091 `_ + :message: (string)"object + :severity: Info + :module: :source:`src/mongo/client/dbclient.cpp#L1091` .. error:: 11010 - Text: count fails: - - Module: `dbclient.cpp:375 `_ + :message: string("count + :throws: UserException + :module: :source:`src/mongo/client/dbclient.cpp#L375` .. error:: 13386 - Text: socket error for mapping query - - Module: `dbclient.cpp:847 `_ + :message: "socket + :throws: UserException + :module: :source:`src/mongo/client/dbclient.cpp#L847` .. error:: 13421 - Text: trying to connect to invalid ConnectionString - - Module: `dbclient.cpp:147 `_ + :message: "trying + :throws: UserException + :module: :source:`src/mongo/client/dbclient.cpp#L147` .. error:: 16090 - Text: socket error for mapping query - - Module: `dbclient.cpp:819 `_ + :message: "socket + :throws: UserException + :module: :source:`src/mongo/client/dbclient.cpp#L819` .. error:: 16335 - Text: custom connection to - - Module: `dbclient.cpp:134 `_ + :message: "custom + :throws: UserException + :module: :source:`src/mongo/client/dbclient.cpp#L134` .. error:: 10009 - Text: ReplicaSetMonitor no master found for set: - - Module: `dbclient_rs.cpp:407 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/client/dbclient_rs.cpp#L407` .. error:: 13610 - Text: ConfigChangeHook already specified - - Module: `dbclient_rs.cpp:345 `_ + :message: "ConfigChangeHook + :severity: Info + :module: :source:`src/mongo/client/dbclient_rs.cpp#L345` .. error:: 13639 - Text: can't connect to new replica set master [" << _masterHost.toString() << "] err: - - Module: `dbclient_rs.cpp:1302 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/client/dbclient_rs.cpp#L1302` .. error:: 13642 - Text: need at least 1 node for a replica set - - Module: `dbclient_rs.cpp:232 `_ + :message: "need + :throws: UserException + :module: :source:`src/mongo/client/dbclient_rs.cpp#L232` .. error:: 15899 - Text: No suitable secondary found for slaveOk query - - Module: `dbclient_rs.cpp:480 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/client/dbclient_rs.cpp#L480` .. error:: 16337 - Text: Unknown read preference - - Module: `dbclient_rs.cpp:1112 `_ + :message: "Unknown + :throws: UserException + :module: :source:`src/mongo/client/dbclient_rs.cpp#L1112` .. error:: 16340 - Text: No replica set monitor active and no cached seed - - Module: `dbclient_rs.cpp:1270 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/client/dbclient_rs.cpp#L1270` .. error:: 16357 - Text: Tags should be a BSON object - - Module: `dbclient_rs.cpp:1813 `_ + :message: "Tags + :throws: UserException + :module: :source:`src/mongo/client/dbclient_rs.cpp#L1813` .. error:: 16358 - Text: Tags should be a BSON object - - Module: `dbclient_rs.cpp:1220 `_ + :message: "Tags + :throws: UserException + :module: :source:`src/mongo/client/dbclient_rs.cpp#L1220` .. error:: 16369 - Text: No good nodes available for set: - - Module: `dbclient_rs.cpp:1343 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/client/dbclient_rs.cpp#L1343` .. error:: 16370 - Text: Failed to do query, no good nodes in - - Module: `dbclient_rs.cpp:1467 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/client/dbclient_rs.cpp#L1467` .. error:: 16379 - Text: Failed to call findOne, no good nodes in - - Module: `dbclient_rs.cpp:1501 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/client/dbclient_rs.cpp#L1501` .. error:: 16380 - Text: Failed to call say, no good nodes in - - Module: `dbclient_rs.cpp:1620 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/client/dbclient_rs.cpp#L1620` .. error:: 16381 - Text: $readPreference should be an object - - Module: `dbclient_rs.cpp:124 `_ + :message: "$readPreference + :throws: UserException + :module: :source:`src/mongo/client/dbclient_rs.cpp#L124` .. error:: 16382 - Text: mode not specified for read preference", prefDoc.hasField("mode - - Module: `dbclient_rs.cpp:128 `_ + :message: "mode + :throws: UserException + :module: :source:`src/mongo/client/dbclient_rs.cpp#L128` .. error:: 16383 - Text: Unknown read preference mode: - - Module: `dbclient_rs.cpp:148 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/client/dbclient_rs.cpp#L148` .. error:: 16384 - Text: Cannot specify tags for primary only read preference - - Module: `dbclient_rs.cpp:152 `_ + :message: "Cannot + :throws: UserException + :module: :source:`src/mongo/client/dbclient_rs.cpp#L152` .. error:: 16385 - Text: tags for read preference should be an array - - Module: `dbclient_rs.cpp:156 `_ + :message: "tags + :throws: UserException + :module: :source:`src/mongo/client/dbclient_rs.cpp#L156` .. error:: 13127 - Text: getMore: cursor didn't exist on server, possible restart or timeout? - - Module: `dbclientcursor.cpp:180 `_ + :message: "getMore: + :throws: UserException + :module: :source:`src/mongo/client/dbclientcursor.cpp#L180` .. error:: 13422 - Text: DBClientCursor next() called but more() is false - - Module: `dbclientcursor.cpp:234 `_ + :message: "DBClientCursor + :throws: UserException + :module: :source:`src/mongo/client/dbclientcursor.cpp#L234` .. error:: 14821 - Text: No client or lazy client specified, cannot store multi-host connection. - - Module: `dbclientcursor.cpp:300 `_ + :message: "No + :severity: Info + :module: :source:`src/mongo/client/dbclientcursor.cpp#L300` .. error:: 15875 - Text: DBClientCursor::initLazy called on a client that doesn't support lazy - - Module: `dbclientcursor.cpp:81 `_ + :message: "DBClientCursor::initLazy + :severity: Info + :module: :source:`src/mongo/client/dbclientcursor.cpp#L81` .. error:: 13106 - Text: - - Module: `dbclientcursor.h:80 `_ + :message: s); + :throws: UserException + :module: :source:`src/mongo/client/dbclientcursor.h#L80` .. error:: 13348 - Text: connection died - - Module: `dbclientcursor.h:235 `_ + :message: "connection + :throws: UserException + :module: :source:`src/mongo/client/dbclientcursor.h#L235` .. error:: 13383 - Text: BatchIterator empty - - Module: `dbclientcursor.h:252 `_ + :message: "BatchIterator + :severity: Info + :module: :source:`src/mongo/client/dbclientcursor.h#L252` .. error:: 10011 - Text: no collection name - - Module: `dbclientinterface.h:672 `_ + :message: "no + :throws: UserException + :module: :source:`src/mongo/client/dbclientinterface.h#L672` .. error:: 9000 - Text: - - Module: `dbclientinterface.h:1011 `_ + :message: msg) + :throws: UserException + :module: :source:`src/mongo/client/dbclientinterface.h#L1011` .. error:: 14023 - Text: remote time in cluster " << _conn.toString() << " is now skewed, cannot force lock. - - Module: `distlock.cpp:617 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/client/distlock.cpp#L617` .. error:: 16060 - Text: cannot query locks collection on config server - - Module: `distlock.cpp:130 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/client/distlock.cpp#L130` .. error:: 13678 - Text: Could not communicate with server " << server.toString() << " in cluster " << cluster.toString() << " to change skew by - - Module: `distlock_test.cpp:386 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/client/distlock_test.cpp#L386` .. error:: 10012 - Text: file doesn't exist" , fileName == "- - - Module: `gridfs.cpp:99 `_ + :message: "file + :throws: UserException + :module: :source:`src/mongo/client/gridfs.cpp#L99` .. error:: 10013 - Text: error opening file - - Module: `gridfs.cpp:106 `_ + :message: "error + :throws: UserException + :module: :source:`src/mongo/client/gridfs.cpp#L106` .. error:: 10014 - Text: chunk is empty! - - Module: `gridfs.cpp:225 `_ + :message: "chunk + :throws: UserException + :module: :source:`src/mongo/client/gridfs.cpp#L225` .. error:: 10015 - Text: doesn't exists - - Module: `gridfs.cpp:257 `_ + :message: "doesn't + :throws: UserException + :module: :source:`src/mongo/client/gridfs.cpp#L257` .. error:: 13296 - Text: invalid chunk size is specified - - Module: `gridfs.cpp:69 `_ + :message: "invalid + :severity: Info + :module: :source:`src/mongo/client/gridfs.cpp#L69` .. error:: 13325 - Text: couldn't open file: - - Module: `gridfs.cpp:251 `_ + :message: "couldn't + :throws: UserException + :module: :source:`src/mongo/client/gridfs.cpp#L251` .. error:: 16428 - Text: - - Module: `gridfs.cpp:144 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/client/gridfs.cpp#L144` .. error:: 9008 - Text: filemd5 failed - - Module: `gridfs.cpp:151 `_ + :message: "filemd5 + :throws: UserException + :module: :source:`src/mongo/client/gridfs.cpp#L151` .. error:: 10016 - Text: _id isn't set - needed for remove()" , _id["_id - - Module: `model.cpp:40 `_ + :message: "_id + :throws: UserException + :module: :source:`src/mongo/client/model.cpp#L40` .. error:: 13121 - Text: - - Module: `model.cpp:84 `_ + :message: ss.str() + :throws: UserException + :module: :source:`src/mongo/client/model.cpp#L84` .. error:: 9002 - Text: error on Model::remove: - - Module: `model.cpp:53 `_ + :message: (string)"error + :throws: UserException + :module: :source:`src/mongo/client/model.cpp#L53` .. error:: 9003 - Text: error on Model::save: - - Module: `model.cpp:126 `_ + :message: (string)"error + :throws: UserException + :module: :source:`src/mongo/client/model.cpp#L126` .. error:: 10017 - Text: cursor already done - - Module: `parallel.cpp:114 `_ + :message: "cursor + :throws: UserException + :module: :source:`src/mongo/client/parallel.cpp#L114` .. error:: 10018 - Text: no more items - - Module: `parallel.cpp:426 `_ + :message: "no + :throws: UserException + :module: :source:`src/mongo/client/parallel.cpp#L426` .. error:: 10019 - Text: no more elements - - Module: `parallel.cpp:1585 `_ + :message: "no + :throws: UserException + :module: :source:`src/mongo/client/parallel.cpp#L1585` .. error:: 13431 - Text: have to have sort key in projection and removing it - - Module: `parallel.cpp:514 `_ + :message: "have + :throws: UserException + :module: :source:`src/mongo/client/parallel.cpp#L514` .. error:: 13633 - Text: error querying server: - - Module: `parallel.cpp:144 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/client/parallel.cpp#L144` .. error:: 14812 - Text: Error running command on server: - - Module: `parallel.cpp:1662 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/client/parallel.cpp#L1662` .. error:: 14813 - Text: Command returned nothing - - Module: `parallel.cpp:1663 `_ + :message: "Command + :severity: Info + :module: :source:`src/mongo/client/parallel.cpp#L1663` .. error:: 15986 - Text: too many retries in total - - Module: `parallel.cpp:822 `_ + :message: "too + :throws: UserException + :module: :source:`src/mongo/client/parallel.cpp#L822` .. error:: 15987 - Text: could not fully initialize cursor on shard - - Module: `parallel.cpp:944 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/client/parallel.cpp#L944` .. error:: 15988 - Text: error querying server - - Module: `parallel.cpp:1081 `_ + :message: "error + :throws: UserException + :module: :source:`src/mongo/client/parallel.cpp#L1081` .. error:: 15989 - Text: database not found for parallel cursor request - - Module: `parallel.cpp:788 `_ + :message: "database + :throws: UserException + :module: :source:`src/mongo/client/parallel.cpp#L788` .. error:: 10022 - Text: SyncClusterConnection::getMore not supported yet - - Module: `syncclusterconnection.cpp:330 `_ + :message: "SyncClusterConnection::getMore + :throws: UserException + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L330` .. error:: 10023 - Text: SyncClusterConnection bulk insert not implemented - - Module: `syncclusterconnection.cpp:352 `_ + :message: "SyncClusterConnection + :throws: UserException + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L352` .. error:: 13053 - Text: help failed: " << info , _commandOnActive( "admin" , BSON( name << "1" << "help - - Module: `syncclusterconnection.cpp:469 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L469` .. error:: 13054 - Text: write $cmd not supported in SyncClusterConnection::query for: - - Module: `syncclusterconnection.cpp:289 `_ + :message: (string)"write + :throws: UserException + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L289` .. error:: 13104 - Text: SyncClusterConnection::findOne prepare failed: - - Module: `syncclusterconnection.cpp:175 `_ + :message: (string)"SyncClusterConnection::findOne + :throws: UserException + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L175` .. error:: 13105 - Text: - - Module: `syncclusterconnection.cpp:193 `_ + :message: ss.str() + :throws: UserException + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L193` .. error:: 13119 - Text: SyncClusterConnection::insert obj has to have an _id: - - Module: `syncclusterconnection.cpp:337 `_ + :message: (string)"SyncClusterConnection::insert + :throws: UserException + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L337` .. error:: 13120 - Text: SyncClusterConnection::update upsert query needs _id" , query.obj["_id - - Module: `syncclusterconnection.cpp:370 `_ + :message: "SyncClusterConnection::update + :throws: UserException + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L370` .. error:: 13397 - Text: SyncClusterConnection::say prepare failed: - - Module: `syncclusterconnection.cpp:445 `_ + :message: (string)"SyncClusterConnection::say + :throws: UserException + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L445` .. error:: 15848 - Text: sync cluster of sync clusters? - - Module: `syncclusterconnection.cpp:218 `_ + :message: "sync + :severity: Info + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L218` .. error:: 8001 - Text: SyncClusterConnection write op failed: - - Module: `syncclusterconnection.cpp:140 `_ + :message: (string)"SyncClusterConnection + :throws: UserException + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L140` .. error:: 8002 - Text: all servers down! - - Module: `syncclusterconnection.cpp:326 `_ + :message: "all + :throws: UserException + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L326` .. error:: 8003 - Text: SyncClusterConnection::insert prepare failed: - - Module: `syncclusterconnection.cpp:342 `_ + :message: (string)"SyncClusterConnection::insert + :throws: UserException + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L342` .. error:: 8004 - Text: SyncClusterConnection needs 3 servers - - Module: `syncclusterconnection.cpp:54 `_ + :message: "SyncClusterConnection + :throws: UserException + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L54` .. error:: 8005 - Text: SyncClusterConnection::udpate prepare failed: - - Module: `syncclusterconnection.cpp:376 `_ + :message: (string)"SyncClusterConnection::udpate + :throws: UserException + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L376` .. error:: 8006 - Text: SyncClusterConnection::call can only be used directly for dbQuery - - Module: `syncclusterconnection.cpp:419 `_ + :message: "SyncClusterConnection::call + :throws: UserException + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L419` .. error:: 8007 - Text: SyncClusterConnection::call can't handle $cmd" , strstr( d.getns(), "$cmd - - Module: `syncclusterconnection.cpp:423 `_ + :message: "SyncClusterConnection::call + :throws: UserException + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L423` .. error:: 8008 - Text: all servers down! - - Module: `syncclusterconnection.cpp:439 `_ + :message: "all + :throws: UserException + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L439` .. error:: 8020 - Text: SyncClusterConnection::remove prepare failed: - - Module: `syncclusterconnection.cpp:358 `_ + :message: (string)"SyncClusterConnection::remove + :throws: UserException + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L358` .. error:: 10281 - Text: verify is misdefined - - Module: `btree.cpp:144 `_ + :message: "verify + :severity: Info + :module: :source:`src/mongo/db/btree.cpp#L144` .. error:: 10282 - Text: n==0 in btree popBack() - - Module: `btree.cpp:325 `_ + :message: "n==0 + :severity: Info + :module: :source:`src/mongo/db/btree.cpp#L325` .. error:: 10283 - Text: rchild not null in btree popBack() - - Module: `btree.cpp:332 `_ + :message: "rchild + :severity: Info + :module: :source:`src/mongo/db/btree.cpp#L332` .. error:: 10285 - Text: _insert: reuse key but lchild is not null - - Module: `btree.cpp:1768 `_ + :message: "_insert: + :severity: Info + :module: :source:`src/mongo/db/btree.cpp#L1768` .. error:: 10286 - Text: _insert: reuse key but rchild is not null - - Module: `btree.cpp:1769 `_ + :message: "_insert: + :severity: Info + :module: :source:`src/mongo/db/btree.cpp#L1769` .. error:: 10287 - Text: btree: key+recloc already in index - - Module: `btree.cpp:85 `_ + :message: "btree: + :throws: MsgAssertionException + :module: :source:`src/mongo/db/btree.cpp#L85` .. error:: 15898 - Text: error in index possibly corruption consider repairing - - Module: `btree.cpp:43 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/db/btree.cpp#L43` .. error:: 13000 - Text: invalid keyNode: " + BSON( "i" << i << "n - - Module: `btree.h:364 `_ + :message: (string)"invalid + :severity: Info + :module: :source:`src/mongo/db/btree.h#L364` .. error:: 10288 - Text: bad key order in BtreeBuilder - server internal error - - Module: `btreebuilder.cpp:76 `_ + :message: "bad + :severity: Info + :module: :source:`src/mongo/db/btreebuilder.cpp#L76` .. error:: 14800 - Text: unsupported index version - - Module: `btreecursor.cpp:216 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/btreecursor.cpp#L216` .. error:: 15850 - Text: keyAt bucket deleted - - Module: `btreecursor.cpp:62 `_ + :message: "keyAt + :throws: UserException + :module: :source:`src/mongo/db/btreecursor.cpp#L62` .. error:: 10345 - Text: passes >= maxPasses in capped collection alloc - - Module: `cap.cpp:266 `_ + :message: "passes + :severity: Info + :module: :source:`src/mongo/db/cap.cpp#L266` .. error:: 13415 - Text: emptying the collection is not allowed - - Module: `cap.cpp:352 `_ + :message: "emptying + :throws: UserException + :module: :source:`src/mongo/db/cap.cpp#L352` .. error:: 13424 - Text: collection must be capped - - Module: `cap.cpp:419 `_ + :message: "collection + :severity: Info + :module: :source:`src/mongo/db/cap.cpp#L419` .. error:: 13425 - Text: background index build in progress - - Module: `cap.cpp:420 `_ + :message: "background + :severity: Info + :module: :source:`src/mongo/db/cap.cpp#L420` .. error:: 13426 - Text: failed during index drop: - - Module: `cap.cpp:431 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/db/cap.cpp#L431` .. error:: 16328 - Text: document is larger than capped size - - Module: `cap.cpp:200 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/cap.cpp#L200` .. error:: 10057 - Text: - - Module: `client.cpp:326 `_ + :message: ss.str() + :throws: UserException + :module: :source:`src/mongo/db/client.cpp#L326` .. error:: 14031 - Text: Can't take a write lock while out of disk space - - Module: `client.cpp:302 `_ + :message: "Can't + :throws: UserException + :module: :source:`src/mongo/db/client.cpp#L302` .. error:: 15928 - Text: can't open a database from a nested read lock - - Module: `client.cpp:247 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/client.cpp#L247` .. error:: 15929 - Text: client access to index backing namespace prohibited - - Module: `client.cpp:352 `_ + :message: "client + :throws: UserException + :module: :source:`src/mongo/db/client.cpp#L352` .. error:: 16107 - Text: Don't have a lock on: - - Module: `client.cpp:308 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/db/client.cpp#L308` .. error:: 16151 - Text: - - Module: `client.cpp:86 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/client.cpp#L86` .. error:: 16089 - Text: - - Module: `clientcursor.cpp:796 `_ + :message: , + :severity: Info + :module: :source:`src/mongo/db/clientcursor.cpp#L796` .. error:: 12051 - Text: clientcursor already in use? driver problem? - - Module: `clientcursor.h:96 `_ + :message: "clientcursor + :throws: UserException + :module: :source:`src/mongo/db/clientcursor.h#L96` .. error:: 12521 - Text: internal error: use of an unlocked ClientCursor - - Module: `clientcursor.h:328 `_ + :message: "internal + :severity: Info + :module: :source:`src/mongo/db/clientcursor.h#L328` .. error:: 10024 - Text: bad ns field for index during dbcopy - - Module: `cloner.cpp:92 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/db/cloner.cpp#L92` .. error:: 10025 - Text: bad ns field for index during dbcopy [2] - - Module: `cloner.cpp:94 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/db/cloner.cpp#L94` .. error:: 10026 - Text: source namespace does not exist - - Module: `cloner.cpp:752 `_ + :message: "source + :throws: UserException + :module: :source:`src/mongo/db/cloner.cpp#L752` .. error:: 10027 - Text: target namespace exists", cmdObj["dropTarget - - Module: `cloner.cpp:762 `_ + :message: "target + :throws: UserException + :module: :source:`src/mongo/db/cloner.cpp#L762` .. error:: 10289 - Text: useReplAuth is not written to replication log - - Module: `cloner.cpp:307 `_ + :message: "useReplAuth + :severity: Info + :module: :source:`src/mongo/db/cloner.cpp#L307` .. error:: 10290 - Text: - - Module: `cloner.cpp:387 `_ + :message: s.c_str(), + :severity: Info + :module: :source:`src/mongo/db/cloner.cpp#L387` .. error:: 13008 - Text: must call copydbgetnonce first - - Module: `cloner.cpp:703 `_ + :message: "must + :throws: UserException + :module: :source:`src/mongo/db/cloner.cpp#L703` .. error:: 15908 - Text: - - Module: `cloner.cpp:244 `_ + :message: errmsg, + :throws: UserException + :module: :source:`src/mongo/db/cloner.cpp#L244` .. error:: 15967 - Text: invalid collection name: - - Module: `cloner.cpp:741 `_ + :message: "invalid + :throws: UserException + :module: :source:`src/mongo/db/cloner.cpp#L741` .. error:: 10033 - Text: logpath has to be non-zero - - Module: `cmdline.cpp:406 `_ + :message: "logpath + :throws: UserException + :module: :source:`src/mongo/db/cmdline.cpp#L406` .. error:: 16176 - Text: - - Module: `cmdline.cpp:526 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/cmdline.cpp#L526` .. error:: 15962 - Text: need to specify namespace - - Module: `commands.cpp:36 `_ + :message: "need + :severity: Info + :module: :source:`src/mongo/db/commands.cpp#L36` .. error:: 15966 - Text: dbname not ok in Command::parseNsFullyQualified: " << dbname , dbname == nss.db || dbname == "admin - - Module: `commands.cpp:37 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/db/commands.cpp#L37` .. error:: 10044 - Text: distinct too big, 16mb cap - - Module: `distinct.cpp:117 `_ + :message: "distinct + :throws: UserException + :module: :source:`src/mongo/db/commands/distinct.cpp#L117` .. error:: 12515 - Text: can't remove and update", cmdObj["update - - Module: `find_and_modify.cpp:258 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/db/commands/find_and_modify.cpp#L258` .. error:: 12516 - Text: must specify remove or update - - Module: `find_and_modify.cpp:290 `_ + :message: "must + :throws: UserException + :module: :source:`src/mongo/db/commands/find_and_modify.cpp#L290` .. error:: 13329 - Text: upsert mode requires update field - - Module: `find_and_modify.cpp:235 `_ + :message: "upsert + :throws: UserException + :module: :source:`src/mongo/db/commands/find_and_modify.cpp#L235` .. error:: 13330 - Text: upsert mode requires query field - - Module: `find_and_modify.cpp:236 `_ + :message: "upsert + :throws: UserException + :module: :source:`src/mongo/db/commands/find_and_modify.cpp#L236` .. error:: 10041 - Text: invoke failed in $keyf: - - Module: `group.cpp:42 `_ + :message: (string)"invoke + :throws: UserException + :module: :source:`src/mongo/db/commands/group.cpp#L42` .. error:: 10042 - Text: return of $key has to be an object - - Module: `group.cpp:44 `_ + :message: "return + :throws: UserException + :module: :source:`src/mongo/db/commands/group.cpp#L44` .. error:: 10043 - Text: group() can't handle more than 20000 unique keys - - Module: `group.cpp:123 `_ + :message: "group() + :throws: UserException + :module: :source:`src/mongo/db/commands/group.cpp#L123` .. error:: 9010 - Text: reduce invoke failed: - - Module: `group.cpp:129 `_ + :message: (string)"reduce + :throws: UserException + :module: :source:`src/mongo/db/commands/group.cpp#L129` .. error:: 13469 - Text: getifaddrs failure: - - Module: `isself.cpp:49 `_ + :message: "getifaddrs + :severity: Info + :module: :source:`src/mongo/db/commands/isself.cpp#L49` .. error:: 13470 - Text: getnameinfo() failed: - - Module: `isself.cpp:64 `_ + :message: string("getnameinfo() + :severity: Info + :module: :source:`src/mongo/db/commands/isself.cpp#L64` .. error:: 13472 - Text: getnameinfo() failed: - - Module: `isself.cpp:110 `_ + :message: string("getnameinfo() + :severity: Info + :module: :source:`src/mongo/db/commands/isself.cpp#L110` .. error:: 10074 - Text: need values - - Module: `mr.cpp:154 `_ + :message: "need + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L154` .. error:: 10075 - Text: reduce -> multiple not supported yet - - Module: `mr.cpp:195 `_ + :message: "reduce + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L195` .. error:: 10076 - Text: rename failed: - - Module: `mr.cpp:508 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L508` .. error:: 10077 - Text: fast_emit takes 2 args - - Module: `mr.cpp:962 `_ + :message: "fast_emit + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L962` .. error:: 13069 - Text: an emit can't be more than half max bson size - - Module: `mr.cpp:963 `_ + :message: "an + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L963` .. error:: 13070 - Text: value too large to reduce - - Module: `mr.cpp:175 `_ + :message: "value + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L175` .. error:: 13522 - Text: unknown out specifier [" << t << "] - - Module: `mr.cpp:262 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L262` .. error:: 13598 - Text: couldn't compile code for: - - Module: `mr.cpp:54 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L54` .. error:: 13602 - Text: outType is no longer a valid option" , cmdObj["outType - - Module: `mr.cpp:234 `_ + :message: "outType + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L234` .. error:: 13604 - Text: too much data for in memory map/reduce - - Module: `mr.cpp:430 `_ + :message: "too + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L430` .. error:: 13606 - Text: 'out' has to be a string or an object - - Module: `mr.cpp:276 `_ + :message: "'out' + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L276` .. error:: 13608 - Text: query has to be blank or an Object - - Module: `mr.cpp:316 `_ + :message: "query + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L316` .. error:: 13609 - Text: sort has to be blank or an Object - - Module: `mr.cpp:323 `_ + :message: "sort + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L323` .. error:: 13630 - Text: userCreateNS failed for mr tempLong ns: " << _config.tempLong << " err: - - Module: `mr.cpp:360 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L360` .. error:: 13631 - Text: userCreateNS failed for mr incLong ns: " << _config.incLong << " err: - - Module: `mr.cpp:346 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L346` .. error:: 15876 - Text: could not create cursor over " << config.ns << " to hold data while prepping m/r - - Module: `mr.cpp:1042 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L1042` .. error:: 15877 - Text: could not create m/r holding client cursor over - - Module: `mr.cpp:1044 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L1044` .. error:: 15895 - Text: nonAtomic option cannot be used with this output type - - Module: `mr.cpp:272 `_ + :message: "nonAtomic + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L272` .. error:: 15921 - Text: splitVector failed: - - Module: `mr.cpp:414 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L414` .. error:: 16052 - Text: could not create cursor over " << config.ns << " for query : " << config.filter << " sort : - - Module: `mr.cpp:1093 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L1093` .. error:: 16053 - Text: could not create client cursor over " << config.ns << " for query : " << config.filter << " sort : - - Module: `mr.cpp:1095 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L1095` .. error:: 16054 - Text: shardedFirstPass should only use replace outType - - Module: `mr.cpp:281 `_ + :message: "shardedFirstPass + :severity: Info + :module: :source:`src/mongo/db/commands/mr.cpp#L281` .. error:: 16149 - Text: cannot run map reduce without the js engine - - Module: `mr.cpp:1025 `_ + :message: "cannot + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L1025` .. error:: 9014 - Text: map invoke failed: - - Module: `mr.cpp:72 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L72` .. error:: 16153 - Text: namespace does not exist - - Module: `touch.cpp:96 `_ + :message: "namespace + :severity: Info + :module: :source:`src/mongo/db/commands/touch.cpp#L96` .. error:: 13660 - Text: namespace " << ns << " does not exist - - Module: `compact.cpp:316 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/db/compact.cpp#L316` .. error:: 13661 - Text: cannot compact capped collection - - Module: `compact.cpp:317 `_ + :message: "cannot + :severity: Info + :module: :source:`src/mongo/db/compact.cpp#L317` .. error:: 14024 - Text: compact error out of space during compaction - - Module: `compact.cpp:115 `_ + :message: "compact + :throws: UserException + :module: :source:`src/mongo/db/compact.cpp#L115` .. error:: 14025 - Text: compact error no space available to allocate - - Module: `compact.cpp:247 `_ + :message: "compact + :throws: UserException + :module: :source:`src/mongo/db/compact.cpp#L247` .. error:: 14027 - Text: can't compact a system namespace", !str::contains(ns, ".system. - - Module: `compact.cpp:308 `_ + :message: "can't + :severity: Info + :module: :source:`src/mongo/db/compact.cpp#L308` .. error:: 14028 - Text: bad ns - - Module: `compact.cpp:307 `_ + :message: "bad + :severity: Info + :module: :source:`src/mongo/db/compact.cpp#L307` .. error:: 11600 - Text: interrupted at shutdown - - Module: `curop.cpp:189 `_ + :message: "interrupted + :throws: UserException + :module: :source:`src/mongo/db/curop.cpp#L189` .. error:: 11601 - Text: operation was interrupted - - Module: `curop.cpp:191 `_ + :message: "operation + :throws: UserException + :module: :source:`src/mongo/db/curop.cpp#L191` .. error:: 12601 - Text: CurOp not marked done yet - - Module: `curop.h:192 `_ + :message: "CurOp + :severity: Info + :module: :source:`src/mongo/db/curop.h#L192` .. error:: 13285 - Text: manual matcher config not allowed - - Module: `cursor.h:200 `_ + :message: "manual + :severity: Info + :module: :source:`src/mongo/db/cursor.h#L200` .. error:: 16159 - Text: manual keyFieldsOnly config not allowed - - Module: `cursor.h:211 `_ + :message: "manual + :severity: Info + :module: :source:`src/mongo/db/cursor.h#L211` .. error:: 16098 - Text: can't dblock:" << db << " when local or admin is already locked - - Module: `d_concurrency.cpp:521 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/db/d_concurrency.cpp#L521` .. error:: 16099 - Text: internal error tried to lock two databases at the same time. old:" << ls.otherName() << " new: - - Module: `d_concurrency.cpp:708 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/db/d_concurrency.cpp#L708` .. error:: 16100 - Text: can't dblock:" << db << " when local or admin is already locked - - Module: `d_concurrency.cpp:713 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/db/d_concurrency.cpp#L713` .. error:: 16103 - Text: can't lock_R, threadState= - - Module: `d_concurrency.cpp:124 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/db/d_concurrency.cpp#L124` .. error:: 16104 - Text: expected to be read locked for - - Module: `d_concurrency.cpp:264 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/db/d_concurrency.cpp#L264` .. error:: 16105 - Text: expected to be write locked for - - Module: `d_concurrency.cpp:270 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/db/d_concurrency.cpp#L270` .. error:: 16106 - Text: internal error tried to lock two databases at the same time. old:" << ls.otherName() << " new: - - Module: `d_concurrency.cpp:516 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/db/d_concurrency.cpp#L516` .. error:: 16114 - Text: - - Module: `d_concurrency.cpp:133 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L133` .. error:: 16116 - Text: - - Module: `d_concurrency.cpp:340 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L340` .. error:: 16117 - Text: - - Module: `d_concurrency.cpp:341 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L341` .. error:: 16118 - Text: - - Module: `d_concurrency.cpp:344 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L344` .. error:: 16119 - Text: - - Module: `d_concurrency.cpp:354 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L354` .. error:: 16120 - Text: - - Module: `d_concurrency.cpp:355 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L355` .. error:: 16121 - Text: - - Module: `d_concurrency.cpp:362 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L362` .. error:: 16122 - Text: - - Module: `d_concurrency.cpp:364 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L364` .. error:: 16123 - Text: - - Module: `d_concurrency.cpp:365 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L365` .. error:: 16125 - Text: - - Module: `d_concurrency.cpp:369 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L369` .. error:: 16126 - Text: - - Module: `d_concurrency.cpp:371 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L371` .. error:: 16127 - Text: - - Module: `d_concurrency.cpp:377 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L377` .. error:: 16128 - Text: - - Module: `d_concurrency.cpp:379 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L379` .. error:: 16129 - Text: - - Module: `d_concurrency.cpp:383 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L383` .. error:: 16130 - Text: - - Module: `d_concurrency.cpp:385 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L385` .. error:: 16131 - Text: - - Module: `d_concurrency.cpp:483 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L483` .. error:: 16132 - Text: - - Module: `d_concurrency.cpp:488 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L488` .. error:: 16133 - Text: - - Module: `d_concurrency.cpp:502 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L502` .. error:: 16134 - Text: - - Module: `d_concurrency.cpp:536 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L536` .. error:: 16135 - Text: - - Module: `d_concurrency.cpp:727 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L727` .. error:: 16171 - Text: - - Module: `d_concurrency.cpp:295 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L295` .. error:: 16186 - Text: can't get a DBWrite while having a read lock - - Module: `d_concurrency.cpp:559 `_ + :message: "can't + :severity: Info + :module: :source:`src/mongo/db/d_concurrency.cpp#L559` .. error:: 16187 - Text: - - Module: `d_concurrency.cpp:733 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L733` .. error:: 16188 - Text: - - Module: `d_concurrency.cpp:747 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L747` .. error:: 16189 - Text: - - Module: `d_concurrency.cpp:753 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L753` .. error:: 16252 - Text: - - Module: `d_concurrency.cpp:509 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L509` .. error:: 16253 - Text: - - Module: `d_concurrency.cpp:550 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L550` .. error:: 16254 - Text: - - Module: `d_concurrency.cpp:586 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L586` .. error:: 16255 - Text: - - Module: `d_concurrency.cpp:701 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L701` .. error:: 10028 - Text: db name is empty - - Module: `database.cpp:70 `_ + :message: "db + :throws: UserException + :module: :source:`src/mongo/db/database.cpp#L70` .. error:: 10029 - Text: bad db name [1] - - Module: `database.cpp:72 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/db/database.cpp#L72` .. error:: 10030 - Text: bad db name [2] - - Module: `database.cpp:73 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/db/database.cpp#L73` .. error:: 10031 - Text: bad char(s) in db name - - Module: `database.cpp:74 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/db/database.cpp#L74` .. error:: 10032 - Text: db name too long - - Module: `database.cpp:71 `_ + :message: "db + :throws: UserException + :module: :source:`src/mongo/db/database.cpp#L71` .. error:: 10295 - Text: getFile(): bad file number value (corrupt db?): run repair - - Module: `database.cpp:242 `_ + :message: "getFile(): + :severity: Info + :module: :source:`src/mongo/db/database.cpp#L242` .. error:: 12501 - Text: quota exceeded - - Module: `database.cpp:326 `_ + :message: "quota + :throws: UserException + :module: :source:`src/mongo/db/database.cpp#L326` .. error:: 14810 - Text: couldn't allocate space (suitableFile) - - Module: `database.cpp:341 `_ + :message: "couldn't + :throws: UserException + :module: :source:`src/mongo/db/database.cpp#L341` .. error:: 15924 - Text: getFile(): bad file number value " << n << " (corrupt db?): run repair - - Module: `database.cpp:190 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/db/database.cpp#L190` .. error:: 15927 - Text: can't open database in a read lock. if db was just closed, consider retrying the query. might otherwise indicate an internal error - - Module: `database.cpp:434 `_ + :message: "can't + :severity: Info + :module: :source:`src/mongo/db/database.cpp#L434` .. error:: 16185 - Text: - - Module: `database.cpp:85 `_ + :message: errorString.str(), + :throws: UserException + :module: :source:`src/mongo/db/database.cpp#L85` .. error:: 13074 - Text: db name can't be empty - - Module: `databaseholder.h:94 `_ + :message: "db + :throws: UserException + :module: :source:`src/mongo/db/databaseholder.h#L94` .. error:: 13075 - Text: db name can't be empty - - Module: `databaseholder.h:97 `_ + :message: "db + :throws: UserException + :module: :source:`src/mongo/db/databaseholder.h#L97` .. error:: 13280 - Text: invalid db name: - - Module: `databaseholder.h:88 `_ + :message: (string)"invalid + :throws: UserException + :module: :source:`src/mongo/db/databaseholder.h#L88` .. error:: 10296 - Text: - - Module: `db.cpp:486 `_ + :message: ss.str().c_str(), + :throws: UserException + :module: :source:`src/mongo/db/db.cpp#L486` .. error:: 10297 - Text: Couldn't register Windows Ctrl-C handler - - Module: `db.cpp:1424 `_ + :message: "Couldn't + :severity: Info + :module: :source:`src/mongo/db/db.cpp#L1430` .. error:: 12590 - Text: - - Module: `db.cpp:491 `_ + :message: ss.str().c_str(), + :throws: UserException + :module: :source:`src/mongo/db/db.cpp#L491` .. error:: 14026 - Text: - - Module: `db.cpp:307 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/db.cpp#L307` .. error:: 10298 - Text: can't temprelease nested lock - - Module: `db.h:40 `_ + :message: "can't + :severity: Info + :module: :source:`src/mongo/db/db.h#L40` .. error:: 10039 - Text: can't drop collection with reserved $ character in name - - Module: `dbcommands.cpp:775 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/db/dbcommands.cpp#L775` .. error:: 10040 - Text: chunks out of order - - Module: `dbcommands.cpp:1128 `_ + :message: "chunks + :throws: UserException + :module: :source:`src/mongo/db/dbcommands.cpp#L1128` .. error:: 10301 - Text: source collection " + fromNs + " does not exist - - Module: `dbcommands.cpp:1544 `_ + :message: "source + :severity: Info + :module: :source:`src/mongo/db/dbcommands.cpp#L1544` .. error:: 13049 - Text: godinsert must specify a collection - - Module: `dbcommands.cpp:1681 `_ + :message: "godinsert + :throws: UserException + :module: :source:`src/mongo/db/dbcommands.cpp#L1681` .. error:: 13281 - Text: File deleted during filemd5 command - - Module: `dbcommands.cpp:1151 `_ + :message: "File + :throws: UserException + :module: :source:`src/mongo/db/dbcommands.cpp#L1151` .. error:: 13416 - Text: captrunc must specify a collection - - Module: `dbcommands.cpp:1817 `_ + :message: "captrunc + :throws: UserException + :module: :source:`src/mongo/db/dbcommands.cpp#L1817` .. error:: 13417 - Text: captrunc collection not found or empty - - Module: `dbcommands.cpp:1825 `_ + :message: "captrunc + :severity: Info + :module: :source:`src/mongo/db/dbcommands.cpp#L1825` .. error:: 13418 - Text: captrunc invalid n - - Module: `dbcommands.cpp:1827 `_ + :message: "captrunc + :severity: Info + :module: :source:`src/mongo/db/dbcommands.cpp#L1827` .. error:: 13428 - Text: emptycapped must specify a collection - - Module: `dbcommands.cpp:1845 `_ + :message: "emptycapped + :throws: UserException + :module: :source:`src/mongo/db/dbcommands.cpp#L1845` .. error:: 13429 - Text: emptycapped no such collection - - Module: `dbcommands.cpp:1848 `_ + :message: "emptycapped + :severity: Info + :module: :source:`src/mongo/db/dbcommands.cpp#L1848` .. error:: 13455 - Text: dbexit timed out getting lock - - Module: `dbcommands.cpp:358 `_ + :message: "dbexit + :throws: UserException + :module: :source:`src/mongo/db/dbcommands.cpp#L358` .. error:: 14832 - Text: specify size: when capped is true", !cmdObj["capped"].trueValue() || cmdObj["size"].isNumber() || cmdObj.hasField("$nExtents - - Module: `dbcommands.cpp:841 `_ + :message: "specify + :throws: UserException + :module: :source:`src/mongo/db/dbcommands.cpp#L841` .. error:: 15880 - Text: no ram log for warnings? - - Module: `dbcommands.cpp:676 `_ + :message: "no + :severity: Info + :module: :source:`src/mongo/db/dbcommands.cpp#L676` .. error:: 15888 - Text: must pass name of collection to create - - Module: `dbcommands.cpp:838 `_ + :message: "must + :throws: UserException + :module: :source:`src/mongo/db/dbcommands.cpp#L838` .. error:: 16247 - Text: md5 state not correct size - - Module: `dbcommands.cpp:1090 `_ + :message: "md5 + :severity: Info + :module: :source:`src/mongo/db/dbcommands.cpp#L1090` .. error:: 10038 - Text: forced error - - Module: `dbcommands_generic.cpp:418 `_ + :message: "forced + :throws: UserException + :module: :source:`src/mongo/db/dbcommands_generic.cpp#L418` .. error:: 16175 - Text: - - Module: `dbcommands_generic.cpp:347 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/dbcommands_generic.cpp#L347` .. error:: 10046 - Text: eval needs Code - - Module: `dbeval.cpp:41 `_ + :message: "eval + :throws: UserException + :module: :source:`src/mongo/db/dbeval.cpp#L41` .. error:: 12598 - Text: $eval reads unauthorized - - Module: `dbeval.cpp:122 `_ + :message: "$eval + :throws: UserException + :module: :source:`src/mongo/db/dbeval.cpp#L122` .. error:: 13430 - Text: no _id index - - Module: `dbhelpers.cpp:132 `_ + :message: "no + :throws: UserException + :module: :source:`src/mongo/db/dbhelpers.cpp#L132` .. error:: 16333 - Text: - - Module: `dbhelpers.cpp:244 `_ + :message: , + :severity: Info + :module: :source:`src/mongo/db/dbhelpers.cpp#L244` .. error:: 16341 - Text: - - Module: `dbhelpers.cpp:238 `_ + :message: , + :severity: Info + :module: :source:`src/mongo/db/dbhelpers.cpp#L238` .. error:: 10304 - Text: Client Error: Remaining data too small for BSON object - - Module: `dbmessage.h:199 `_ + :message: "Client + :severity: Info + :module: :source:`src/mongo/db/dbmessage.h#L199` .. error:: 10305 - Text: Client Error: Invalid object size - - Module: `dbmessage.h:201 `_ + :message: "Client + :severity: Info + :module: :source:`src/mongo/db/dbmessage.h#L201` .. error:: 10306 - Text: Client Error: Next object larger than space left in message - - Module: `dbmessage.h:202 `_ + :message: "Client + :severity: Info + :module: :source:`src/mongo/db/dbmessage.h#L202` .. error:: 10307 - Text: Client Error: bad object in message - - Module: `dbmessage.h:205 `_ + :message: "Client + :severity: Info + :module: :source:`src/mongo/db/dbmessage.h#L205` .. error:: 13066 - Text: Message contains no documents - - Module: `dbmessage.h:197 `_ + :message: "Message + :severity: Info + :module: :source:`src/mongo/db/dbmessage.h#L197` .. error:: 13453 - Text: server not started with --jsonp - - Module: `dbwebserver.cpp:170 `_ + :message: "server + :throws: UserException + :module: :source:`src/mongo/db/dbwebserver.cpp#L170` .. error:: 13599 - Text: Written data does not match in-memory view. Missing WriteIntent? - - Module: `dur.cpp:424 `_ + :message: "Written + :severity: Info + :module: :source:`src/mongo/db/dur.cpp#L424` .. error:: 13616 - Text: can't disable durability with pending writes - - Module: `dur.cpp:200 `_ + :message: "can't + :severity: Info + :module: :source:`src/mongo/db/dur.cpp#L200` .. error:: 16110 - Text: - - Module: `dur.cpp:261 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/dur.cpp#L261` .. error:: 13611 - Text: can't read lsn file in journal directory : - - Module: `dur_journal.cpp:563 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/dur_journal.cpp#L563` .. error:: 13614 - Text: unexpected version number of lsn file in journal/ directory got: - - Module: `dur_journal.cpp:530 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/dur_journal.cpp#L530` .. error:: 15926 - Text: Insufficient free space for journals - - Module: `dur_journal.cpp:375 `_ + :message: "Insufficient + :throws: UserException + :module: :source:`src/mongo/db/dur_journal.cpp#L375` .. error:: 13531 - Text: unexpected files in journal directory " << dir.string() << " : - - Module: `dur_recover.cpp:79 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/dur_recover.cpp#L79` .. error:: 13532 - Text: - - Module: `dur_recover.cpp:86 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/dur_recover.cpp#L86` .. error:: 13533 - Text: problem processing journal file during recovery - - Module: `dur_recover.cpp:162 `_ + :message: "problem + :severity: Info + :module: :source:`src/mongo/db/dur_recover.cpp#L162` .. error:: 13535 - Text: recover abrupt journal file end - - Module: `dur_recover.cpp:467 `_ + :message: "recover + :throws: UserException + :module: :source:`src/mongo/db/dur_recover.cpp#L467` .. error:: 13536 - Text: journal version number mismatch - - Module: `dur_recover.cpp:394 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/dur_recover.cpp#L394` .. error:: 13537 - Text: - - Module: `dur_recover.cpp:385 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/dur_recover.cpp#L385` .. error:: 13544 - Text: recover error couldn't open - - Module: `dur_recover.cpp:449 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/db/dur_recover.cpp#L449` .. error:: 13545 - Text: --durOptions " << (int) CmdLine::DurScanOnly << " (scan only) specified - - Module: `dur_recover.cpp:474 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/dur_recover.cpp#L474` .. error:: 13594 - Text: journal checksum doesn't match - - Module: `dur_recover.cpp:358 `_ + :message: "journal + :severity: Info + :module: :source:`src/mongo/db/dur_recover.cpp#L358` .. error:: 13622 - Text: Trying to write past end of file in WRITETODATAFILES - - Module: `dur_recover.cpp:255 `_ + :message: "Trying + :severity: Info + :module: :source:`src/mongo/db/dur_recover.cpp#L255` .. error:: 15874 - Text: couldn't uncompress journal section - - Module: `dur_recover.cpp:114 `_ + :message: "couldn't + :severity: Info + :module: :source:`src/mongo/db/dur_recover.cpp#L114` .. error:: 13546 - Text: journal recover: unrecognized opcode in journal - - Module: `durop.cpp:53 `_ + :message: (str::stream() + :severity: Info + :module: :source:`src/mongo/db/durop.cpp#L53` .. error:: 13547 - Text: recover couldn't create file - - Module: `durop.cpp:144 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/db/durop.cpp#L144` .. error:: 13628 - Text: recover failure writing file - - Module: `durop.cpp:158 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/db/durop.cpp#L158` .. error:: 10048 - Text: already sorted - - Module: `extsort.cpp:109 `_ + :message: "already + :throws: UserException + :module: :source:`src/mongo/db/extsort.cpp#L109` .. error:: 10049 - Text: sorted already - - Module: `extsort.cpp:134 `_ + :message: "sorted + :throws: UserException + :module: :source:`src/mongo/db/extsort.cpp#L134` .. error:: 10050 - Text: bad - - Module: `extsort.cpp:155 `_ + :message: "bad" + :throws: UserException + :module: :source:`src/mongo/db/extsort.cpp#L155` .. error:: 16392 - Text: - - Module: `extsort.cpp:269 `_ + :message: , + :severity: Info + :module: :source:`src/mongo/db/extsort.cpp#L269` .. error:: 16393 - Text: reading DiskLoc for external sort failed - - Module: `extsort.cpp:338 `_ + :message: std::string("reading + :severity: Info + :module: :source:`src/mongo/db/extsort.cpp#L338` .. error:: 16394 - Text: reading doc for external sort failed: - - Module: `extsort.cpp:331 `_ + :message: std::string("reading + :severity: Info + :module: :source:`src/mongo/db/extsort.cpp#L331` .. error:: 10052 - Text: not sorted - - Module: `extsort.h:108 `_ + :message: "not + :throws: UserException + :module: :source:`src/mongo/db/extsort.h#L108` .. error:: 13022 - Text: can't have 2 geo field - - Module: `2d.cpp:120 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/db/geo/2d.cpp#L120` .. error:: 13023 - Text: 2d has to be first in index - - Module: `2d.cpp:121 `_ + :message: "2d + :throws: UserException + :module: :source:`src/mongo/db/geo/2d.cpp#L121` .. error:: 13024 - Text: no geo field specified - - Module: `2d.cpp:130 `_ + :message: "no + :throws: UserException + :module: :source:`src/mongo/db/geo/2d.cpp#L130` .. error:: 13026 - Text: geo values have to be numbers: - - Module: `2d.cpp:333 `_ + :message: "geo + :throws: UserException + :module: :source:`src/mongo/db/geo/2d.cpp#L333` .. error:: 13027 - Text: point not in interval of [ " << _min << ", " << _max << " ] - - Module: `2d.cpp:356 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/geo/2d.cpp#L356` .. error:: 13028 - Text: bits in geo index must be between 1 and 32 - - Module: `2d.cpp:134 `_ + :message: "bits + :throws: UserException + :module: :source:`src/mongo/db/geo/2d.cpp#L134` .. error:: 13042 - Text: missing geo field (" + _geo + ") in : - - Module: `2d.cpp:2866 `_ + :message: (string)"missing + :throws: UserException + :module: :source:`src/mongo/db/geo/2d.cpp#L2866` .. error:: 13046 - Text: 'near' param missing/invalid", !cmdObj["near - - Module: `2d.cpp:2922 `_ + :message: "'near' + :throws: UserException + :module: :source:`src/mongo/db/geo/2d.cpp#L2922` .. error:: 13057 - Text: $within has to take an object or array - - Module: `2d.cpp:2832 `_ + :message: "$within + :throws: UserException + :module: :source:`src/mongo/db/geo/2d.cpp#L2832` .. error:: 13058 - Text: unknown $within information : " << context << ", a shape must be specified. - - Module: `2d.cpp:2856 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/geo/2d.cpp#L2856` .. error:: 13059 - Text: $center has to take an object or array - - Module: `2d.cpp:2842 `_ + :message: "$center + :throws: UserException + :module: :source:`src/mongo/db/geo/2d.cpp#L2842` .. error:: 13060 - Text: $center needs 2 fields (middle,max distance) - - Module: `2d.cpp:2503 `_ + :message: "$center + :throws: UserException + :module: :source:`src/mongo/db/geo/2d.cpp#L2503` .. error:: 13061 - Text: need a max distance >= 0 - - Module: `2d.cpp:2517 `_ + :message: "need + :throws: UserException + :module: :source:`src/mongo/db/geo/2d.cpp#L2517` .. error:: 13063 - Text: $box needs 2 fields (bottomLeft,topRight) - - Module: `2d.cpp:2621 `_ + :message: "$box + :throws: UserException + :module: :source:`src/mongo/db/geo/2d.cpp#L2621` .. error:: 13064 - Text: need an area > 0 - - Module: `2d.cpp:2633 `_ + :message: "need + :throws: UserException + :module: :source:`src/mongo/db/geo/2d.cpp#L2633` .. error:: 13065 - Text: $box has to take an object or array - - Module: `2d.cpp:2847 `_ + :message: "$box + :throws: UserException + :module: :source:`src/mongo/db/geo/2d.cpp#L2847` .. error:: 13067 - Text: geo field is empty - - Module: `2d.cpp:328 `_ + :message: "geo + :throws: UserException + :module: :source:`src/mongo/db/geo/2d.cpp#L328` .. error:: 13068 - Text: geo field only has 1 element - - Module: `2d.cpp:330 `_ + :message: "geo + :throws: UserException + :module: :source:`src/mongo/db/geo/2d.cpp#L330` .. error:: 13460 - Text: invalid $center query type: - - Module: `2d.cpp:2540 `_ + :message: "invalid + :throws: UserException + :module: :source:`src/mongo/db/geo/2d.cpp#L2540` .. error:: 13461 - Text: Spherical MaxDistance > PI. Are you sure you are using radians? - - Module: `2d.cpp:2528 `_ + :message: "Spherical + :throws: UserException + :module: :source:`src/mongo/db/geo/2d.cpp#L2528` .. error:: 13462 - Text: Spherical distance would require wrapping, which isn't implemented yet - - Module: `2d.cpp:2535 `_ + :message: "Spherical + :throws: UserException + :module: :source:`src/mongo/db/geo/2d.cpp#L2535` .. error:: 13464 - Text: invalid $near search type: - - Module: `2d.cpp:2801 `_ + :message: string("invalid + :throws: UserException + :module: :source:`src/mongo/db/geo/2d.cpp#L2801` .. error:: 13654 - Text: location object expected, location array not in correct format - - Module: `2d.cpp:249 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/geo/2d.cpp#L249` .. error:: 13656 - Text: the first field of $center object must be a location object - - Module: `2d.cpp:2508 `_ + :message: "the + :throws: UserException + :module: :source:`src/mongo/db/geo/2d.cpp#L2508` .. error:: 14029 - Text: $polygon has to take an object or array - - Module: `2d.cpp:2852 `_ + :message: "$polygon + :throws: UserException + :module: :source:`src/mongo/db/geo/2d.cpp#L2852` .. error:: 14030 - Text: polygon must be defined by three points or more - - Module: `2d.cpp:2716 `_ + :message: "polygon + :throws: UserException + :module: :source:`src/mongo/db/geo/2d.cpp#L2716` .. error:: 13047 - Text: wrong type for geo index. if you're using a pre-release version, need to rebuild index - - Module: `core.h:106 `_ + :message: "wrong + :throws: UserException + :module: :source:`src/mongo/db/geo/core.h#L106` .. error:: 14808 - Text: point " << p.toString() << " must be in earth-like bounds of long : [-180, 180], lat : [-90, 90] - - Module: `core.h:509 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/geo/core.h#L509` .. error:: 13314 - Text: can't have 2 geo fields - - Module: `haystack.cpp:89 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/db/geo/haystack.cpp#L89` .. error:: 13315 - Text: 2d has to be first in index - - Module: `haystack.cpp:90 `_ + :message: "2d + :throws: UserException + :module: :source:`src/mongo/db/geo/haystack.cpp#L90` .. error:: 13316 - Text: no geo field specified - - Module: `haystack.cpp:99 `_ + :message: "no + :throws: UserException + :module: :source:`src/mongo/db/geo/haystack.cpp#L99` .. error:: 13317 - Text: no other fields specified - - Module: `haystack.cpp:100 `_ + :message: "no + :throws: UserException + :module: :source:`src/mongo/db/geo/haystack.cpp#L100` .. error:: 13318 - Text: near needs to be an array - - Module: `haystack.cpp:298 `_ + :message: "near + :throws: UserException + :module: :source:`src/mongo/db/geo/haystack.cpp#L298` .. error:: 13319 - Text: maxDistance needs a number - - Module: `haystack.cpp:299 `_ + :message: "maxDistance + :throws: UserException + :module: :source:`src/mongo/db/geo/haystack.cpp#L299` .. error:: 13320 - Text: search needs to be an object - - Module: `haystack.cpp:300 `_ + :message: "search + :throws: UserException + :module: :source:`src/mongo/db/geo/haystack.cpp#L300` .. error:: 13321 - Text: need bucketSize - - Module: `haystack.cpp:80 `_ + :message: "need + :throws: UserException + :module: :source:`src/mongo/db/geo/haystack.cpp#L80` .. error:: 13322 - Text: not a number - - Module: `haystack.cpp:106 `_ + :message: "not + :throws: UserException + :module: :source:`src/mongo/db/geo/haystack.cpp#L106` .. error:: 13323 - Text: latlng not an array - - Module: `haystack.cpp:141 `_ + :message: "latlng + :throws: UserException + :module: :source:`src/mongo/db/geo/haystack.cpp#L141` .. error:: 13326 - Text: quadrant search can only have 1 other field for now - - Module: `haystack.cpp:101 `_ + :message: "quadrant + :throws: UserException + :module: :source:`src/mongo/db/geo/haystack.cpp#L101` .. error:: 16241 - Text: Currently only single field hashed index supported. - - Module: `hashindex.cpp:34 `_ + :message: "Currently + :throws: UserException + :module: :source:`src/mongo/db/hashindex.cpp#L34` .. error:: 16242 - Text: Currently hashed indexes cannot guarantee uniqueness. Use a regular index. - - Module: `hashindex.cpp:36 `_ + :message: "Currently + :throws: UserException + :module: :source:`src/mongo/db/hashindex.cpp#L36` .. error:: 16243 - Text: error: no hashed index field - - Module: `hashindex.cpp:56 `_ + :message: "error: + :severity: Info + :module: :source:`src/mongo/db/hashindex.cpp#L56` .. error:: 16244 - Text: Error: hashed indexes do not currently support array values - - Module: `hashindex.cpp:75 `_ + :message: "Error: + :throws: UserException + :module: :source:`src/mongo/db/hashindex.cpp#L75` .. error:: 16245 - Text: Only HashVersion 0 has been defined - - Module: `hashindex.cpp:161 `_ + :message: "Only + :severity: Info + :module: :source:`src/mongo/db/hashindex.cpp#L161` .. error:: 10096 - Text: invalid ns to index - - Module: `index.cpp:308 `_ + :message: "invalid + :throws: UserException + :module: :source:`src/mongo/db/index.cpp#L308` .. error:: 10097 - Text: bad table to index name on add index attempt current db: " << cc().database()->name << " source: - - Module: `index.cpp:309 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/db/index.cpp#L309` .. error:: 10098 - Text: - - Module: `index.cpp:316 `_ + :message: s.c_str()); + :throws: UserException + :module: :source:`src/mongo/db/index.cpp#L316` .. error:: 11001 - Text: - - Module: `index.cpp:97 `_ + :message: h->dupKeyError( + :throws: UserException + :module: :source:`src/mongo/db/index.cpp#L97` .. error:: 12504 - Text: - - Module: `index.cpp:323 `_ + :message: s); + :throws: UserException + :module: :source:`src/mongo/db/index.cpp#L323` .. error:: 12505 - Text: - - Module: `index.cpp:353 `_ + :message: s); + :throws: UserException + :module: :source:`src/mongo/db/index.cpp#L353` .. error:: 12523 - Text: no index name specified - - Module: `index.cpp:304 `_ + :message: "no + :throws: UserException + :module: :source:`src/mongo/db/index.cpp#L304` .. error:: 12524 - Text: index key pattern too large - - Module: `index.cpp:313 `_ + :message: "index + :throws: UserException + :module: :source:`src/mongo/db/index.cpp#L313` .. error:: 12588 - Text: cannot add index with a background operation in progress - - Module: `index.cpp:359 `_ + :message: "cannot + :throws: UserException + :module: :source:`src/mongo/db/index.cpp#L359` .. error:: 14803 - Text: this version of mongod cannot build new indexes of version number - - Module: `index.cpp:394 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/index.cpp#L394` .. error:: 14802 - Text: index v field should be Integer type - - Module: `index.h:193 `_ + :message: "index + :throws: UserException + :module: :source:`src/mongo/db/index.h#L193` .. error:: 10092 - Text: too may dups on index build with dropDups=true - - Module: `index_update.cpp:251 `_ + :message: "too + :throws: UserException + :module: :source:`src/mongo/db/index_update.cpp#L251` .. error:: 12584 - Text: cursor gone during bg index - - Module: `index_update.cpp:406 `_ + :message: "cursor + :throws: UserException + :module: :source:`src/mongo/db/index_update.cpp#L406` .. error:: 12585 - Text: cursor gone during bg index; dropDups - - Module: `index_update.cpp:385 `_ + :message: "cursor + :throws: UserException + :module: :source:`src/mongo/db/index_update.cpp#L385` .. error:: 13130 - Text: can't start bg index b/c in recursive lock (db.eval?) - - Module: `index_update.cpp:422 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/db/index_update.cpp#L422` .. error:: 16093 - Text: after yield cursor deleted - - Module: `index_update.cpp:377 `_ + :message: "after + :severity: Info + :module: :source:`src/mongo/db/index_update.cpp#L377` .. error:: 16408 - Text: - - Module: `index_update.cpp:306 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/index_update.cpp#L306` .. error:: 13007 - Text: can only have 1 index plugin / bad index key pattern - - Module: `indexkey.cpp:65 `_ + :message: "can + :throws: UserException + :module: :source:`src/mongo/db/indexkey.cpp#L65` .. error:: 13529 - Text: sparse only works for single field keys - - Module: `indexkey.cpp:82 `_ + :message: "sparse + :throws: UserException + :module: :source:`src/mongo/db/indexkey.cpp#L82` .. error:: 15855 - Text: Ambiguous field name found in array (do not use numeric field names in embedded elements in an array), field: '" << arrField.fieldName() << "' for array: - - Module: `indexkey.cpp:299 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/indexkey.cpp#L299` .. error:: 15869 - Text: Invalid index version for key generation. - - Module: `indexkey.cpp:415 `_ + :message: "Invalid + :severity: Info + :module: :source:`src/mongo/db/indexkey.cpp#L415` .. error:: 10054 - Text: not master - - Module: `instance.cpp:572 `_ + :message: "not + :throws: UserException + :module: :source:`src/mongo/db/instance.cpp#L572` .. error:: 10055 - Text: update object too large - - Module: `instance.cpp:555 `_ + :message: "update + :throws: UserException + :module: :source:`src/mongo/db/instance.cpp#L555` .. error:: 10056 - Text: not master - - Module: `instance.cpp:609 `_ + :message: "not + :throws: UserException + :module: :source:`src/mongo/db/instance.cpp#L609` .. error:: 10058 - Text: not master - - Module: `instance.cpp:807 `_ + :message: "not + :throws: UserException + :module: :source:`src/mongo/db/instance.cpp#L807` .. error:: 10059 - Text: object to insert too large - - Module: `instance.cpp:751 `_ + :message: "object + :throws: UserException + :module: :source:`src/mongo/db/instance.cpp#L751` .. error:: 10309 - Text: Unable to create/open lock file: " << name << ' ' << errnoWithDescription() << " Is a mongod instance already running? - - Module: `instance.cpp:1132 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/instance.cpp#L1132` .. error:: 10310 - Text: Unable to lock file: " + name + ". Is a mongod instance already running? - - Module: `instance.cpp:1137 `_ + :message: "Unable + :throws: UserException + :module: :source:`src/mongo/db/instance.cpp#L1137` .. error:: 10332 - Text: Expected CurrentTime type - - Module: `instance.cpp:111 `_ + :message: "Expected + :severity: Info + :module: :source:`src/mongo/db/instance.cpp#L111` .. error:: 12596 - Text: old lock file - - Module: `instance.cpp:1203 `_ + :message: "old + :throws: UserException + :module: :source:`src/mongo/db/instance.cpp#L1203` .. error:: 13004 - Text: sent negative cursors to kill: - - Module: `instance.cpp:500 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/instance.cpp#L500` .. error:: 13073 - Text: shutting down - - Module: `instance.cpp:687 `_ + :message: "shutting + :severity: Info + :module: :source:`src/mongo/db/instance.cpp#L687` .. error:: 13342 - Text: Unable to truncate lock file - - Module: `instance.cpp:1221 `_ + :message: "Unable + :throws: UserException + :module: :source:`src/mongo/db/instance.cpp#L1221` .. error:: 13511 - Text: document to insert can't have $ fields - - Module: `instance.cpp:757 `_ + :message: "document + :throws: UserException + :module: :source:`src/mongo/db/instance.cpp#L757` .. error:: 13597 - Text: can't start without --journal enabled when journal/ files are present - - Module: `instance.cpp:1213 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/db/instance.cpp#L1213` .. error:: 13618 - Text: can't start without --journal enabled when journal/ files are present - - Module: `instance.cpp:1238 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/db/instance.cpp#L1238` .. error:: 13625 - Text: Unable to truncate lock file - - Module: `instance.cpp:1217 `_ + :message: "Unable + :throws: UserException + :module: :source:`src/mongo/db/instance.cpp#L1217` .. error:: 13627 - Text: Unable to create/open lock file: " << name << ' ' << m << ". Is a mongod instance already running? - - Module: `instance.cpp:1126 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/instance.cpp#L1126` .. error:: 13658 - Text: bad kill cursors size: - - Module: `instance.cpp:499 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/db/instance.cpp#L499` .. error:: 13659 - Text: sent 0 cursors to kill - - Module: `instance.cpp:498 `_ + :message: "sent + :throws: UserException + :module: :source:`src/mongo/db/instance.cpp#L498` .. error:: 16257 - Text: Invalid ns [" << ns << "] - - Module: `instance.cpp:427 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/instance.cpp#L427` .. error:: 16258 - Text: Invalid ns [" << ns << "] - - Module: `instance.cpp:660 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/instance.cpp#L660` .. error:: 16372 - Text: - - Module: `introspect.cpp:83 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/introspect.cpp#L83` .. error:: 10060 - Text: woSortOrder needs a non-empty sortKey - - Module: `jsobj.cpp:541 `_ + :message: "woSortOrder + :throws: UserException + :module: :source:`src/mongo/db/jsobj.cpp#L541` .. error:: 10061 - Text: type not supported for appendMinElementForType - - Module: `jsobj.cpp:1148 `_ + :message: "type + :throws: UserException + :module: :source:`src/mongo/db/jsobj.cpp#L1148` .. error:: 10311 - Text: - - Module: `jsobj.cpp:99 `_ + :message: message.c_str(), + :severity: Info + :module: :source:`src/mongo/db/jsobj.cpp#L99` .. error:: 10312 - Text: - - Module: `jsobj.cpp:257 `_ + :message: message.c_str(), + :severity: Info + :module: :source:`src/mongo/db/jsobj.cpp#L257` .. error:: 12579 - Text: unhandled cases in BSONObj okForStorage - - Module: `jsobj.cpp:869 `_ + :message: "unhandled + :throws: UserException + :module: :source:`src/mongo/db/jsobj.cpp#L869` .. error:: 14853 - Text: type not supported for appendMaxElementForType - - Module: `jsobj.cpp:1201 `_ + :message: "type + :throws: UserException + :module: :source:`src/mongo/db/jsobj.cpp#L1201` .. error:: 10338 - Text: Invalid use of reserved field name: - - Module: `json.cpp:233 `_ + :message: "Invalid + :severity: Info + :module: :source:`src/mongo/db/json.cpp#L233` .. error:: 10339 - Text: Badly formatted bindata - - Module: `json.cpp:406 `_ + :message: "Badly + :severity: Info + :module: :source:`src/mongo/db/json.cpp#L406` .. error:: 10340 - Text: Failure parsing JSON string near: - - Module: `json.cpp:642 `_ + :message: "Failure + :severity: Info + :module: :source:`src/mongo/db/json.cpp#L642` .. error:: 13649 - Text: no operation yet - - Module: `lasterror.cpp:93 `_ + :message: "no + :throws: UserException + :module: :source:`src/mongo/db/lasterror.cpp#L93` .. error:: 16146 - Text: - - Module: `lockstat.cpp:76 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/lockstat.cpp#L76` .. error:: 16339 - Text: - - Module: `lockstat.cpp:87 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/lockstat.cpp#L87` .. error:: 16115 - Text: - - Module: `lockstate.cpp:171 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/lockstate.cpp#L171` .. error:: 16169 - Text: - - Module: `lockstate.cpp:84 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/lockstate.cpp#L84` .. error:: 16170 - Text: - - Module: `lockstate.cpp:206 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/lockstate.cpp#L206` .. error:: 16231 - Text: - - Module: `lockstate.cpp:201 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/lockstate.cpp#L201` .. error:: 10066 - Text: $where may only appear once in query - - Module: `matcher.cpp:421 `_ + :message: "$where + :throws: UserException + :module: :source:`src/mongo/db/matcher.cpp#L421` .. error:: 10067 - Text: $where query, but no script engine - - Module: `matcher.cpp:422 `_ + :message: "$where + :throws: UserException + :module: :source:`src/mongo/db/matcher.cpp#L422` .. error:: 10068 - Text: invalid operator: - - Module: `matcher.cpp:285 `_ + :message: (string)"invalid + :throws: UserException + :module: :source:`src/mongo/db/matcher.cpp#L285` .. error:: 10069 - Text: BUG - can't operator for: - - Module: `matcher.cpp:371 `_ + :message: (string)"BUG + :throws: UserException + :module: :source:`src/mongo/db/matcher.cpp#L371` .. error:: 10070 - Text: $where compile error - - Module: `matcher.cpp:106 `_ + :message: "$where + :throws: UserException + :module: :source:`src/mongo/db/matcher.cpp#L106` .. error:: 10071 - Text: - - Module: `matcher.cpp:120 `_ + :message: ss.str(), + :throws: UserException + :module: :source:`src/mongo/db/matcher.cpp#L120` .. error:: 10072 - Text: unknown error in invocation of $where function - - Module: `matcher.cpp:123 `_ + :message: "unknown + :throws: UserException + :module: :source:`src/mongo/db/matcher.cpp#L123` .. error:: 10073 - Text: mod can't be 0 - - Module: `matcher.cpp:155 `_ + :message: "mod + :throws: UserException + :module: :source:`src/mongo/db/matcher.cpp#L155` .. error:: 10341 - Text: code has to be set first! - - Module: `matcher.cpp:90 `_ + :message: "code + :severity: Info + :module: :source:`src/mongo/db/matcher.cpp#L90` .. error:: 10342 - Text: pcre not compiled with utf8 support - - Module: `matcher.cpp:1315 `_ + :message: "pcre + :severity: Info + :module: :source:`src/mongo/db/matcher.cpp#L1315` .. error:: 12517 - Text: $elemMatch needs an Object - - Module: `matcher.cpp:162 `_ + :message: "$elemMatch + :throws: UserException + :module: :source:`src/mongo/db/matcher.cpp#L162` .. error:: 13020 - Text: with $all, can't mix $elemMatch and others - - Module: `matcher.cpp:215 `_ + :message: "with + :throws: UserException + :module: :source:`src/mongo/db/matcher.cpp#L215` .. error:: 13029 - Text: can't use $not with $options, use BSON regex type instead - - Module: `matcher.cpp:362 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/db/matcher.cpp#L362` .. error:: 13030 - Text: $not cannot be empty - - Module: `matcher.cpp:479 `_ + :message: "$not + :throws: UserException + :module: :source:`src/mongo/db/matcher.cpp#L479` .. error:: 13031 - Text: invalid use of $not - - Module: `matcher.cpp:489 `_ + :message: "invalid + :throws: UserException + :module: :source:`src/mongo/db/matcher.cpp#L489` .. error:: 13032 - Text: can't use $not with $regex, use BSON regex type instead - - Module: `matcher.cpp:351 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/db/matcher.cpp#L351` .. error:: 13086 - Text: $and/$or/$nor must be a nonempty array - - Module: `matcher.cpp:377 `_ + :message: "$and/$or/$nor + :throws: UserException + :module: :source:`src/mongo/db/matcher.cpp#L377` .. error:: 13087 - Text: $and/$or/$nor match element must be an object - - Module: `matcher.cpp:381 `_ + :message: "$and/$or/$nor + :throws: UserException + :module: :source:`src/mongo/db/matcher.cpp#L381` .. error:: 13089 - Text: no current client needed for $where - - Module: `matcher.cpp:423 `_ + :message: "no + :severity: Info + :module: :source:`src/mongo/db/matcher.cpp#L423` .. error:: 13276 - Text: $in needs an array - - Module: `matcher.cpp:310 `_ + :message: "$in + :throws: UserException + :module: :source:`src/mongo/db/matcher.cpp#L310` .. error:: 13277 - Text: $nin needs an array - - Module: `matcher.cpp:321 `_ + :message: "$nin + :throws: UserException + :module: :source:`src/mongo/db/matcher.cpp#L321` .. error:: 13629 - Text: can't have undefined in a query expression - - Module: `matcher.cpp:438 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/db/matcher.cpp#L438` .. error:: 14844 - Text: $atomic specifier must be a top level field - - Module: `matcher.cpp:516 `_ + :message: "$atomic + :throws: UserException + :module: :source:`src/mongo/db/matcher.cpp#L516` .. error:: 15882 - Text: $elemMatch not allowed within $in - - Module: `matcher.cpp:207 `_ + :message: "$elemMatch + :throws: UserException + :module: :source:`src/mongo/db/matcher.cpp#L207` .. error:: 15902 - Text: $where expression has an unexpected type - - Module: `matcher.cpp:420 `_ + :message: "$where + :throws: UserException + :module: :source:`src/mongo/db/matcher.cpp#L420` .. error:: 13520 - Text: MongoMMF only supports filenames in a certain format - - Module: `mongommf.cpp:162 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/mongommf.cpp#L162` .. error:: 13636 - Text: file " << filename() << " open/create failed in createPrivateMap (look in log for more information) - - Module: `mongommf.cpp:191 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/db/mongommf.cpp#L191` .. error:: 16112 - Text: - - Module: `mongommf.cpp:46 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/mongommf.cpp#L46` .. error:: 10080 - Text: ns name too long, max size is 128 - - Module: `namespace-inl.h:35 `_ + :message: "ns + :throws: UserException + :module: :source:`src/mongo/db/namespace-inl.h#L35` .. error:: 10348 - Text: $extra: ns name too long - - Module: `namespace-inl.h:45 `_ + :message: "$extra: + :severity: Info + :module: :source:`src/mongo/db/namespace-inl.h#L45` .. error:: 10349 - Text: E12000 idxNo fails - - Module: `namespace_details-inl.h:55 `_ + :message: "E12000 + :severity: Info + :module: :source:`src/mongo/db/namespace_details-inl.h#L55` .. error:: 13283 - Text: Missing Extra - - Module: `namespace_details-inl.h:33 `_ + :message: "Missing + :throws: MsgAssertionException + :module: :source:`src/mongo/db/namespace_details-inl.h#L33` .. error:: 14045 - Text: missing Extra - - Module: `namespace_details-inl.h:34 `_ + :message: "missing + :severity: Info + :module: :source:`src/mongo/db/namespace_details-inl.h#L34` .. error:: 14823 - Text: missing extra - - Module: `namespace_details-inl.h:41 `_ + :message: "missing + :throws: MsgAssertionException + :module: :source:`src/mongo/db/namespace_details-inl.h#L41` .. error:: 14824 - Text: missing Extra - - Module: `namespace_details-inl.h:42 `_ + :message: "missing + :severity: Info + :module: :source:`src/mongo/db/namespace_details-inl.h#L42` .. error:: 10079 - Text: bad .ns file length, cannot open database - - Module: `namespace_details.cpp:171 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/db/namespace_details.cpp#L171` .. error:: 10081 - Text: too many namespaces/collections - - Module: `namespace_details.cpp:482 `_ + :message: "too + :throws: UserException + :module: :source:`src/mongo/db/namespace_details.cpp#L482` .. error:: 10082 - Text: allocExtra: too many namespaces/collections - - Module: `namespace_details.cpp:497 `_ + :message: "allocExtra: + :throws: UserException + :module: :source:`src/mongo/db/namespace_details.cpp#L497` .. error:: 10343 - Text: bad lenForNewNsFiles - - Module: `namespace_details.cpp:178 `_ + :message: "bad + :severity: Info + :module: :source:`src/mongo/db/namespace_details.cpp#L178` .. error:: 10346 - Text: not implemented - - Module: `namespace_details.cpp:568 `_ + :message: "not + :severity: Info + :module: :source:`src/mongo/db/namespace_details.cpp#L568` .. error:: 10350 - Text: allocExtra: base ns missing? - - Module: `namespace_details.cpp:492 `_ + :message: "allocExtra: + :severity: Info + :module: :source:`src/mongo/db/namespace_details.cpp#L492` .. error:: 10351 - Text: allocExtra: extra already exists - - Module: `namespace_details.cpp:493 `_ + :message: "allocExtra: + :severity: Info + :module: :source:`src/mongo/db/namespace_details.cpp#L493` .. error:: 10078 - Text: nsToDatabase: ns too long - - Module: `namespacestring.h:148 `_ + :message: "nsToDatabase: + :severity: Info + :module: :source:`src/mongo/db/namespacestring.h#L148` .. error:: 10088 - Text: nsToDatabase: ns too long - - Module: `namespacestring.h:159 `_ + :message: "nsToDatabase: + :severity: Info + :module: :source:`src/mongo/db/namespacestring.h#L159` .. error:: 10352 - Text: Security is a singleton class - - Module: `nonce.cpp:33 `_ + :message: "Security + :severity: Info + :module: :source:`src/mongo/db/nonce.cpp#L33` .. error:: 10353 - Text: can't open dev/urandom: - - Module: `nonce.cpp:44 `_ + :message: std::string("can't + :severity: Info + :module: :source:`src/mongo/db/nonce.cpp#L44` .. error:: 10354 - Text: md5 unit test fails - - Module: `nonce.cpp:53 `_ + :message: "md5 + :severity: Info + :module: :source:`src/mongo/db/nonce.cpp#L53` .. error:: 10355 - Text: devrandom failed - - Module: `nonce.cpp:62 `_ + :message: "devrandom + :severity: Info + :module: :source:`src/mongo/db/nonce.cpp#L62` .. error:: 13044 - Text: no ts field in query - - Module: `oplog.cpp:530 `_ + :message: "no + :severity: Info + :module: :source:`src/mongo/db/oplog.cpp#L530` .. error:: 13257 - Text: - - Module: `oplog.cpp:349 `_ + :message: ss.str() + :throws: UserException + :module: :source:`src/mongo/db/oplog.cpp#L349` .. error:: 13288 - Text: replSet error write op to db before replSet initialized", str::startsWith(ns, "local. - - Module: `oplog.cpp:54 `_ + :message: "replSet + :throws: UserException + :module: :source:`src/mongo/db/oplog.cpp#L54` .. error:: 13312 - Text: replSet error : logOp() but not primary? - - Module: `oplog.cpp:145 `_ + :message: "replSet + :severity: Info + :module: :source:`src/mongo/db/oplog.cpp#L145` .. error:: 13347 - Text: local.oplog.rs missing. did you drop it? if so restart server - - Module: `oplog.cpp:183 `_ + :message: "local.oplog.rs + :severity: Info + :module: :source:`src/mongo/db/oplog.cpp#L183` .. error:: 13389 - Text: local.oplog.rs missing. did you drop it? if so restart server - - Module: `oplog.cpp:73 `_ + :message: "local.oplog.rs + :severity: Info + :module: :source:`src/mongo/db/oplog.cpp#L73` .. error:: 14038 - Text: invalid _findingStartMode - - Module: `oplog.cpp:474 `_ + :message: "invalid + :severity: Info + :module: :source:`src/mongo/db/oplog.cpp#L474` .. error:: 14825 - Text: error in applyOperation : unknown opType - - Module: `oplog.cpp:849 `_ + :message: ErrorMsg("error + :throws: MsgAssertionException + :module: :source:`src/mongo/db/oplog.cpp#L849` .. error:: 15916 - Text: Can no longer connect to initial sync source: - - Module: `oplog.cpp:679 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/oplog.cpp#L679` .. error:: 15917 - Text: Got bad disk location when attempting to insert - - Module: `oplog.cpp:713 `_ + :message: "Got + :throws: UserException + :module: :source:`src/mongo/db/oplog.cpp#L713` .. error:: 15910 - Text: Doesn't have cursor for reading oplog - - Module: `oplogreader.h:83 `_ + :message: "Doesn't + :throws: UserException + :module: :source:`src/mongo/db/oplogreader.h#L83` .. error:: 15911 - Text: Doesn't have cursor for reading oplog - - Module: `oplogreader.h:88 `_ + :message: "Doesn't + :throws: UserException + :module: :source:`src/mongo/db/oplogreader.h#L88` .. error:: 10100 - Text: cannot delete from collection with reserved $ in name - - Module: `delete.cpp:44 `_ + :message: "cannot + :throws: UserException + :module: :source:`src/mongo/db/ops/delete.cpp#L44` .. error:: 10101 - Text: can't remove from a capped collection - - Module: `delete.cpp:52 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/db/ops/delete.cpp#L52` .. error:: 12050 - Text: cannot delete from system namespace - - Module: `delete.cpp:40 `_ + :message: "cannot + :throws: UserException + :module: :source:`src/mongo/db/ops/delete.cpp#L40` .. error:: 10110 - Text: bad query object - - Module: `query.cpp:954 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/db/ops/query.cpp#L954` .. error:: 13051 - Text: tailable cursor requested on non capped collection - - Module: `query.cpp:993 `_ + :message: "tailable + :throws: UserException + :module: :source:`src/mongo/db/ops/query.cpp#L993` .. error:: 13052 - Text: only {$natural:1} order allowed for tailable cursor - - Module: `query.cpp:999 `_ + :message: "only + :throws: UserException + :module: :source:`src/mongo/db/ops/query.cpp#L999` .. error:: 13530 - Text: bad or malformed command request? - - Module: `query.cpp:937 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/db/ops/query.cpp#L937` .. error:: 14833 - Text: auth error - - Module: `query.cpp:103 `_ + :message: "auth + :throws: UserException + :module: :source:`src/mongo/db/ops/query.cpp#L103` .. error:: 16256 - Text: Invalid ns [" << ns << "] - - Module: `query.cpp:911 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/ops/query.cpp#L911` .. error:: 16332 - Text: can't have an empty ns - - Module: `query.cpp:900 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/db/ops/query.cpp#L900` .. error:: 16083 - Text: reserve 16083 - - Module: `query.h:46 `_ + :message: "reserve + :severity: Info + :module: :source:`src/mongo/db/ops/query.h#L46` .. error:: 10154 - Text: Modifiers and non-modifiers cannot be mixed - - Module: `update.cpp:40 `_ + :message: "Modifiers + :throws: UserException + :module: :source:`src/mongo/db/ops/update.cpp#L40` .. error:: 10155 - Text: cannot update reserved $ collection - - Module: `update.cpp:476 `_ + :message: "cannot + :throws: UserException + :module: :source:`src/mongo/db/ops/update.cpp#L476` .. error:: 10156 - Text: - - Module: `update.cpp:479 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/ops/update.cpp#L479` .. error:: 10157 - Text: multi-update requires all modified objects to have an _id - - Module: `update.cpp:308 `_ + :message: "multi-update + :throws: UserException + :module: :source:`src/mongo/db/ops/update.cpp#L308` .. error:: 10158 - Text: multi update only works with $ operators - - Module: `update.cpp:425 `_ + :message: "multi + :throws: UserException + :module: :source:`src/mongo/db/ops/update.cpp#L425` .. error:: 10159 - Text: multi update only works with $ operators - - Module: `update.cpp:453 `_ + :message: "multi + :throws: UserException + :module: :source:`src/mongo/db/ops/update.cpp#L453` .. error:: 12522 - Text: $ operator made object too large - - Module: `update.cpp:45 `_ + :message: "$ + :throws: UserException + :module: :source:`src/mongo/db/ops/update.cpp#L45` .. error:: 10131 - Text: $push can only be applied to an array - - Module: `update_internal.cpp:116 `_ + :message: "$push + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L116` .. error:: 10132 - Text: $pushAll can only be applied to an array - - Module: `update_internal.cpp:187 `_ + :message: "$pushAll + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L187` .. error:: 10133 - Text: $pushAll has to be passed an array - - Module: `update_internal.cpp:188 `_ + :message: "$pushAll + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L188` .. error:: 10134 - Text: $pull/$pullAll can only be applied to an array - - Module: `update_internal.cpp:212 `_ + :message: "$pull/$pullAll + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L212` .. error:: 10135 - Text: $pop can only be applied to an array - - Module: `update_internal.cpp:247 `_ + :message: "$pop + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L247` .. error:: 10136 - Text: $bit needs an object - - Module: `update_internal.cpp:283 `_ + :message: "$bit + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L283` .. error:: 10137 - Text: $bit can only be applied to numbers - - Module: `update_internal.cpp:284 `_ + :message: "$bit + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L284` .. error:: 10138 - Text: $bit cannot update a value of type double - - Module: `update_internal.cpp:285 `_ + :message: "$bit + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L285` .. error:: 10139 - Text: $bit field must be number - - Module: `update_internal.cpp:293 `_ + :message: "$bit + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L293` .. error:: 10140 - Text: Cannot apply $inc modifier to non-number - - Module: `update_internal.cpp:402 `_ + :message: "Cannot + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L402` .. error:: 10141 - Text: - - Module: `update_internal.cpp:424 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L424` .. error:: 10142 - Text: - - Module: `update_internal.cpp:432 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L432` .. error:: 10143 - Text: - - Module: `update_internal.cpp:459 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L459` .. error:: 10145 - Text: - - Module: `update_internal.cpp:717 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L717` .. error:: 10147 - Text: Invalid modifier specified: - - Module: `update_internal.cpp:857 `_ + :message: "Invalid + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L857` .. error:: 10148 - Text: - - Module: `update_internal.cpp:874 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L874` .. error:: 10149 - Text: - - Module: `update_internal.cpp:877 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L877` .. error:: 10150 - Text: - - Module: `update_internal.cpp:880 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L880` .. error:: 10151 - Text: - - Module: `update_internal.cpp:883 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L883` .. error:: 10152 - Text: - - Module: `update_internal.cpp:886 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L886` .. error:: 10153 - Text: - - Module: `update_internal.cpp:889 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L889` .. error:: 10399 - Text: ModSet::createNewFromMods - RIGHT_SUBFIELD should be impossible - - Module: `update_internal.cpp:761 `_ + :message: "ModSet::createNewFromMods + :severity: Info + :module: :source:`src/mongo/db/ops/update_internal.cpp#L761` .. error:: 10400 - Text: unhandled case - - Module: `update_internal.cpp:764 `_ + :message: "unhandled + :severity: Info + :module: :source:`src/mongo/db/ops/update_internal.cpp#L764` .. error:: 12591 - Text: - - Module: `update_internal.cpp:467 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L467` .. error:: 12592 - Text: $addToSet can only be applied to an array - - Module: `update_internal.cpp:133 `_ + :message: "$addToSet + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L133` .. error:: 13478 - Text: can't apply mod in place - shouldn't have gotten here - - Module: `update_internal.cpp:610 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L610` .. error:: 13479 - Text: - - Module: `update_internal.cpp:902 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L902` .. error:: 13480 - Text: - - Module: `update_internal.cpp:905 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L905` .. error:: 13481 - Text: - - Module: `update_internal.cpp:908 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L908` .. error:: 13482 - Text: - - Module: `update_internal.cpp:911 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L911` .. error:: 13483 - Text: - - Module: `update_internal.cpp:915 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L915` .. error:: 13484 - Text: - - Module: `update_internal.cpp:919 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L919` .. error:: 13485 - Text: - - Module: `update_internal.cpp:922 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L922` .. error:: 13486 - Text: - - Module: `update_internal.cpp:925 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L925` .. error:: 13487 - Text: - - Module: `update_internal.cpp:929 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L929` .. error:: 13488 - Text: - - Module: `update_internal.cpp:932 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L932` .. error:: 13489 - Text: $rename source field invalid - - Module: `update_internal.cpp:374 `_ + :message: "$rename + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L374` .. error:: 13490 - Text: $rename target field invalid - - Module: `update_internal.cpp:385 `_ + :message: "$rename + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L385` .. error:: 13494 - Text: $rename target must be a string - - Module: `update_internal.cpp:894 `_ + :message: "$rename + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L894` .. error:: 13495 - Text: - - Module: `update_internal.cpp:896 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L896` .. error:: 13496 - Text: - - Module: `update_internal.cpp:899 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L899` .. error:: 15896 - Text: - - Module: `update_internal.cpp:871 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L871` .. error:: 16069 - Text: ModSet::createNewFromMods - - - Module: `update_internal.cpp:739 `_ + :message: "ModSet::createNewFromMods + :severity: Info + :module: :source:`src/mongo/db/ops/update_internal.cpp#L739` .. error:: 9016 - Text: unknown $bit operation: - - Module: `update_internal.cpp:309 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L309` .. error:: 9017 - Text: Mod::apply can't handle type: - - Module: `update_internal.cpp:332 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L332` .. error:: 10161 - Text: Invalid modifier specified - - Module: `update_internal.h:317 `_ + :message: "Invalid + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.h#L317` .. error:: 12527 - Text: not okForStorage - - Module: `update_internal.h:212 `_ + :message: "not + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.h#L212` .. error:: 13492 - Text: mod must be RENAME_TO type - - Module: `update_internal.h:237 `_ + :message: "mod + :severity: Info + :module: :source:`src/mongo/db/ops/update_internal.h#L237` .. error:: 9015 - Text: - - Module: `update_internal.h:580 `_ + :message: ss.str() + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.h#L580` .. error:: 10003 - Text: failing update: objects in a capped ns cannot grow - - Module: `pdfile.cpp:1080 `_ + :message: "failing + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L1080` .. error:: 10083 - Text: create collection invalid size spec - - Module: `pdfile.cpp:258 `_ + :message: "create + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L258` .. error:: 10084 - Text: can't map file memory - mongo requires 64 bit build for larger datasets - - Module: `pdfile.cpp:410 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L410` .. error:: 10085 - Text: can't map file memory - - Module: `pdfile.cpp:412 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L412` .. error:: 10086 - Text: ns not found: - - Module: `pdfile.cpp:892 `_ + :message: (string)"ns + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L892` .. error:: 10087 - Text: turn off profiling before dropping system.profile collection - - Module: `pdfile.cpp:900 `_ + :message: "turn + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L900` .. error:: 10089 - Text: can't remove from a capped collection - - Module: `pdfile.cpp:1014 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L1014` .. error:: 10093 - Text: cannot insert into reserved $ collection - - Module: `pdfile.cpp:1397 `_ + :message: "cannot + :severity: Info + :module: :source:`src/mongo/db/pdfile.cpp#L1397` .. error:: 10094 - Text: invalid ns: - - Module: `pdfile.cpp:1398 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L1398` .. error:: 10095 - Text: attempt to insert in reserved database name 'system' - - Module: `pdfile.cpp:1299 `_ + :message: "attempt + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L1299` .. error:: 10099 - Text: _id cannot be an array - - Module: `pdfile.cpp:1436 `_ + :message: "_id + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L1436` .. error:: 10356 - Text: invalid ns: - - Module: `pdfile.cpp:353 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/db/pdfile.cpp#L353` .. error:: 10357 - Text: shutdown in progress - - Module: `pdfile.cpp:514 `_ + :message: "shutdown + :severity: Info + :module: :source:`src/mongo/db/pdfile.cpp#L514` .. error:: 10358 - Text: bad new extent size - - Module: `pdfile.cpp:515 `_ + :message: "bad + :severity: Info + :module: :source:`src/mongo/db/pdfile.cpp#L515` .. error:: 10359 - Text: header==0 on new extent: 32 bit mmap space exceeded? - - Module: `pdfile.cpp:516 `_ + :message: "header==0 + :severity: Info + :module: :source:`src/mongo/db/pdfile.cpp#L516` .. error:: 10360 - Text: Extent::reset bad magic value - - Module: `pdfile.cpp:663 `_ + :message: "Extent::reset + :severity: Info + :module: :source:`src/mongo/db/pdfile.cpp#L663` .. error:: 10361 - Text: can't create .$freelist - - Module: `pdfile.cpp:872 `_ + :message: "can't + :severity: Info + :module: :source:`src/mongo/db/pdfile.cpp#L872` .. error:: 12502 - Text: can't drop system ns - - Module: `pdfile.cpp:902 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L902` .. error:: 12503 - Text: - - Module: `pdfile.cpp:940 `_ + :message: ss.str()); + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L940` .. error:: 12582 - Text: duplicate key insert for unique index of capped collection - - Module: `pdfile.cpp:1239 `_ + :message: "duplicate + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L1239` .. error:: 12583 - Text: unexpected index insertion failure on capped collection - - Module: `pdfile.cpp:1545 `_ + :message: "unexpected + :severity: Info + :module: :source:`src/mongo/db/pdfile.cpp#L1545` .. error:: 12586 - Text: cannot perform operation: a background operation is currently running for this database - - Module: `pdfile.cpp:111 `_ + :message: "cannot + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L111` .. error:: 12587 - Text: cannot perform operation: a background operation is currently running for this collection - - Module: `pdfile.cpp:116 `_ + :message: "cannot + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L116` .. error:: 13143 - Text: can't create index on system.indexes" , tabletoidxns.find( ".system.indexes - - Module: `pdfile.cpp:1340 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L1340` .. error:: 13440 - Text: - - Module: `pdfile.cpp:393 `_ + :message: ss.str()); + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L393` .. error:: 13441 - Text: - - Module: `pdfile.cpp:387 `_ + :message: ss.str()); + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L387` .. error:: 13596 - Text: cannot change _id of a document old:" << objOld << " new: - - Module: `pdfile.cpp:1075 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L1075` .. error:: 14037 - Text: can't create user databases on a --configsvr instance - - Module: `pdfile.cpp:234 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L234` .. error:: 14051 - Text: system.users entry needs 'user' field to be a string" , t["user - - Module: `pdfile.cpp:1307 `_ + :message: "system.users + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L1307` .. error:: 14052 - Text: system.users entry needs 'pwd' field to be a string" , t["pwd - - Module: `pdfile.cpp:1308 `_ + :message: "system.users + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L1308` .. error:: 14053 - Text: system.users entry needs 'user' field to be non-empty" , t["user - - Module: `pdfile.cpp:1309 `_ + :message: "system.users + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L1309` .. error:: 14054 - Text: system.users entry needs 'pwd' field to be non-empty" , t["pwd - - Module: `pdfile.cpp:1310 `_ + :message: "system.users + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L1310` .. error:: 13640 - Text: DataFileHeader looks corrupt at file open filelength:" << filelength << " fileno: - - Module: `pdfile.h:437 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/db/pdfile.h#L437` .. error:: 15943 - Text: group accumulator - - Module: `accumulator.cpp:28 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L28` .. error:: 16030 - Text: reserved error - - Module: `accumulator.cpp:59 `_ + :message: "reserved + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L59` .. error:: 16031 - Text: reserved error - - Module: `accumulator.cpp:60 `_ + :message: "reserved + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L60` .. error:: 16032 - Text: reserved error - - Module: `accumulator.cpp:61 `_ + :message: "reserved + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L61` .. error:: 16033 - Text: reserved error - - Module: `accumulator.cpp:62 `_ + :message: "reserved + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L62` .. error:: 16036 - Text: reserved error - - Module: `accumulator.cpp:64 `_ + :message: "reserved + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L64` .. error:: 16037 - Text: reserved error - - Module: `accumulator.cpp:65 `_ + :message: "reserved + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L65` .. error:: 16038 - Text: reserved error - - Module: `accumulator.cpp:66 `_ + :message: "reserved + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L66` .. error:: 16039 - Text: reserved error - - Module: `accumulator.cpp:67 `_ + :message: "reserved + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L67` .. error:: 16040 - Text: reserved error - - Module: `accumulator.cpp:68 `_ + :message: "reserved + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L68` .. error:: 16041 - Text: reserved error - - Module: `accumulator.cpp:69 `_ + :message: "reserved + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L69` .. error:: 16042 - Text: reserved error - - Module: `accumulator.cpp:70 `_ + :message: "reserved + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L70` .. error:: 16043 - Text: reserved error - - Module: `accumulator.cpp:71 `_ + :message: "reserved + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L71` .. error:: 16044 - Text: reserved error - - Module: `accumulator.cpp:72 `_ + :message: "reserved + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L72` .. error:: 16045 - Text: reserved error - - Module: `accumulator.cpp:73 `_ + :message: "reserved + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L73` .. error:: 16046 - Text: reserved error - - Module: `accumulator.cpp:74 `_ + :message: "reserved + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L74` .. error:: 16047 - Text: reserved error - - Module: `accumulator.cpp:75 `_ + :message: "reserved + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L75` .. error:: 16048 - Text: reserved error - - Module: `accumulator.cpp:76 `_ + :message: "reserved + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L76` .. error:: 16049 - Text: reserved error - - Module: `accumulator.cpp:77 `_ + :message: "reserved + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L77` .. error:: 16000 - Text: $sum resulted in a non-numeric type - - Module: `accumulator_sum.cpp:74 `_ + :message: "$sum + :severity: Info + :module: :source:`src/mongo/db/pipeline/accumulator_sum.cpp#L74` .. error:: 15944 - Text: terminating request: request heap use exceeded 10% of physical RAM - - Module: `doc_mem_monitor.cpp:55 `_ + :message: "terminating + :throws: UserException + :module: :source:`src/mongo/db/pipeline/doc_mem_monitor.cpp#L55` .. error:: 16390 - Text: sharded pipeline failed on shard - - Module: `document_source_command_shards.cpp:95 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_command_shards.cpp#L95` .. error:: 16391 - Text: no result array? shard: - - Module: `document_source_command_shards.cpp:102 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/db/pipeline/document_source_command_shards.cpp#L102` .. error:: 16028 - Text: collection or database disappeared when cursor yielded - - Module: `document_source_cursor.cpp:88 `_ + :message: "collection + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_cursor.cpp#L88` .. error:: 15946 - Text: a document filter expression must be an object - - Module: `document_source_filter.cpp:75 `_ + :message: "a + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_filter.cpp#L75` .. error:: 15947 - Text: a group's fields must be specified in an object - - Module: `document_source_group.cpp:163 `_ + :message: "a + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L163` .. error:: 15948 - Text: a group's _id may only be specified once - - Module: `document_source_group.cpp:177 `_ + :message: "a + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L177` .. error:: 15949 - Text: - - Module: `document_source_group.cpp:234 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L234` .. error:: 15950 - Text: - - Module: `document_source_group.cpp:250 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L250` .. error:: 15951 - Text: - - Module: `document_source_group.cpp:255 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L255` .. error:: 15952 - Text: - - Module: `document_source_group.cpp:274 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L274` .. error:: 15953 - Text: - - Module: `document_source_group.cpp:289 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L289` .. error:: 15954 - Text: - - Module: `document_source_group.cpp:301 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L301` .. error:: 15955 - Text: a group specification must include an _id - - Module: `document_source_group.cpp:308 `_ + :message: "a + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L308` .. error:: 16414 - Text: - - Module: `document_source_group.cpp:245 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L245` .. error:: 15957 - Text: the limit must be specified as a number - - Module: `document_source_limit.cpp:100 `_ + :message: "the + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_limit.cpp#L100` .. error:: 15958 - Text: the limit must be positive - - Module: `document_source_limit.cpp:107 `_ + :message: "the + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_limit.cpp#L107` .. error:: 15959 - Text: the match filter must be an expression in an object - - Module: `document_source_match.cpp:84 `_ + :message: "the + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_match.cpp#L84` .. error:: 16395 - Text: $where is not allowed inside of a $match aggregation expression - - Module: `document_source_match.cpp:67 `_ + :message: "$where + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_match.cpp#L67` .. error:: 16424 - Text: $near is not allowed inside of a $match aggregation expression - - Module: `document_source_match.cpp:70 `_ + :message: "$near + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_match.cpp#L70` .. error:: 16425 - Text: $within is not allowed inside of a $match aggregation expression - - Module: `document_source_match.cpp:72 `_ + :message: "$within + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_match.cpp#L72` .. error:: 16426 - Text: $nearSphere is not allowed inside of a $match aggregation expression - - Module: `document_source_match.cpp:74 `_ + :message: "$nearSphere + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_match.cpp#L74` .. error:: 15969 - Text: - - Module: `document_source_project.cpp:110 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_project.cpp#L110` .. error:: 16402 - Text: parseObject() returned wrong type of Expression - - Module: `document_source_project.cpp:127 `_ + :message: "parseObject() + :severity: Info + :module: :source:`src/mongo/db/pipeline/document_source_project.cpp#L127` .. error:: 16403 - Text: $projection requires at least one output field - - Module: `document_source_project.cpp:128 `_ + :message: "$projection + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_project.cpp#L128` .. error:: 15956 - Text: - - Module: `document_source_skip.cpp:119 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_skip.cpp#L119` .. error:: 15972 - Text: - - Module: `document_source_skip.cpp:111 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_skip.cpp#L111` .. error:: 15973 - Text: the - - Module: `document_source_sort.cpp:123 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_sort.cpp#L123` .. error:: 15974 - Text: - - Module: `document_source_sort.cpp:138 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_sort.cpp#L138` .. error:: 15975 - Text: - - Module: `document_source_sort.cpp:143 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_sort.cpp#L143` .. error:: 15976 - Text: - - Module: `document_source_sort.cpp:151 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_sort.cpp#L151` .. error:: 15978 - Text: - - Module: `document_source_unwind.cpp:97 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_unwind.cpp#L97` .. error:: 15979 - Text: can't unwind more than one path - - Module: `document_source_unwind.cpp:270 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_unwind.cpp#L270` .. error:: 15981 - Text: the - - Module: `document_source_unwind.cpp:282 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_unwind.cpp#L282` .. error:: 15982 - Text: - - Module: `expression.cpp:58 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L58` .. error:: 15983 - Text: - - Module: `expression.cpp:88 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L88` .. error:: 15990 - Text: this object is already an operator expression, and can't be used as a document expression (at ' - - Module: `expression.cpp:102 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L102` .. error:: 15992 - Text: - - Module: `expression.cpp:162 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L162` .. error:: 15993 - Text: - - Module: `expression.cpp:2131 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L2131` .. error:: 15997 - Text: - - Module: `expression.cpp:2138 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L2138` .. error:: 15999 - Text: invalid operator ' - - Module: `expression.cpp:242 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L242` .. error:: 16014 - Text: - - Module: `expression.cpp:1347 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L1347` .. error:: 16019 - Text: the - - Module: `expression.cpp:253 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L253` .. error:: 16020 - Text: the - - Module: `expression.cpp:276 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L276` .. error:: 16021 - Text: the - - Module: `expression.cpp:260 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L260` .. error:: 16022 - Text: the - - Module: `expression.cpp:290 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L290` .. error:: 16034 - Text: - - Module: `expression.cpp:2374 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L2374` .. error:: 16035 - Text: - - Module: `expression.cpp:2380 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L2380` .. error:: 16373 - Text: - - Module: `expression.cpp:946 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L946` .. error:: 16374 - Text: $mod does not support dates - - Module: `expression.cpp:1757 `_ + :message: "$mod + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L1757` .. error:: 16375 - Text: $multiply does not support dates - - Module: `expression.cpp:1858 `_ + :message: "$multiply + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L1858` .. error:: 16376 - Text: - - Module: `expression.cpp:2429 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L2429` .. error:: 16400 - Text: - - Module: `expression.cpp:1196 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L1196` .. error:: 16401 - Text: - - Module: `expression.cpp:1214 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L1214` .. error:: 16404 - Text: $expressions are not allowed at the top-level of $project - - Module: `expression.cpp:93 `_ + :message: "$expressions + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L93` .. error:: 16405 - Text: dotted field names are only allowed at the top level - - Module: `expression.cpp:106 `_ + :message: "dotted + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L106` .. error:: 16406 - Text: - - Module: `expression.cpp:154 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L154` .. error:: 16407 - Text: inclusion not supported in objects nested in $expressions - - Module: `expression.cpp:1014 `_ + :message: "inclusion + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L1014` .. error:: 16413 - Text: $subtract resulted in a non-numeric type - - Module: `expression.cpp:2446 `_ + :message: "$subtract + :severity: Info + :module: :source:`src/mongo/db/pipeline/expression.cpp#L2446` .. error:: 16415 - Text: $add does not support dates - - Module: `expression.cpp:347 `_ + :message: "$add + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L347` .. error:: 16416 - Text: $add does not support strings - - Module: `expression.cpp:349 `_ + :message: "$add + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L349` .. error:: 16417 - Text: $add resulted in a non-numeric type - - Module: `expression.cpp:367 `_ + :message: "$add + :severity: Info + :module: :source:`src/mongo/db/pipeline/expression.cpp#L367` .. error:: 16418 - Text: $multiply resulted in a non-numeric type - - Module: `expression.cpp:1872 `_ + :message: "$multiply + :severity: Info + :module: :source:`src/mongo/db/pipeline/expression.cpp#L1872` .. error:: 16419 - Text: field path must not contain embedded null characters" << prefixedField.find("\0") << ", - - Module: `expression.cpp:54 `_ + :message: str::stream()<<"field + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L54` .. error:: 16420 - Text: field inclusion is not allowed inside of $expressions - - Module: `expression.cpp:149 `_ + :message: "field + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L149` .. error:: 15998 - Text: FieldPath field names may not be empty strings. - - Module: `field_path.cpp:88 `_ + :message: "FieldPath + :throws: UserException + :module: :source:`src/mongo/db/pipeline/field_path.cpp#L88` .. error:: 16409 - Text: FieldPath cannot be constructed from an empty vector. - - Module: `field_path.cpp:28 `_ + :message: "FieldPath + :severity: Info + :module: :source:`src/mongo/db/pipeline/field_path.cpp#L28` .. error:: 16410 - Text: FieldPath field names may not start with '$'. - - Module: `field_path.cpp:89 `_ + :message: "FieldPath + :throws: UserException + :module: :source:`src/mongo/db/pipeline/field_path.cpp#L89` .. error:: 16411 - Text: FieldPath field names may not contain '\0'. - - Module: `field_path.cpp:90 `_ + :message: "FieldPath + :throws: UserException + :module: :source:`src/mongo/db/pipeline/field_path.cpp#L90` .. error:: 16412 - Text: FieldPath field names may not contain '.'. - - Module: `field_path.cpp:92 `_ + :message: "FieldPath + :throws: UserException + :module: :source:`src/mongo/db/pipeline/field_path.cpp#L92` .. error:: 15942 - Text: pipeline element - - Module: `pipeline.cpp:160 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/pipeline.cpp#L160` .. error:: 16389 - Text: - - Module: `pipeline.cpp:409 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/pipeline/pipeline.cpp#L409` .. error:: 16001 - Text: - - Module: `value.cpp:77 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/value.cpp#L77` .. error:: 16002 - Text: - - Module: `value.cpp:184 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/value.cpp#L184` .. error:: 16003 - Text: - - Module: `value.cpp:551 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/value.cpp#L551` .. error:: 16004 - Text: - - Module: `value.cpp:577 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/value.cpp#L577` .. error:: 16005 - Text: - - Module: `value.cpp:603 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/value.cpp#L603` .. error:: 16006 - Text: - - Module: `value.cpp:622 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/value.cpp#L622` .. error:: 16007 - Text: - - Module: `value.cpp:709 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/value.cpp#L709` .. error:: 16016 - Text: - - Module: `value.cpp:811 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/value.cpp#L811` .. error:: 16017 - Text: - - Module: `value.cpp:862 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/value.cpp#L862` .. error:: 16018 - Text: - - Module: `value.cpp:963 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/value.cpp#L963` .. error:: 16378 - Text: - - Module: `value.cpp:725 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/value.cpp#L725` .. error:: 16421 - Text: Can't handle date values outside of time_t range - - Module: `value.cpp:640 `_ + :message: "Can't + :throws: UserException + :module: :source:`src/mongo/db/pipeline/value.cpp#L640` .. error:: 16422 - Text: gmtime failed - your system doesn't support dates before 1970 - - Module: `value.cpp:661 `_ + :message: "gmtime + :throws: UserException + :module: :source:`src/mongo/db/pipeline/value.cpp#L661` .. error:: 16423 - Text: gmtime failed to convert time_t of - - Module: `value.cpp:664 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/value.cpp#L664` .. error:: 16427 - Text: - - Module: `prefetch.cpp:144 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/prefetch.cpp#L144` .. error:: 10053 - Text: You cannot currently mix including and excluding fields. - - Module: `projection.cpp:100 `_ + :message: "You + :throws: UserException + :module: :source:`src/mongo/db/projection.cpp#L100` .. error:: 10371 - Text: can only add to Projection once - - Module: `projection.cpp:26 `_ + :message: "can + :severity: Info + :module: :source:`src/mongo/db/projection.cpp#L26` .. error:: 13097 - Text: Unsupported projection option: - - Module: `projection.cpp:83 `_ + :message: string("Unsupported + :throws: UserException + :module: :source:`src/mongo/db/projection.cpp#L83` .. error:: 13098 - Text: $slice only supports numbers and [skip, limit] arrays - - Module: `projection.cpp:61 `_ + :message: "$slice + :throws: UserException + :module: :source:`src/mongo/db/projection.cpp#L61` .. error:: 13099 - Text: $slice array wrong size - - Module: `projection.cpp:51 `_ + :message: "$slice + :throws: UserException + :module: :source:`src/mongo/db/projection.cpp#L51` .. error:: 13100 - Text: $slice limit must be positive - - Module: `projection.cpp:56 `_ + :message: "$slice + :throws: UserException + :module: :source:`src/mongo/db/projection.cpp#L56` .. error:: 16342 - Text: elemMatch: invalid argument. object required. - - Module: `projection.cpp:66 `_ + :message: "elemMatch: + :throws: UserException + :module: :source:`src/mongo/db/projection.cpp#L66` .. error:: 16343 - Text: Cannot specify positional operator and $elemMatch - - Module: `projection.cpp:68 `_ + :message: "Cannot + :throws: UserException + :module: :source:`src/mongo/db/projection.cpp#L68` .. error:: 16344 - Text: Cannot use $elemMatch projection on a nested field - - Module: `projection.cpp:71 `_ + :message: "Cannot + :throws: UserException + :module: :source:`src/mongo/db/projection.cpp#L71` .. error:: 16345 - Text: Cannot exclude array elements with the positional operator - - Module: `projection.cpp:107 `_ + :message: "Cannot + :throws: UserException + :module: :source:`src/mongo/db/projection.cpp#L107` .. error:: 16346 - Text: Cannot specify more than one positional array element per query - - Module: `projection.cpp:109 `_ + :message: "Cannot + :throws: UserException + :module: :source:`src/mongo/db/projection.cpp#L109` .. error:: 16347 - Text: Cannot specify positional operator and $elemMatch - - Module: `projection.cpp:111 `_ + :message: "Cannot + :throws: UserException + :module: :source:`src/mongo/db/projection.cpp#L111` .. error:: 16348 - Text: matchers are only supported for $elemMatch - - Module: `projection.cpp:174 `_ + :message: "matchers + :severity: Info + :module: :source:`src/mongo/db/projection.cpp#L174` .. error:: 16349 - Text: $elemMatch specified, but projection field not found. - - Module: `projection.cpp:184 `_ + :message: "$elemMatch + :severity: Info + :module: :source:`src/mongo/db/projection.cpp#L184` .. error:: 16350 - Text: $elemMatch called on document element with eoo - - Module: `projection.cpp:188 `_ + :message: "$elemMatch + :severity: Info + :module: :source:`src/mongo/db/projection.cpp#L188` .. error:: 16351 - Text: $elemMatch called on array element with eoo - - Module: `projection.cpp:190 `_ + :message: "$elemMatch + :severity: Info + :module: :source:`src/mongo/db/projection.cpp#L190` .. error:: 16352 - Text: positional operator ( - - Module: `projection.cpp:287 `_ + :message: mongoutils::str::stream() + :throws: UserException + :module: :source:`src/mongo/db/projection.cpp#L287` .. error:: 16353 - Text: positional operator element mismatch - - Module: `projection.cpp:292 `_ + :message: "positional + :throws: UserException + :module: :source:`src/mongo/db/projection.cpp#L292` .. error:: 16354 - Text: Positional operator does not match the query specifier. - - Module: `projection.cpp:343 `_ + :message: "Positional + :throws: UserException + :module: :source:`src/mongo/db/projection.cpp#L343` .. error:: 10111 - Text: table scans not allowed: - - Module: `queryoptimizer.cpp:357 `_ + :message: (string)"table + :throws: UserException + :module: :source:`src/mongo/db/queryoptimizer.cpp#L357` .. error:: 10112 - Text: bad hint - - Module: `queryoptimizer.cpp:73 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/db/queryoptimizer.cpp#L73` .. error:: 10113 - Text: bad hint - - Module: `queryoptimizer.cpp:85 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/db/queryoptimizer.cpp#L85` .. error:: 10363 - Text: newCursor() with start location not implemented for indexed plans - - Module: `queryoptimizer.cpp:292 `_ + :message: "newCursor() + :severity: Info + :module: :source:`src/mongo/db/queryoptimizer.cpp#L292` .. error:: 10364 - Text: newReverseCursor() not implemented for indexed plans - - Module: `queryoptimizer.cpp:315 `_ + :message: "newReverseCursor() + :severity: Info + :module: :source:`src/mongo/db/queryoptimizer.cpp#L315` .. error:: 10365 - Text: - - Module: `queryoptimizer.cpp:742 `_ + :message: errmsg, + :severity: Info + :module: :source:`src/mongo/db/queryoptimizer.cpp#L742` .. error:: 10366 - Text: natural order cannot be specified with $min/$max - - Module: `queryoptimizer.cpp:623 `_ + :message: "natural + :throws: UserException + :module: :source:`src/mongo/db/queryoptimizer.cpp#L623` .. error:: 10367 - Text: - - Module: `queryoptimizer.cpp:635 `_ + :message: errmsg, + :throws: UserException + :module: :source:`src/mongo/db/queryoptimizer.cpp#L635` .. error:: 10368 - Text: Unable to locate previously recorded index - - Module: `queryoptimizer.cpp:696 `_ + :message: "Unable + :severity: Info + :module: :source:`src/mongo/db/queryoptimizer.cpp#L696` .. error:: 10369 - Text: no plans - - Module: `queryoptimizer.cpp:1018 `_ + :message: "no + :severity: Info + :module: :source:`src/mongo/db/queryoptimizer.cpp#L1018` .. error:: 13038 - Text: can't find special index: - - Module: `queryoptimizer.cpp:659 `_ + :message: (string)"can't + :throws: UserException + :module: :source:`src/mongo/db/queryoptimizer.cpp#L659` .. error:: 13040 - Text: no type for special: - - Module: `queryoptimizer.cpp:160 `_ + :message: (string)"no + :severity: Info + :module: :source:`src/mongo/db/queryoptimizer.cpp#L160` .. error:: 13268 - Text: invalid $or spec - - Module: `queryoptimizer.cpp:1218 `_ + :message: "invalid + :severity: Info + :module: :source:`src/mongo/db/queryoptimizer.cpp#L1218` .. error:: 13292 - Text: hint eoo - - Module: `queryoptimizer.cpp:60 `_ + :message: "hint + :severity: Info + :module: :source:`src/mongo/db/queryoptimizer.cpp#L60` .. error:: 16330 - Text: 'special' query operator not allowed - - Module: `queryoptimizer.cpp:654 `_ + :message: "'special' + :throws: UserException + :module: :source:`src/mongo/db/queryoptimizer.cpp#L654` .. error:: 16331 - Text: 'special' plan hint not allowed - - Module: `queryoptimizer.cpp:750 `_ + :message: "'special' + :throws: UserException + :module: :source:`src/mongo/db/queryoptimizer.cpp#L750` .. error:: 13266 - Text: not implemented for $or query - - Module: `queryoptimizer.h:614 `_ + :message: "not + :severity: Info + :module: :source:`src/mongo/db/queryoptimizer.h#L614` .. error:: 13271 - Text: no more clauses - - Module: `queryoptimizer.h:617 `_ + :message: "no + :severity: Info + :module: :source:`src/mongo/db/queryoptimizer.h#L617` .. error:: 14809 - Text: Invalid access for cursor that is not ok() - - Module: `queryoptimizercursorimpl.cpp:666 `_ + :message: "Invalid + :severity: Info + :module: :source:`src/mongo/db/queryoptimizercursorimpl.cpp#L666` .. error:: 16249 - Text: - - Module: `queryoptimizercursorimpl.cpp:99 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/queryoptimizercursorimpl.cpp#L99` .. error:: 9011 - Text: - - Module: `queryoptimizercursorimpl.cpp:82 `_ + :message: , + :throws: MsgAssertionException + :module: :source:`src/mongo/db/queryoptimizercursorimpl.cpp#L82` .. error:: 14049 - Text: FieldRangeSetPair invalid index specified - - Module: `queryutil-inl.h:138 `_ + :message: "FieldRangeSetPair + :severity: Info + :module: :source:`src/mongo/db/queryutil-inl.h#L138` .. error:: 10370 - Text: $all requires array - - Module: `queryutil.cpp:364 `_ + :message: "$all + :throws: UserException + :module: :source:`src/mongo/db/queryutil.cpp#L364` .. error:: 12580 - Text: invalid query - - Module: `queryutil.cpp:174 `_ + :message: "invalid + :throws: UserException + :module: :source:`src/mongo/db/queryutil.cpp#L174` .. error:: 13033 - Text: can't have 2 special fields - - Module: `queryutil.cpp:764 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/db/queryutil.cpp#L764` .. error:: 13034 - Text: invalid use of $not - - Module: `queryutil.cpp:902 `_ + :message: "invalid + :throws: UserException + :module: :source:`src/mongo/db/queryutil.cpp#L902` .. error:: 13041 - Text: invalid use of $not - - Module: `queryutil.cpp:912 `_ + :message: "invalid + :throws: UserException + :module: :source:`src/mongo/db/queryutil.cpp#L912` .. error:: 13050 - Text: $all requires array - - Module: `queryutil.cpp:876 `_ + :message: "$all + :throws: UserException + :module: :source:`src/mongo/db/queryutil.cpp#L876` .. error:: 13262 - Text: $or requires nonempty array - - Module: `queryutil.cpp:1713 `_ + :message: "$or + :throws: UserException + :module: :source:`src/mongo/db/queryutil.cpp#L1713` .. error:: 13263 - Text: $or array must contain objects - - Module: `queryutil.cpp:1717 `_ + :message: "$or + :throws: UserException + :module: :source:`src/mongo/db/queryutil.cpp#L1717` .. error:: 13274 - Text: no or clause to pop - - Module: `queryutil.cpp:1729 `_ + :message: "no + :severity: Info + :module: :source:`src/mongo/db/queryutil.cpp#L1729` .. error:: 13291 - Text: $or may not contain 'special' query - - Module: `queryutil.cpp:1719 `_ + :message: "$or + :throws: UserException + :module: :source:`src/mongo/db/queryutil.cpp#L1719` .. error:: 13303 - Text: combinatorial limit of $in partitioning of result set exceeded - - Module: `queryutil.cpp:1244 `_ + :message: "combinatorial + :throws: UserException + :module: :source:`src/mongo/db/queryutil.cpp#L1244` .. error:: 13304 - Text: combinatorial limit of $in partitioning of result set exceeded - - Module: `queryutil.cpp:1254 `_ + :message: "combinatorial + :throws: UserException + :module: :source:`src/mongo/db/queryutil.cpp#L1254` .. error:: 13385 - Text: combinatorial limit of $in partitioning of result set exceeded - - Module: `queryutil.cpp:1116 `_ + :message: "combinatorial + :throws: UserException + :module: :source:`src/mongo/db/queryutil.cpp#L1116` .. error:: 13454 - Text: invalid regular expression operator - - Module: `queryutil.cpp:255 `_ + :message: "invalid + :throws: UserException + :module: :source:`src/mongo/db/queryutil.cpp#L255` .. error:: 14048 - Text: FieldRangeSetPair invalid index specified - - Module: `queryutil.cpp:1348 `_ + :message: "FieldRangeSetPair + :severity: Info + :module: :source:`src/mongo/db/queryutil.cpp#L1348` .. error:: 14816 - Text: $and expression must be a nonempty array - - Module: `queryutil.cpp:970 `_ + :message: "$and + :throws: UserException + :module: :source:`src/mongo/db/queryutil.cpp#L970` .. error:: 14817 - Text: $and/$or elements must be objects - - Module: `queryutil.cpp:957 `_ + :message: "$and/$or + :throws: UserException + :module: :source:`src/mongo/db/queryutil.cpp#L957` .. error:: 15881 - Text: $elemMatch not allowed within $in - - Module: `queryutil.cpp:178 `_ + :message: "$elemMatch + :throws: UserException + :module: :source:`src/mongo/db/queryutil.cpp#L178` .. error:: 10102 - Text: bad order array - - Module: `queryutil.h:41 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/db/queryutil.h#L41` .. error:: 10103 - Text: bad order array [2] - - Module: `queryutil.h:42 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/db/queryutil.h#L42` .. error:: 10104 - Text: too many ordering elements - - Module: `queryutil.h:45 `_ + :message: "too + :throws: UserException + :module: :source:`src/mongo/db/queryutil.h#L45` .. error:: 10105 - Text: bad skip value in query - - Module: `queryutil.h:130 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/db/queryutil.h#L130` .. error:: 12001 - Text: E12001 can't sort with $snapshot - - Module: `queryutil.h:213 `_ + :message: "E12001 + :throws: UserException + :module: :source:`src/mongo/db/queryutil.h#L213` .. error:: 12002 - Text: E12002 can't use hint with $snapshot - - Module: `queryutil.h:214 `_ + :message: "E12002 + :throws: UserException + :module: :source:`src/mongo/db/queryutil.h#L214` .. error:: 13513 - Text: sort must be an object or array - - Module: `queryutil.h:183 `_ + :message: "sort + :throws: UserException + :module: :source:`src/mongo/db/queryutil.h#L183` .. error:: 16236 - Text: - - Module: `record.cpp:445 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/record.cpp#L445` .. error:: 10002 - Text: local.sources collection corrupt? - - Module: `repl.cpp:398 `_ + :message: "local.sources + :throws: UserException + :module: :source:`src/mongo/db/repl.cpp#L398` .. error:: 10118 - Text: 'host' field not set in sources collection object - - Module: `repl.cpp:266 `_ + :message: "'host' + :throws: UserException + :module: :source:`src/mongo/db/repl.cpp#L266` .. error:: 10119 - Text: only source='main' allowed for now with replication", sourceName() == "main - - Module: `repl.cpp:267 `_ + :message: "only + :throws: UserException + :module: :source:`src/mongo/db/repl.cpp#L267` .. error:: 10120 - Text: bad sources 'syncedTo' field value - - Module: `repl.cpp:270 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/db/repl.cpp#L270` .. error:: 10123 - Text: replication error last applied optime at slave >= nextOpTime from master - - Module: `repl.cpp:1012 `_ + :message: "replication + :throws: UserException + :module: :source:`src/mongo/db/repl.cpp#L1012` .. error:: 10124 - Text: - - Module: `repl.cpp:1248 `_ + :message: e.type() + :throws: UserException + :module: :source:`src/mongo/db/repl.cpp#L1248` .. error:: 10384 - Text: --only requires use of --source - - Module: `repl.cpp:409 `_ + :message: "--only + :severity: Info + :module: :source:`src/mongo/db/repl.cpp#L409` .. error:: 10385 - Text: Unable to get database list - - Module: `repl.cpp:465 `_ + :message: "Unable + :severity: Info + :module: :source:`src/mongo/db/repl.cpp#L465` .. error:: 10386 - Text: non Date ts found: - - Module: `repl.cpp:781 `_ + :message: "non + :severity: Info + :module: :source:`src/mongo/db/repl.cpp#L781` .. error:: 10389 - Text: Unable to get database list - - Module: `repl.cpp:810 `_ + :message: "Unable + :severity: Info + :module: :source:`src/mongo/db/repl.cpp#L810` .. error:: 10390 - Text: got $err reading remote oplog - - Module: `repl.cpp:900 `_ + :message: "got + :severity: Info + :module: :source:`src/mongo/db/repl.cpp#L900` .. error:: 10391 - Text: repl: bad object read from remote oplog - - Module: `repl.cpp:905 `_ + :message: "repl: + :severity: Info + :module: :source:`src/mongo/db/repl.cpp#L905` .. error:: 10392 - Text: bad user object? [1] - - Module: `repl.cpp:1080 `_ + :message: "bad + :severity: Info + :module: :source:`src/mongo/db/repl.cpp#L1080` .. error:: 10393 - Text: bad user object? [2] - - Module: `repl.cpp:1081 `_ + :message: "bad + :severity: Info + :module: :source:`src/mongo/db/repl.cpp#L1081` .. error:: 13344 - Text: trying to slave off of a non-master - - Module: `repl.cpp:896 `_ + :message: "trying + :severity: Info + :module: :source:`src/mongo/db/repl.cpp#L896` .. error:: 13435 - Text: not master and slaveOk=false - - Module: `repl.cpp:1556 `_ + :message: "not + :throws: UserException + :module: :source:`src/mongo/db/repl.cpp#L1556` .. error:: 13436 - Text: - - Module: `repl.cpp:1558 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/repl.cpp#L1558` .. error:: 14032 - Text: Invalid 'ts' in remote log - - Module: `repl.cpp:570 `_ + :message: "Invalid + :severity: Info + :module: :source:`src/mongo/db/repl.cpp#L570` .. error:: 14033 - Text: Unable to get database list - - Module: `repl.cpp:576 `_ + :message: "Unable + :severity: Info + :module: :source:`src/mongo/db/repl.cpp#L576` .. error:: 14034 - Text: Duplicate database names present after attempting to delete duplicates - - Module: `repl.cpp:618 `_ + :message: "Duplicate + :severity: Info + :module: :source:`src/mongo/db/repl.cpp#L618` .. error:: 15914 - Text: Failure retrying initial sync update - - Module: `repl.cpp:629 `_ + :message: "Failure + :throws: UserException + :module: :source:`src/mongo/db/repl.cpp#L629` .. error:: 1000 - Text: replSet source for syncing doesn't seem to be await capable -- is it an older version of mongodb? - - Module: `bgsync.cpp:280 `_ + :message: "replSet + :throws: UserException + :module: :source:`src/mongo/db/repl/bgsync.cpp#L280` .. error:: 16235 - Text: going to start syncing, but buffer is not empty - - Module: `bgsync.cpp:519 `_ + :message: "going + :severity: Info + :module: :source:`src/mongo/db/repl/bgsync.cpp#L519` .. error:: 13112 - Text: bad replset heartbeat option - - Module: `health.h:41 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/db/repl/health.h#L41` .. error:: 13113 - Text: bad replset heartbeat option - - Module: `health.h:42 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/db/repl/health.h#L42` .. error:: 15900 - Text: can't heartbeat: too much lock - - Module: `heartbeat.cpp:150 `_ + :message: "can't + :severity: Info + :module: :source:`src/mongo/db/repl/heartbeat.cpp#L150` .. error:: 13093 - Text: bad --replSet config string format is: [/,,...] - - Module: `rs.cpp:328 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/db/repl/rs.cpp#L328` .. error:: 13096 - Text: bad --replSet command line config string - dups? - - Module: `rs.cpp:347 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/db/repl/rs.cpp#L347` .. error:: 13101 - Text: can't use localhost in replset host list - - Module: `rs.cpp:349 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/db/repl/rs.cpp#L349` .. error:: 13114 - Text: bad --replSet seed hostname - - Module: `rs.cpp:345 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/db/repl/rs.cpp#L345` .. error:: 13290 - Text: bad replSet oplog entry? - - Module: `rs.cpp:443 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/db/repl/rs.cpp#L443` .. error:: 13302 - Text: replSet error self appears twice in the repl set configuration - - Module: `rs.cpp:547 `_ + :message: "replSet + :throws: UserException + :module: :source:`src/mongo/db/repl/rs.cpp#L547` .. error:: 13107 - Text: - - Module: `rs_config.cpp:532 `_ + :message: ss.str(), + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L532` .. error:: 13108 - Text: bad replset config -- duplicate hosts in the config object? - - Module: `rs_config.cpp:542 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L542` .. error:: 13109 - Text: multiple rows in " << rsConfigNs << " not supported host: - - Module: `rs_config.cpp:648 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L648` .. error:: 13115 - Text: bad " + rsConfigNs + " config: version - - Module: `rs_config.cpp:463 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L463` .. error:: 13117 - Text: bad " + rsConfigNs + " config - - Module: `rs_config.cpp:549 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L549` .. error:: 13122 - Text: bad repl set config? - - Module: `rs_config.cpp:566 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L566` .. error:: 13126 - Text: bad Member config - - Module: `rs_config.cpp:140 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L140` .. error:: 13131 - Text: replSet error parsing (or missing) 'members' field in config object - - Module: `rs_config.cpp:473 `_ + :message: "replSet + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L473` .. error:: 13132 - Text: - - Module: `rs_config.cpp:320 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L320` .. error:: 13133 - Text: replSet bad config no members - - Module: `rs_config.cpp:324 `_ + :message: "replSet + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L324` .. error:: 13135 - Text: - - Module: `rs_config.cpp:538 `_ + :message: ss.str(), + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L538` .. error:: 13260 - Text: - - Module: `rs_config.cpp:623 `_ + :message: "", + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L623` .. error:: 13308 - Text: replSet bad config version # - - Module: `rs_config.cpp:323 `_ + :message: "replSet + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L323` .. error:: 13309 - Text: replSet bad config maximum number of members is 12 - - Module: `rs_config.cpp:325 `_ + :message: "replSet + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L325` .. error:: 13393 - Text: can't use localhost in repl set member names except when using it for all members - - Module: `rs_config.cpp:548 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L548` .. error:: 13419 - Text: priorities must be between 0.0 and 100.0 - - Module: `rs_config.cpp:147 `_ + :message: "priorities + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L147` .. error:: 13432 - Text: _id may not change for members - - Module: `rs_config.cpp:272 `_ + :message: "_id + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L272` .. error:: 13433 - Text: can't find self in new replset config - - Module: `rs_config.cpp:289 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L289` .. error:: 13434 - Text: unexpected field '" << e.fieldName() << "' in object - - Module: `rs_config.cpp:43 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L43` .. error:: 13437 - Text: slaveDelay requires priority be zero - - Module: `rs_config.cpp:148 `_ + :message: "slaveDelay + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L148` .. error:: 13438 - Text: bad slaveDelay value - - Module: `rs_config.cpp:149 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L149` .. error:: 13439 - Text: priority must be 0 when hidden=true - - Module: `rs_config.cpp:150 `_ + :message: "priority + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L150` .. error:: 13476 - Text: buildIndexes may not change for members - - Module: `rs_config.cpp:276 `_ + :message: "buildIndexes + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L276` .. error:: 13477 - Text: priority must be 0 when buildIndexes=false - - Module: `rs_config.cpp:151 `_ + :message: "priority + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L151` .. error:: 13510 - Text: arbiterOnly may not change for members - - Module: `rs_config.cpp:282 `_ + :message: "arbiterOnly + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L282` .. error:: 13612 - Text: replSet bad config maximum number of voting members is 7 - - Module: `rs_config.cpp:332 `_ + :message: "replSet + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L332` .. error:: 13613 - Text: replSet bad config no voting members - - Module: `rs_config.cpp:333 `_ + :message: "replSet + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L333` .. error:: 13645 - Text: hosts cannot switch between localhost and hostname - - Module: `rs_config.cpp:266 `_ + :message: "hosts + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L266` .. error:: 14046 - Text: getLastErrorMode rules must be objects - - Module: `rs_config.cpp:382 `_ + :message: "getLastErrorMode + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L382` .. error:: 14827 - Text: arbiters cannot have tags - - Module: `rs_config.cpp:524 `_ + :message: "arbiters + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L524` .. error:: 14828 - Text: getLastErrorMode criteria must be greater than 0: - - Module: `rs_config.cpp:394 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L394` .. error:: 14829 - Text: getLastErrorMode criteria must be numeric - - Module: `rs_config.cpp:389 `_ + :message: "getLastErrorMode + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L389` .. error:: 14831 - Text: mode " << clauseObj << " requires - - Module: `rs_config.cpp:399 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L399` .. error:: 13404 - Text: - - Module: `rs_initialsync.cpp:44 `_ + :message: m); + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_initialsync.cpp#L44` .. error:: 16233 - Text: - - Module: `rs_initialsync.cpp:66 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/repl/rs_initialsync.cpp#L66` .. error:: 13144 - Text: - - Module: `rs_initiate.cpp:130 `_ + :message: msg); + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_initiate.cpp#L130` .. error:: 13145 - Text: set name does not match the set name host " + i->h.toString() + " expects - - Module: `rs_initiate.cpp:93 `_ + :message: "set + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_initiate.cpp#L93` .. error:: 13256 - Text: member " + i->h.toString() + " is already initiated - - Module: `rs_initiate.cpp:97 `_ + :message: "member + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_initiate.cpp#L97` .. error:: 13259 - Text: - - Module: `rs_initiate.cpp:83 `_ + :message: ss.str()); + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_initiate.cpp#L83` .. error:: 13278 - Text: bad config: isSelf is true for multiple hosts: - - Module: `rs_initiate.cpp:58 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_initiate.cpp#L58` .. error:: 13279 - Text: - - Module: `rs_initiate.cpp:64 `_ + :message: ss.str()); + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_initiate.cpp#L64` .. error:: 13311 - Text: member " + i->h.toString() + " has data already, cannot initiate set. All members except initiator must be empty. - - Module: `rs_initiate.cpp:136 `_ + :message: "member + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_initiate.cpp#L136` .. error:: 13341 - Text: member " + i->h.toString() + " has a config version >= to the new cfg version; cannot change config - - Module: `rs_initiate.cpp:102 `_ + :message: "member + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_initiate.cpp#L102` .. error:: 13420 - Text: initiation and reconfiguration of a replica set must be sent to a node that can become primary - - Module: `rs_initiate.cpp:51 `_ + :message: "initiation + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_initiate.cpp#L51` .. error:: 13410 - Text: replSet too much data to roll back - - Module: `rs_rollback.cpp:344 `_ + :message: "replSet + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_rollback.cpp#L344` .. error:: 13423 - Text: replSet error in rollback can't find - - Module: `rs_rollback.cpp:454 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_rollback.cpp#L454` .. error:: 15909 - Text: replSet rollback error resyncing collection - - Module: `rs_rollback.cpp:397 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_rollback.cpp#L397` .. error:: 12000 - Text: rs slaveDelay differential too big check clocks and systems - - Module: `rs_sync.cpp:442 `_ + :message: "rs + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_sync.cpp#L442` .. error:: 15915 - Text: - - Module: `rs_sync.cpp:138 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/repl/rs_sync.cpp#L138` .. error:: 16113 - Text: - - Module: `rs_sync.cpp:624 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/repl/rs_sync.cpp#L624` .. error:: 16359 - Text: - - Module: `rs_sync.cpp:114 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/repl/rs_sync.cpp#L114` .. error:: 16360 - Text: - - Module: `rs_sync.cpp:118 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/repl/rs_sync.cpp#L118` .. error:: 16361 - Text: - - Module: `rs_sync.cpp:154 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/repl/rs_sync.cpp#L154` .. error:: 16397 - Text: - - Module: `rs_sync.cpp:177 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/repl/rs_sync.cpp#L177` .. error:: 14830 - Text: unrecognized getLastError mode: - - Module: `repl_block.cpp:164 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/repl_block.cpp#L164` .. error:: 16250 - Text: w has to be a string or a number - - Module: `repl_block.cpp:150 `_ + :message: "w + :throws: UserException + :module: :source:`src/mongo/db/repl_block.cpp#L150` .. error:: 10107 - Text: not master - - Module: `replutil.h:82 `_ + :message: "not + :throws: UserException + :module: :source:`src/mongo/db/replutil.h#L82` .. error:: 13085 - Text: query failed for dbwebserver - - Module: `restapi.cpp:150 `_ + :message: "query + :throws: UserException + :module: :source:`src/mongo/db/restapi.cpp#L150` .. error:: 16172 - Text: couldn't get readlock to open admin db - - Module: `restapi.cpp:241 `_ + :message: "couldn't + :throws: UserException + :module: :source:`src/mongo/db/restapi.cpp#L241` .. error:: 16173 - Text: couldn't get read lock to get admin auth credentials - - Module: `restapi.cpp:254 `_ + :message: "couldn't + :throws: UserException + :module: :source:`src/mongo/db/restapi.cpp#L254` .. error:: 16174 - Text: couldn't get read lock to check admin user - - Module: `restapi.cpp:263 `_ + :message: "couldn't + :throws: UserException + :module: :source:`src/mongo/db/restapi.cpp#L263` .. error:: 15925 - Text: cannot sort with keys that are parallel arrays - - Module: `scanandorder.cpp:39 `_ + :message: "cannot + :throws: UserException + :module: :source:`src/mongo/db/scanandorder.cpp#L39` .. error:: 16355 - Text: positional operator specified, but no array match - - Module: `scanandorder.cpp:78 `_ + :message: "positional + :severity: Info + :module: :source:`src/mongo/db/scanandorder.cpp#L78` .. error:: 15889 - Text: key file must be used to log in with internal user - - Module: `security.cpp:120 `_ + :message: "key + :throws: UserException + :module: :source:`src/mongo/db/security.cpp#L120` .. error:: 16232 - Text: - - Module: `security.cpp:35 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/db/security.cpp#L35` .. error:: 12528 - Text: should be ok for storage: - - Module: `jsobjtests.cpp:2026 `_ + :message: (string)"should + :throws: UserException + :module: :source:`src/mongo/dbtests/jsobjtests.cpp#L2026` .. error:: 12529 - Text: should NOT be ok for storage: - - Module: `jsobjtests.cpp:2033 `_ + :message: (string)"should + :throws: UserException + :module: :source:`src/mongo/dbtests/jsobjtests.cpp#L2033` .. error:: 13258 - Text: oids broken after resetting! - - Module: `balance.cpp:334 `_ + :message: "oids + :throws: UserException + :module: :source:`src/mongo/s/balance.cpp#L334` .. error:: 16356 - Text: tag ranges not valid for: - - Module: `balance.cpp:236 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/balance.cpp#L236` .. error:: 10163 - Text: can only handle numbers here - which i think is correct - - Module: `chunk.cpp:129 `_ + :message: "can + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L129` .. error:: 10165 - Text: can't split as shard doesn't have a manager - - Module: `chunk.cpp:267 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L267` .. error:: 10167 - Text: can't move shard to its current location! - - Module: `chunk.cpp:305 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L305` .. error:: 10169 - Text: datasize failed!" , conn->get()->runCommand( "admin - - Module: `chunk.cpp:454 `_ + :message: "datasize + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L454` .. error:: 10170 - Text: Chunk needs a ns - - Module: `chunk.cpp:71 `_ + :message: "Chunk + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L71` .. error:: 10171 - Text: Chunk needs a server - - Module: `chunk.cpp:74 `_ + :message: "Chunk + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L74` .. error:: 10172 - Text: Chunk needs a min - - Module: `chunk.cpp:76 `_ + :message: "Chunk + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L76` .. error:: 10173 - Text: Chunk needs a max - - Module: `chunk.cpp:77 `_ + :message: "Chunk + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L77` .. error:: 10174 - Text: config servers not all up - - Module: `chunk.cpp:1199 `_ + :message: "config + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L1199` .. error:: 10412 - Text: - - Module: `chunk.cpp:423 `_ + :message: , + :severity: Info + :module: :source:`src/mongo/s/chunk.cpp#L423` .. error:: 13003 - Text: can't split a chunk with only one distinct value - - Module: `chunk.cpp:270 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L270` .. error:: 13141 - Text: Chunk map pointed to incorrect chunk - - Module: `chunk.cpp:1056 `_ + :message: "Chunk + :severity: Info + :module: :source:`src/mongo/s/chunk.cpp#L1056` .. error:: 13282 - Text: Couldn't load a valid config for " + _ns + " after 3 attempts. Please try again. - - Module: `chunk.cpp:676 `_ + :message: "Couldn't + :severity: Info + :module: :source:`src/mongo/s/chunk.cpp#L676` .. error:: 13327 - Text: Chunk ns must match server ns - - Module: `chunk.cpp:72 `_ + :message: "Chunk + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L72` .. error:: 13331 - Text: collection's metadata is undergoing changes. Please try again. - - Module: `chunk.cpp:1197 `_ + :message: "collection's + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L1197` .. error:: 13332 - Text: need a split key to split chunk - - Module: `chunk.cpp:268 `_ + :message: "need + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L268` .. error:: 13333 - Text: can't split a chunk in that many parts - - Module: `chunk.cpp:269 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L269` .. error:: 13345 - Text: - - Module: `chunk.cpp:192 `_ + :message: os.str() + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L192` .. error:: 13405 - Text: min value " << min << " does not have shard key - - Module: `chunk.cpp:1136 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L1136` .. error:: 13406 - Text: max value " << max << " does not have shard key - - Module: `chunk.cpp:1137 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L1137` .. error:: 13449 - Text: collection " << _ns << " already sharded with - - Module: `chunk.cpp:997 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L997` .. error:: 13501 - Text: use geoNear command rather than $near query - - Module: `chunk.cpp:1082 `_ + :message: "use + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L1082` .. error:: 13502 - Text: unrecognized special query type: - - Module: `chunk.cpp:1089 `_ + :message: "unrecognized + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L1089` .. error:: 13503 - Text: - - Module: `chunk.cpp:162 `_ + :message: os.str() + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L162` .. error:: 13507 - Text: no chunks found between bounds " << min << " and - - Module: `chunk.cpp:1143 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/s/chunk.cpp#L1143` .. error:: 14022 - Text: Error locking distributed lock for chunk drop. - - Module: `chunk.cpp:1194 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L1194` .. error:: 15903 - Text: - - Module: `chunk.cpp:1023 `_ + :message: ss + :severity: Info + :module: :source:`src/mongo/s/chunk.cpp#L1023` .. error:: 16068 - Text: no chunk ranges available - - Module: `chunk.cpp:1128 `_ + :message: "no + :severity: Info + :module: :source:`src/mongo/s/chunk.cpp#L1128` .. error:: 16338 - Text: - - Module: `chunk.cpp:1234 `_ + :message: ss.str() + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L1234` .. error:: 8070 - Text: - - Module: `chunk.cpp:1060 `_ + :message: , + :severity: Info + :module: :source:`src/mongo/s/chunk.cpp#L1060` .. error:: 8071 - Text: cleaning up after drop failed: - - Module: `chunk.cpp:1256 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L1256` .. error:: 13134 - Text: - - Module: `client_info.cpp:60 `_ + :message: ss.str() + :throws: UserException + :module: :source:`src/mongo/s/client_info.cpp#L60` .. error:: 10420 - Text: how could chunk manager be null! - - Module: `commands_public.cpp:846 `_ + :message: "how + :severity: Info + :module: :source:`src/mongo/s/commands_public.cpp#L846` .. error:: 12594 - Text: how could chunk manager be null! - - Module: `commands_public.cpp:579 `_ + :message: "how + :severity: Info + :module: :source:`src/mongo/s/commands_public.cpp#L579` .. error:: 13002 - Text: shard internal error chunk manager should never be null - - Module: `commands_public.cpp:704 `_ + :message: "shard + :severity: Info + :module: :source:`src/mongo/s/commands_public.cpp#L704` .. error:: 13091 - Text: how could chunk manager be null! - - Module: `commands_public.cpp:911 `_ + :message: "how + :severity: Info + :module: :source:`src/mongo/s/commands_public.cpp#L911` .. error:: 13137 - Text: Source and destination collections must be on same shard - - Module: `commands_public.cpp:444 `_ + :message: "Source + :throws: UserException + :module: :source:`src/mongo/s/commands_public.cpp#L444` .. error:: 13138 - Text: You can't rename a sharded collection - - Module: `commands_public.cpp:438 `_ + :message: "You + :throws: UserException + :module: :source:`src/mongo/s/commands_public.cpp#L438` .. error:: 13139 - Text: You can't rename to a sharded collection - - Module: `commands_public.cpp:439 `_ + :message: "You + :throws: UserException + :module: :source:`src/mongo/s/commands_public.cpp#L439` .. error:: 13140 - Text: Don't recognize source or target DB - - Module: `commands_public.cpp:437 `_ + :message: "Don't + :throws: UserException + :module: :source:`src/mongo/s/commands_public.cpp#L437` .. error:: 13343 - Text: query for sharded findAndModify must have shardkey - - Module: `commands_public.cpp:707 `_ + :message: "query + :throws: UserException + :module: :source:`src/mongo/s/commands_public.cpp#L707` .. error:: 13398 - Text: cant copy to sharded DB - - Module: `commands_public.cpp:458 `_ + :message: "cant + :throws: UserException + :module: :source:`src/mongo/s/commands_public.cpp#L458` .. error:: 13399 - Text: need a fromdb argument - - Module: `commands_public.cpp:466 `_ + :message: "need + :throws: UserException + :module: :source:`src/mongo/s/commands_public.cpp#L466` .. error:: 13400 - Text: don't know where source DB is - - Module: `commands_public.cpp:469 `_ + :message: "don't + :throws: UserException + :module: :source:`src/mongo/s/commands_public.cpp#L469` .. error:: 13401 - Text: cant copy from sharded DB - - Module: `commands_public.cpp:470 `_ + :message: "cant + :throws: UserException + :module: :source:`src/mongo/s/commands_public.cpp#L470` .. error:: 13402 - Text: need a todb argument - - Module: `commands_public.cpp:455 `_ + :message: "need + :throws: UserException + :module: :source:`src/mongo/s/commands_public.cpp#L455` .. error:: 13407 - Text: how could chunk manager be null! - - Module: `commands_public.cpp:747 `_ + :message: "how + :severity: Info + :module: :source:`src/mongo/s/commands_public.cpp#L747` .. error:: 13408 - Text: keyPattern must equal shard key - - Module: `commands_public.cpp:753 `_ + :message: "keyPattern + :throws: UserException + :module: :source:`src/mongo/s/commands_public.cpp#L753` .. error:: 13500 - Text: how could chunk manager be null! - - Module: `commands_public.cpp:1016 `_ + :message: "how + :severity: Info + :module: :source:`src/mongo/s/commands_public.cpp#L1016` .. error:: 15920 - Text: Cannot output to a non-sharded collection, a sharded collection exists - - Module: `commands_public.cpp:1214 `_ + :message: "Cannot + :throws: UserException + :module: :source:`src/mongo/s/commands_public.cpp#L1214` .. error:: 16246 - Text: Shard " + conf->getName() + " is too old to support GridFS sharded by {files_id:1, n:1} - - Module: `commands_public.cpp:975 `_ + :message: "Shard + :throws: UserException + :module: :source:`src/mongo/s/commands_public.cpp#L975` .. error:: 16260 - Text: skip has to be positive - - Module: `commands_public.cpp:518 `_ + :message: "skip + :throws: UserException + :module: :source:`src/mongo/s/commands_public.cpp#L518` .. error:: 10178 - Text: no primary! - - Module: `config.cpp:147 `_ + :message: "no + :throws: UserException + :module: :source:`src/mongo/s/config.cpp#L147` .. error:: 10181 - Text: not sharded: - - Module: `config.cpp:310 `_ + :message: (string)"not + :throws: UserException + :module: :source:`src/mongo/s/config.cpp#L310` .. error:: 10184 - Text: _dropShardedCollections too many collections - bailing - - Module: `config.cpp:677 `_ + :message: "_dropShardedCollections + :throws: UserException + :module: :source:`src/mongo/s/config.cpp#L677` .. error:: 10187 - Text: need configdbs - - Module: `config.cpp:722 `_ + :message: "need + :throws: UserException + :module: :source:`src/mongo/s/config.cpp#L722` .. error:: 10189 - Text: should only have 1 thing in config.version - - Module: `config.cpp:897 `_ + :message: "should + :throws: UserException + :module: :source:`src/mongo/s/config.cpp#L897` .. error:: 13396 - Text: DBConfig save failed: - - Module: `config.cpp:521 `_ + :message: (string)"DBConfig + :throws: UserException + :module: :source:`src/mongo/s/config.cpp#L521` .. error:: 13473 - Text: failed to save collection (" + ns + "): - - Module: `config.cpp:110 `_ + :message: (string)"failed + :throws: UserException + :module: :source:`src/mongo/s/config.cpp#L110` .. error:: 13509 - Text: can't migrate from 1.5.x release to the current one; need to upgrade to 1.6.x first - - Module: `config.cpp:454 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/s/config.cpp#L454` .. error:: 13648 - Text: can't shard collection because not all config servers are up - - Module: `config.cpp:167 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/config.cpp#L167` .. error:: 14822 - Text: state changed in the middle: - - Module: `config.cpp:394 `_ + :message: (string)"state + :throws: UserException + :module: :source:`src/mongo/s/config.cpp#L394` .. error:: 15883 - Text: not sharded after chunk manager reset : - - Module: `config.cpp:426 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/config.cpp#L426` .. error:: 15885 - Text: not sharded after reloading from chunks : - - Module: `config.cpp:341 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/config.cpp#L341` .. error:: 8042 - Text: db doesn't have sharding enabled - - Module: `config.cpp:166 `_ + :message: "db + :throws: UserException + :module: :source:`src/mongo/s/config.cpp#L166` .. error:: 8043 - Text: collection already sharded - - Module: `config.cpp:175 `_ + :message: "collection + :throws: UserException + :module: :source:`src/mongo/s/config.cpp#L175` .. error:: 10190 - Text: ConfigServer not setup - - Module: `config.h:220 `_ + :message: "ConfigServer + :throws: UserException + :module: :source:`src/mongo/s/config.h#L220` .. error:: 8041 - Text: no primary shard configured for db: - - Module: `config.h:163 `_ + :message: (string)"no + :throws: UserException + :module: :source:`src/mongo/s/config.h#L163` .. error:: 10191 - Text: cursor already done - - Module: `cursors.cpp:91 `_ + :message: "cursor + :throws: UserException + :module: :source:`src/mongo/s/cursors.cpp#L91` .. error:: 13286 - Text: sent 0 cursors to kill - - Module: `cursors.cpp:239 `_ + :message: "sent + :throws: UserException + :module: :source:`src/mongo/s/cursors.cpp#L239` .. error:: 13287 - Text: too many cursors to kill - - Module: `cursors.cpp:240 `_ + :message: "too + :throws: UserException + :module: :source:`src/mongo/s/cursors.cpp#L240` .. error:: 13542 - Text: collection doesn't have a key: - - Module: `d_chunk_manager.cpp:183 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/d_chunk_manager.cpp#L183` .. error:: 13585 - Text: version " << version.toString() << " not greater than - - Module: `d_chunk_manager.cpp:344 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/d_chunk_manager.cpp#L344` .. error:: 13586 - Text: couldn't find chunk " << min << "-> - - Module: `d_chunk_manager.cpp:312 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/d_chunk_manager.cpp#L312` .. error:: 13587 - Text: - - Module: `d_chunk_manager.cpp:320 `_ + :message: os.str() + :throws: UserException + :module: :source:`src/mongo/s/d_chunk_manager.cpp#L320` .. error:: 13588 - Text: - - Module: `d_chunk_manager.cpp:380 `_ + :message: os.str() + :throws: UserException + :module: :source:`src/mongo/s/d_chunk_manager.cpp#L380` .. error:: 13590 - Text: setting version to " << version.toString() << " on removing last chunk - - Module: `d_chunk_manager.cpp:334 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/d_chunk_manager.cpp#L334` .. error:: 13591 - Text: version can't be set to zero - - Module: `d_chunk_manager.cpp:366 `_ + :message: "version + :throws: UserException + :module: :source:`src/mongo/s/d_chunk_manager.cpp#L366` .. error:: 14039 - Text: version " << version.toString() << " not greater than - - Module: `d_chunk_manager.cpp:407 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/d_chunk_manager.cpp#L407` .. error:: 14040 - Text: can split " << min << " -> " << max << " on - - Module: `d_chunk_manager.cpp:414 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/d_chunk_manager.cpp#L414` .. error:: 16181 - Text: could not initialize cursor to config server chunks collection for ns - - Module: `d_chunk_manager.cpp:128 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/d_chunk_manager.cpp#L128` .. error:: 16229 - Text: - - Module: `d_chunk_manager.cpp:161 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/s/d_chunk_manager.cpp#L161` .. error:: 10422 - Text: write with bad shard config and no server id! - - Module: `d_logic.cpp:110 `_ + :message: "write + :severity: Info + :module: :source:`src/mongo/s/d_logic.cpp#L110` .. error:: 9517 - Text: writeback - - Module: `d_logic.cpp:104 `_ + :message: "writeback" + :throws: UserException + :module: :source:`src/mongo/s/d_logic.cpp#L104` .. error:: 13593 - Text: - - Module: `d_split.cpp:718 `_ + :message: ss.str() + :severity: Info + :module: :source:`src/mongo/s/d_split.cpp#L718` .. error:: 13298 - Text: - - Module: `d_state.cpp:79 `_ + :message: ss.str() + :severity: Info + :module: :source:`src/mongo/s/d_state.cpp#L79` .. error:: 13299 - Text: - - Module: `d_state.cpp:101 `_ + :message: ss.str() + :severity: Info + :module: :source:`src/mongo/s/d_state.cpp#L101` .. error:: 13647 - Text: context should be empty here, is: - - Module: `d_state.cpp:592 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/s/d_state.cpp#L592` .. error:: 10185 - Text: can't find a shard to put new db on - - Module: `grid.cpp:118 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/s/grid.cpp#L118` .. error:: 10186 - Text: removeDB expects db name - - Module: `grid.cpp:138 `_ + :message: "removeDB + :throws: UserException + :module: :source:`src/mongo/s/grid.cpp#L138` .. error:: 10421 - Text: - - Module: `grid.cpp:540 `_ + :message: , + :severity: Info + :module: :source:`src/mongo/s/grid.cpp#L540` .. error:: 15918 - Text: - - Module: `grid.cpp:44 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/s/grid.cpp#L44` .. error:: 10194 - Text: can't call primaryShard on a sharded collection! - - Module: `request.cpp:109 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/s/request.cpp#L109` .. error:: 13644 - Text: can't use 'local' database through mongos" , ! str::startsWith( getns() , "local. - - Module: `request.cpp:80 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/s/request.cpp#L80` .. error:: 15845 - Text: - - Module: `request.cpp:62 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/s/request.cpp#L62` .. error:: 8060 - Text: can't call primaryShard on a sharded collection - - Module: `request.cpp:105 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/s/request.cpp#L105` .. error:: 15890 - Text: key file must be used to log in with internal user - - Module: `security.cpp:35 `_ + :message: "key + :throws: UserException + :module: :source:`src/mongo/s/security.cpp#L35` .. error:: 10197 - Text: createDirectClient not implemented for sharding yet - - Module: `server.cpp:188 `_ + :message: "createDirectClient + :throws: UserException + :module: :source:`src/mongo/s/server.cpp#L188` .. error:: 15849 - Text: client info not defined - - Module: `server.cpp:90 `_ + :message: "client + :severity: Info + :module: :source:`src/mongo/s/server.cpp#L90` .. error:: 13128 - Text: can't find shard for: - - Module: `shard.cpp:135 `_ + :message: (string)"can't + :severity: Info + :module: :source:`src/mongo/s/shard.cpp#L135` .. error:: 13129 - Text: can't find shard for: - - Module: `shard.cpp:117 `_ + :message: (string)"can't + :severity: Info + :module: :source:`src/mongo/s/shard.cpp#L117` .. error:: 13136 - Text: - - Module: `shard.cpp:336 `_ + :message: ss.str() + :throws: UserException + :module: :source:`src/mongo/s/shard.cpp#L336` .. error:: 13632 - Text: couldn't get updated shard list from config server - - Module: `shard.cpp:44 `_ + :message: "couldn't + :severity: Info + :module: :source:`src/mongo/s/shard.cpp#L44` .. error:: 15847 - Text: can't authenticate to server - - Module: `shard.cpp:400 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/shard.cpp#L400` .. error:: 15907 - Text: could not initialize sharding on connection - - Module: `shard.cpp:418 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/shard.cpp#L418` .. error:: 10428 - Text: need_authoritative set but in authoritative mode already - - Module: `shard_version.cpp:246 `_ + :message: "need_authoritative + :severity: Info + :module: :source:`src/mongo/s/shard_version.cpp#L246` .. error:: 10429 - Text: - - Module: `shard_version.cpp:279 `_ + :message: errmsg + :severity: Info + :module: :source:`src/mongo/s/shard_version.cpp#L279` .. error:: 15904 - Text: cannot set version on invalid connection - - Module: `shard_version.cpp:79 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/s/shard_version.cpp#L79` .. error:: 15905 - Text: cannot set version or shard on pair connection - - Module: `shard_version.cpp:84 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/s/shard_version.cpp#L84` .. error:: 15906 - Text: cannot set version or shard on sync connection - - Module: `shard_version.cpp:87 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/s/shard_version.cpp#L87` .. error:: 16334 - Text: cannot set version or shard on custom connection - - Module: `shard_version.cpp:90 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/s/shard_version.cpp#L90` .. error:: 10198 - Text: left object (" << lObject << ") doesn't have full shard key ( - - Module: `shardkey.cpp:47 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/shardkey.cpp#L47` .. error:: 10199 - Text: right object (" << rObject << ") doesn't have full shard key ( - - Module: `shardkey.cpp:50 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/shardkey.cpp#L50` .. error:: 13334 - Text: Shard Key must be less than 512 bytes - - Module: `shardkey.h:125 `_ + :message: "Shard + :throws: UserException + :module: :source:`src/mongo/s/shardkey.h#L125` .. error:: 10200 - Text: mongos: error calling db - - Module: `strategy.cpp:72 `_ + :message: "mongos: + :throws: UserException + :module: :source:`src/mongo/s/strategy.cpp#L72` .. error:: 10201 - Text: invalid update - - Module: `strategy_shard.cpp:765 `_ + :message: "invalid + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L765` .. error:: 10203 - Text: bad delete message - - Module: `strategy_shard.cpp:921 `_ + :message: "bad + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L921` .. error:: 10204 - Text: dbgrid: getmore: error calling db - - Module: `strategy_shard.cpp:204 `_ + :message: "dbgrid: + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L204` .. error:: 10205 - Text: can't use unique indexes with sharding ns: - - Module: `strategy_shard.cpp:1029 `_ + :message: (string)"can't + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L1029` .. error:: 12376 - Text: - - Module: `strategy_shard.cpp:664 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L664` .. error:: 13123 - Text: Can't modify shard key's value. field: - - Module: `strategy_shard.cpp:608 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L608` .. error:: 13505 - Text: - - Module: `strategy_shard.cpp:895 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L895` .. error:: 13506 - Text: - - Module: `strategy_shard.cpp:750 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L750` .. error:: 16055 - Text: too many retries during bulk insert, " << insertsRemaining.size() << " inserts remaining - - Module: `strategy_shard.cpp:446 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L446` .. error:: 16056 - Text: shutting down server during bulk insert, " << insertsRemaining.size() << " inserts remaining - - Module: `strategy_shard.cpp:447 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L447` .. error:: 16064 - Text: - - Module: `strategy_shard.cpp:600 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L600` .. error:: 16065 - Text: multi-updates require $ops rather than replacement object - - Module: `strategy_shard.cpp:651 `_ + :message: "multi-updates + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L651` .. error:: 16336 - Text: - - Module: `strategy_shard.cpp:191 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L191` .. error:: 8010 - Text: something is wrong, shouldn't see a command here - - Module: `strategy_shard.cpp:58 `_ + :message: "something + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L58` .. error:: 8011 - Text: - - Module: `strategy_shard.cpp:382 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L382` .. error:: 8012 - Text: - - Module: `strategy_shard.cpp:723 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L723` .. error:: 8013 - Text: - - Module: `strategy_shard.cpp:639 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L639` .. error:: 8014 - Text: cannot modify shard key for collection - - Module: `strategy_shard.cpp:687 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L687` .. error:: 8015 - Text: - - Module: `strategy_shard.cpp:909 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L909` .. error:: 8016 - Text: can't do this write op on sharded collection - - Module: `strategy_shard.cpp:1012 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L1012` .. error:: 8050 - Text: can't update system.indexes - - Module: `strategy_shard.cpp:1050 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L1050` .. error:: 8051 - Text: can't delete indexes on sharded collection yet - - Module: `strategy_shard.cpp:1053 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L1053` .. error:: 8052 - Text: handleIndexWrite invalid write op - - Module: `strategy_shard.cpp:1057 `_ + :message: "handleIndexWrite + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L1057` .. error:: 13390 - Text: unrecognized command: - - Module: `strategy_single.cpp:89 `_ + :message: "unrecognized + :throws: UserException + :module: :source:`src/mongo/s/strategy_single.cpp#L89` .. error:: 10427 - Text: invalid writeback message - - Module: `writeback_listener.cpp:187 `_ + :message: "invalid + :severity: Info + :module: :source:`src/mongo/s/writeback_listener.cpp#L187` .. error:: 13403 - Text: didn't get writeback for: - - Module: `writeback_listener.cpp:126 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/writeback_listener.cpp#L126` .. error:: 13641 - Text: can't parse host [" << conn.getServerAddress() << "] - - Module: `writeback_listener.cpp:69 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/writeback_listener.cpp#L69` .. error:: 14041 - Text: got writeback waitfor for older id - - Module: `writeback_listener.cpp:104 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/s/writeback_listener.cpp#L104` .. error:: 15884 - Text: - - Module: `writeback_listener.cpp:364 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/writeback_listener.cpp#L364` .. error:: 14811 - Text: invalid bench dynamic piece: - - Module: `bench.cpp:308 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/scripting/bench.cpp#L308` .. error:: 15931 - Text: Authenticating to connection for _benchThread failed: - - Module: `bench.cpp:389 `_ + :message: "Authenticating + :throws: UserException + :module: :source:`src/mongo/scripting/bench.cpp#L389` .. error:: 15932 - Text: Authenticating to connection for benchThread failed: - - Module: `bench.cpp:684 `_ + :message: "Authenticating + :throws: UserException + :module: :source:`src/mongo/scripting/bench.cpp#L684` .. error:: 16147 - Text: Already finished. - - Module: `bench.cpp:223 `_ + :message: "Already + :severity: Info + :module: :source:`src/mongo/scripting/bench.cpp#L223` .. error:: 16152 - Text: Cannot wait for state - - Module: `bench.cpp:233 `_ + :message: mongoutils::str::stream() + :severity: Info + :module: :source:`src/mongo/scripting/bench.cpp#L233` .. error:: 16157 - Text: - - Module: `bench.cpp:200 `_ + :message: errorMessage, + :throws: UserException + :module: :source:`src/mongo/scripting/bench.cpp#L200` .. error:: 16158 - Text: - - Module: `bench.cpp:202 `_ + :message: errorMessage, + :throws: UserException + :module: :source:`src/mongo/scripting/bench.cpp#L202` .. error:: 16164 - Text: loopCommands config not supported", args["loopCommands - - Module: `bench.cpp:168 `_ + :message: "loopCommands + :throws: UserException + :module: :source:`src/mongo/scripting/bench.cpp#L168` .. error:: 10206 - Text: - - Module: `engine.cpp:85 `_ + :message: temp.str() + :throws: UserException + :module: :source:`src/mongo/scripting/engine.cpp#L85` .. error:: 10207 - Text: compile failed - - Module: `engine.cpp:92 `_ + :message: "compile + :throws: UserException + :module: :source:`src/mongo/scripting/engine.cpp#L92` .. error:: 10208 - Text: need to have locallyConnected already - - Module: `engine.cpp:178 `_ + :message: "need + :throws: UserException + :module: :source:`src/mongo/scripting/engine.cpp#L178` .. error:: 10209 - Text: name has to be a string: - - Module: `engine.cpp:199 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/scripting/engine.cpp#L199` .. error:: 10210 - Text: value has to be set - - Module: `engine.cpp:200 `_ + :message: "value + :throws: UserException + :module: :source:`src/mongo/scripting/engine.cpp#L200` .. error:: 10430 - Text: invalid object id: not hex - - Module: `engine.cpp:170 `_ + :message: "invalid + :severity: Info + :module: :source:`src/mongo/scripting/engine.cpp#L170` .. error:: 10448 - Text: invalid object id: length - - Module: `engine.cpp:161 `_ + :message: "invalid + :severity: Info + :module: :source:`src/mongo/scripting/engine.cpp#L161` .. error:: 13474 - Text: no _getInterruptSpecCallback - - Module: `engine.h:202 `_ + :message: "no + :severity: Info + :module: :source:`src/mongo/scripting/engine.h#L202` .. error:: 9004 - Text: invoke failed: - - Module: `engine.h:92 `_ + :message: (string)"invoke + :throws: UserException + :module: :source:`src/mongo/scripting/engine.h#L92` .. error:: 9005 - Text: invoke failed: - - Module: `engine.h:101 `_ + :message: (string)"invoke + :throws: UserException + :module: :source:`src/mongo/scripting/engine.h#L101` .. error:: 10212 - Text: holder magic value is wrong - - Module: `engine_spidermonkey.cpp:81 `_ + :message: "holder + :throws: UserException + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L81` .. error:: 10214 - Text: not a number - - Module: `engine_spidermonkey.cpp:230 `_ + :message: "not + :throws: UserException + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L230` .. error:: 10215 - Text: not an object - - Module: `engine_spidermonkey.cpp:318 `_ + :message: "not + :throws: UserException + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L318` .. error:: 10216 - Text: not a function - - Module: `engine_spidermonkey.cpp:327 `_ + :message: "not + :throws: UserException + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L327` .. error:: 10217 - Text: can't append field. name:" + name + " type: - - Module: `engine_spidermonkey.cpp:384 `_ + :message: (string)"can't + :throws: UserException + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L384` .. error:: 10218 - Text: not done: toval - - Module: `engine_spidermonkey.cpp:718 `_ + :message: "not + :throws: UserException + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L718` .. error:: 10219 - Text: object passed to getPropery is null - - Module: `engine_spidermonkey.cpp:745 `_ + :message: "object + :throws: UserException + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L745` .. error:: 10220 - Text: don't know what to do with this op - - Module: `engine_spidermonkey.cpp:845 `_ + :message: "don't + :throws: UserException + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L845` .. error:: 10221 - Text: JS_NewRuntime failed - - Module: `engine_spidermonkey.cpp:1374 `_ + :message: "JS_NewRuntime + :throws: UserException + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1374` .. error:: 10223 - Text: deleted SMScope twice? - - Module: `engine_spidermonkey.cpp:1457 `_ + :message: "deleted + :throws: UserException + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1457` .. error:: 10224 - Text: already local connected - - Module: `engine_spidermonkey.cpp:1503 `_ + :message: "already + :throws: UserException + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1503` .. error:: 10225 - Text: already setup for external db - - Module: `engine_spidermonkey.cpp:1513 `_ + :message: "already + :throws: UserException + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1513` .. error:: 10226 - Text: connected to different db - - Module: `engine_spidermonkey.cpp:1515 `_ + :message: "connected + :throws: UserException + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1515` .. error:: 10227 - Text: unknown type - - Module: `engine_spidermonkey.cpp:1584 `_ + :message: "unknown + :throws: UserException + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1584` .. error:: 10228 - Text: exec failed: - - Module: `engine_spidermonkey.cpp:1755 `_ + :message: mongoutils::str::stream() + :throws: UserException + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1755` .. error:: 10431 - Text: JS_NewContext failed - - Module: `engine_spidermonkey.cpp:1433 `_ + :message: "JS_NewContext + :severity: Info + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1433` .. error:: 10432 - Text: JS_NewObject failed for global - - Module: `engine_spidermonkey.cpp:1440 `_ + :message: "JS_NewObject + :severity: Info + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1440` .. error:: 10433 - Text: js init failed - - Module: `engine_spidermonkey.cpp:1442 `_ + :message: "js + :severity: Info + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1442` .. error:: 13072 - Text: JS_NewObject failed: - - Module: `engine_spidermonkey.cpp:40 `_ + :message: (string)"JS_NewObject + :severity: Info + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L40` .. error:: 13076 - Text: recursive toObject - - Module: `engine_spidermonkey.cpp:151 `_ + :message: (string)"recursive + :throws: UserException + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L151` .. error:: 13615 - Text: JS allocation failed, either memory leak or using too much memory - - Module: `engine_spidermonkey.cpp:44 `_ + :message: "JS + :severity: Info + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L44` .. error:: 16268 - Text: error converting UTF-16 string to UTF-8 - - Module: `engine_spidermonkey.cpp:201 `_ + :message: "error + :throws: UserException + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L201` .. error:: 16269 - Text: - - Module: `engine_spidermonkey.cpp:306 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L306` .. error:: 16270 - Text: conversion from string to JavaScript value failed - - Module: `engine_spidermonkey.cpp:526 `_ + :message: "conversion + :throws: UserException + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L526` .. error:: 16271 - Text: - - Module: `engine_spidermonkey.cpp:799 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L799` .. error:: 16272 - Text: - - Module: `engine_spidermonkey.cpp:856 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L856` .. error:: 16273 - Text: - - Module: `engine_spidermonkey.cpp:880 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L880` .. error:: 16274 - Text: - - Module: `engine_spidermonkey.cpp:931 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L931` .. error:: 16275 - Text: - - Module: `engine_spidermonkey.cpp:956 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L956` .. error:: 16276 - Text: - - Module: `engine_spidermonkey.cpp:978 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L978` .. error:: 16277 - Text: - - Module: `engine_spidermonkey.cpp:1082 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1082` .. error:: 16278 - Text: - - Module: `engine_spidermonkey.cpp:1113 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1113` .. error:: 16279 - Text: - - Module: `engine_spidermonkey.cpp:1144 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1144` .. error:: 16280 - Text: - - Module: `engine_spidermonkey.cpp:1172 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1172` .. error:: 16281 - Text: - - Module: `engine_spidermonkey.cpp:1221 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1221` .. error:: 16282 - Text: - - Module: `engine_spidermonkey.cpp:1284 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1284` .. error:: 16283 - Text: - - Module: `engine_spidermonkey.cpp:1306 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1306` .. error:: 16284 - Text: - - Module: `engine_spidermonkey.cpp:1357 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1357` .. error:: 16285 - Text: - - Module: `engine_spidermonkey.cpp:1788 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1788` .. error:: 16286 - Text: - - Module: `engine_spidermonkey.cpp:1817 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1817` .. error:: 16287 - Text: - - Module: `engine_spidermonkey.cpp:1968 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1968` .. error:: 10230 - Text: can't handle external yet - - Module: `engine_v8.cpp:646 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/scripting/engine_v8.cpp#L646` .. error:: 10231 - Text: not an object - - Module: `engine_v8.cpp:691 `_ + :message: "not + :throws: UserException + :module: :source:`src/mongo/scripting/engine_v8.cpp#L691` .. error:: 10232 - Text: not a func - - Module: `engine_v8.cpp:753 `_ + :message: "not + :throws: UserException + :module: :source:`src/mongo/scripting/engine_v8.cpp#L753` .. error:: 10233 - Text: - - Module: `engine_v8.cpp:863 `_ + :message: _error + :throws: UserException + :module: :source:`src/mongo/scripting/engine_v8.cpp#L863` .. error:: 10234 - Text: - - Module: `engine_v8.cpp:890 `_ + :message: _error + :throws: UserException + :module: :source:`src/mongo/scripting/engine_v8.cpp#L890` .. error:: 12509 - Text: don't know what this is: - - Module: `engine_v8.cpp:654 `_ + :message: (string)"don't + :throws: UserException + :module: :source:`src/mongo/scripting/engine_v8.cpp#L654` .. error:: 12510 - Text: externalSetup already called, can't call externalSetup - - Module: `engine_v8.cpp:955 `_ + :message: "externalSetup + :throws: UserException + :module: :source:`src/mongo/scripting/engine_v8.cpp#L955` .. error:: 12511 - Text: localConnect called with a different name previously - - Module: `engine_v8.cpp:959 `_ + :message: "localConnect + :throws: UserException + :module: :source:`src/mongo/scripting/engine_v8.cpp#L959` .. error:: 12512 - Text: localConnect already called, can't call externalSetup - - Module: `engine_v8.cpp:978 `_ + :message: "localConnect + :throws: UserException + :module: :source:`src/mongo/scripting/engine_v8.cpp#L978` .. error:: 13475 - Text: - - Module: `engine_v8.cpp:873 `_ + :message: _error + :throws: UserException + :module: :source:`src/mongo/scripting/engine_v8.cpp#L873` .. error:: 10235 - Text: no cursor! - - Module: `sm_db.cpp:75 `_ + :message: "no + :throws: UserException + :module: :source:`src/mongo/scripting/sm_db.cpp#L75` .. error:: 10236 - Text: no args to internal_cursor_constructor - - Module: `sm_db.cpp:81 `_ + :message: "no + :throws: UserException + :module: :source:`src/mongo/scripting/sm_db.cpp#L81` .. error:: 10239 - Text: no connection! - - Module: `sm_db.cpp:279 `_ + :message: "no + :throws: UserException + :module: :source:`src/mongo/scripting/sm_db.cpp#L279` .. error:: 10245 - Text: no connection! - - Module: `sm_db.cpp:452 `_ + :message: "no + :throws: UserException + :module: :source:`src/mongo/scripting/sm_db.cpp#L452` .. error:: 10248 - Text: no connection! - - Module: `sm_db.cpp:492 `_ + :message: "no + :throws: UserException + :module: :source:`src/mongo/scripting/sm_db.cpp#L492` .. error:: 10251 - Text: no connection! - - Module: `sm_db.cpp:554 `_ + :message: "no + :throws: UserException + :module: :source:`src/mongo/scripting/sm_db.cpp#L554` .. error:: 16288 - Text: - - Module: `sm_db.cpp:92 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L92` .. error:: 16289 - Text: - - Module: `sm_db.cpp:112 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L112` .. error:: 16290 - Text: - - Module: `sm_db.cpp:129 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L129` .. error:: 16291 - Text: - - Module: `sm_db.cpp:148 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L148` .. error:: 16292 - Text: - - Module: `sm_db.cpp:173 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L173` .. error:: 16293 - Text: - - Module: `sm_db.cpp:219 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L219` .. error:: 16294 - Text: - - Module: `sm_db.cpp:257 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L257` .. error:: 16295 - Text: - - Module: `sm_db.cpp:272 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L272` .. error:: 16296 - Text: - - Module: `sm_db.cpp:298 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L298` .. error:: 16297 - Text: - - Module: `sm_db.cpp:349 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L349` .. error:: 16298 - Text: - - Module: `sm_db.cpp:434 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L434` .. error:: 16299 - Text: - - Module: `sm_db.cpp:475 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L475` .. error:: 16300 - Text: - - Module: `sm_db.cpp:537 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L537` .. error:: 16301 - Text: - - Module: `sm_db.cpp:578 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L578` .. error:: 16302 - Text: - - Module: `sm_db.cpp:617 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L617` .. error:: 16303 - Text: - - Module: `sm_db.cpp:662 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L662` .. error:: 16304 - Text: - - Module: `sm_db.cpp:729 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L729` .. error:: 16305 - Text: - - Module: `sm_db.cpp:768 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L768` .. error:: 16306 - Text: - - Module: `sm_db.cpp:816 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L816` .. error:: 16307 - Text: - - Module: `sm_db.cpp:857 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L857` .. error:: 16308 - Text: - - Module: `sm_db.cpp:902 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L902` .. error:: 16309 - Text: - - Module: `sm_db.cpp:1025 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L1025` .. error:: 16310 - Text: - - Module: `sm_db.cpp:1053 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L1053` .. error:: 16311 - Text: - - Module: `sm_db.cpp:1078 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L1078` .. error:: 16312 - Text: - - Module: `sm_db.cpp:1109 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L1109` .. error:: 16313 - Text: - - Module: `sm_db.cpp:1129 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L1129` .. error:: 16314 - Text: - - Module: `sm_db.cpp:1174 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L1174` .. error:: 16315 - Text: - - Module: `sm_db.cpp:1197 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L1197` .. error:: 16316 - Text: - - Module: `sm_db.cpp:1253 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L1253` .. error:: 16317 - Text: - - Module: `sm_db.cpp:1305 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L1305` .. error:: 16318 - Text: - - Module: `sm_db.cpp:1323 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L1323` .. error:: 16319 - Text: - - Module: `sm_db.cpp:1355 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L1355` .. error:: 16320 - Text: - - Module: `sm_db.cpp:1414 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L1414` .. error:: 16321 - Text: - - Module: `sm_db.cpp:1432 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L1432` .. error:: 16322 - Text: - - Module: `sm_db.cpp:1456 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L1456` .. error:: 16323 - Text: - - Module: `sm_db.cpp:1540 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L1540` .. error:: 16324 - Text: - - Module: `sm_db.cpp:1567 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L1567` .. error:: 16396 - Text: - - Module: `sm_db.cpp:384 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/sm_db.cpp#L384` .. error:: 10261 - Text: - - Module: `utils.cpp:27 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/scripting/utils.cpp#L27` .. error:: 16259 - Text: - - Module: `utils.cpp:49 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/scripting/utils.cpp#L49` .. error:: 10258 - Text: processinfo not supported - - Module: `shell_utils.cpp:80 `_ + :message: "processinfo + :throws: UserException + :module: :source:`src/mongo/shell/shell_utils.cpp#L80` .. error:: 12513 - Text: connect failed", scope.exec( _dbConnect , "(connect) - - Module: `shell_utils.cpp:151 `_ + :message: "connect + :throws: UserException + :module: :source:`src/mongo/shell/shell_utils.cpp#L151` .. error:: 12514 - Text: login failed", scope.exec( _dbAuth , "(auth) - - Module: `shell_utils.cpp:154 `_ + :message: "login + :throws: UserException + :module: :source:`src/mongo/shell/shell_utils.cpp#L154` .. error:: 12518 - Text: srand requires a single numeric argument - - Module: `shell_utils.cpp:97 `_ + :message: "srand + :throws: UserException + :module: :source:`src/mongo/shell/shell_utils.cpp#L97` .. error:: 12519 - Text: rand accepts no arguments - - Module: `shell_utils.cpp:108 `_ + :message: "rand + :throws: UserException + :module: :source:`src/mongo/shell/shell_utils.cpp#L108` .. error:: 12597 - Text: need to specify 1 argument - - Module: `shell_utils.cpp:55 `_ + :message: "need + :throws: UserException + :module: :source:`src/mongo/shell/shell_utils.cpp#L55` .. error:: 13006 - Text: isWindows accepts no arguments - - Module: `shell_utils.cpp:119 `_ + :message: "isWindows + :throws: UserException + :module: :source:`src/mongo/shell/shell_utils.cpp#L119` .. error:: 10257 - Text: need to specify 1 argument to listFiles - - Module: `shell_utils_extended.cpp:45 `_ + :message: "need + :throws: UserException + :module: :source:`src/mongo/shell/shell_utils_extended.cpp#L45` .. error:: 12581 - Text: - - Module: `shell_utils_extended.cpp:54 `_ + :message: msg.c_str(), + :throws: UserException + :module: :source:`src/mongo/shell/shell_utils_extended.cpp#L54` .. error:: 13301 - Text: cat() : file to big to load as a variable - - Module: `shell_utils_extended.cpp:138 `_ + :message: "cat() + :throws: UserException + :module: :source:`src/mongo/shell/shell_utils_extended.cpp#L138` .. error:: 13411 - Text: getHostName accepts no arguments - - Module: `shell_utils_extended.cpp:204 `_ + :message: "getHostName + :throws: UserException + :module: :source:`src/mongo/shell/shell_utils_extended.cpp#L204` .. error:: 13619 - Text: fuzzFile takes 2 arguments - - Module: `shell_utils_extended.cpp:189 `_ + :message: "fuzzFile + :throws: UserException + :module: :source:`src/mongo/shell/shell_utils_extended.cpp#L189` .. error:: 13620 - Text: couldn't open file to fuzz - - Module: `shell_utils_extended.cpp:192 `_ + :message: "couldn't + :throws: UserException + :module: :source:`src/mongo/shell/shell_utils_extended.cpp#L192` .. error:: 14042 - Text: - - Module: `shell_utils_launcher.cpp:376 `_ + :message: ss.str(), + :throws: UserException + :module: :source:`src/mongo/shell/shell_utils_launcher.cpp#L376` .. error:: 15852 - Text: stopMongoByPid needs a number - - Module: `shell_utils_launcher.cpp:712 `_ + :message: "stopMongoByPid + :throws: UserException + :module: :source:`src/mongo/shell/shell_utils_launcher.cpp#L712` .. error:: 15853 - Text: stopMongo needs a number - - Module: `shell_utils_launcher.cpp:703 `_ + :message: "stopMongo + :throws: UserException + :module: :source:`src/mongo/shell/shell_utils_launcher.cpp#L703` .. error:: 16363 - Text: _id is not a number", args["_id - - Module: `docgenerator.cpp:27 `_ + :message: "_id + :throws: UserException + :module: :source:`src/mongo/tools/docgenerator.cpp#L27` .. error:: 16364 - Text: blob is not a string", (args["blob - - Module: `docgenerator.cpp:30 `_ + :message: "blob + :throws: UserException + :module: :source:`src/mongo/tools/docgenerator.cpp#L30` .. error:: 16365 - Text: nestedDoc is not an object", (args["nestedDoc - - Module: `docgenerator.cpp:33 `_ + :message: "nestedDoc + :throws: UserException + :module: :source:`src/mongo/tools/docgenerator.cpp#L33` .. error:: 16366 - Text: list is not an array", args["list - - Module: `docgenerator.cpp:36 `_ + :message: "list + :throws: UserException + :module: :source:`src/mongo/tools/docgenerator.cpp#L36` .. error:: 16367 - Text: list member is not a string - - Module: `docgenerator.cpp:39 `_ + :message: "list + :throws: UserException + :module: :source:`src/mongo/tools/docgenerator.cpp#L39` .. error:: 16368 - Text: counter is not a number", args["counter - - Module: `docgenerator.cpp:43 `_ + :message: "counter + :throws: UserException + :module: :source:`src/mongo/tools/docgenerator.cpp#L43` .. error:: 10262 - Text: couldn't open file - - Module: `dump.cpp:126 `_ + :message: errnoWithPrefix("couldn't + :throws: UserException + :module: :source:`src/mongo/tools/dump.cpp#L126` .. error:: 14035 - Text: couldn't write to file - - Module: `dump.cpp:78 `_ + :message: errnoWithPrefix("couldn't + :throws: UserException + :module: :source:`src/mongo/tools/dump.cpp#L78` .. error:: 15933 - Text: Couldn't open file: - - Module: `dump.cpp:141 `_ + :message: "Couldn't + :throws: UserException + :module: :source:`src/mongo/tools/dump.cpp#L141` .. error:: 10263 - Text: unknown error reading file - - Module: `import.cpp:131 `_ + :message: "unknown + :throws: UserException + :module: :source:`src/mongo/tools/import.cpp#L131` .. error:: 13289 - Text: Invalid UTF8 character detected - - Module: `import.cpp:141 `_ + :message: "Invalid + :throws: UserException + :module: :source:`src/mongo/tools/import.cpp#L141` .. error:: 13293 - Text: BSON representation of supplied JSON array is too large: - - Module: `import.cpp:162 `_ + :message: string("BSON + :throws: UserException + :module: :source:`src/mongo/tools/import.cpp#L162` .. error:: 13295 - Text: JSONArray file too large - - Module: `import.cpp:116 `_ + :message: "JSONArray + :throws: UserException + :module: :source:`src/mongo/tools/import.cpp#L116` .. error:: 13504 - Text: BSON representation of supplied JSON is too large: - - Module: `import.cpp:196 `_ + :message: string("BSON + :throws: UserException + :module: :source:`src/mongo/tools/import.cpp#L196` .. error:: 15854 - Text: CSV file ends while inside quoted field - - Module: `import.cpp:223 `_ + :message: "CSV + :throws: UserException + :module: :source:`src/mongo/tools/import.cpp#L223` .. error:: 16329 - Text: read error, or input line too long (max length: - - Module: `import.cpp:127 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/tools/import.cpp#L127` .. error:: 16265 - Text: - - Module: `loadgenerator.cpp:111 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/tools/loadgenerator.cpp#L111` .. error:: 16266 - Text: - - Module: `loadgenerator.cpp:113 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/tools/loadgenerator.cpp#L113` .. error:: 16267 - Text: - - Module: `loadgenerator.cpp:130 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/tools/loadgenerator.cpp#L130` .. error:: 15934 - Text: JSON object size didn't match file size - - Module: `restore.cpp:389 `_ + :message: "JSON + :throws: UserException + :module: :source:`src/mongo/tools/restore.cpp#L389` .. error:: 15935 - Text: user does not have write access - - Module: `restore.cpp:83 `_ + :message: "user + :throws: UserException + :module: :source:`src/mongo/tools/restore.cpp#L83` .. error:: 15936 - Text: Creating collection " + _curns + " failed. Errmsg: " + info["errmsg - - Module: `restore.cpp:453 `_ + :message: "Creating + :throws: UserException + :module: :source:`src/mongo/tools/restore.cpp#L453` .. error:: 10266 - Text: can't use --source twice - - Module: `sniffer.cpp:480 `_ + :message: "can't + :throws: UserException + :module: :source:`src/mongo/tools/sniffer.cpp#L480` .. error:: 10267 - Text: source needs more args - - Module: `sniffer.cpp:481 `_ + :message: "source + :throws: UserException + :module: :source:`src/mongo/tools/sniffer.cpp#L481` .. error:: 10264 - Text: invalid object size: - - Module: `tool.cpp:496 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/tools/tool.cpp#L496` .. error:: 10265 - Text: counts don't match - - Module: `tool.cpp:532 `_ + :message: "counts + :throws: UserException + :module: :source:`src/mongo/tools/tool.cpp#L532` .. error:: 9997 - Text: authentication failed: - - Module: `tool.cpp:435 `_ + :message: (string)"authentication + :throws: UserException + :module: :source:`src/mongo/tools/tool.cpp#L435` .. error:: 9998 - Text: you need to specify fields - - Module: `tool.cpp:398 `_ + :message: "you + :throws: UserException + :module: :source:`src/mongo/tools/tool.cpp#L398` .. error:: 9999 - Text: file: " + fn ) + " doesn't exist - - Module: `tool.cpp:377 `_ + :message: ((string)"file: + :throws: UserException + :module: :source:`src/mongo/tools/tool.cpp#L377` .. error:: 10162 - Text: - - Module: `unittest.cpp:241 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/unittest/unittest.cpp#L241` .. error:: 16145 - Text: - - Module: `unittest.cpp:204 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/unittest/unittest.cpp#L204` .. error:: 13524 - Text: out of memory AlignedBuilder - - Module: `alignedbuilder.cpp:109 `_ + :message: "out + :severity: Info + :module: :source:`src/mongo/util/alignedbuilder.cpp#L109` .. error:: 13584 - Text: out of memory AlignedBuilder - - Module: `alignedbuilder.cpp:27 `_ + :message: "out + :throws: UserException + :module: :source:`src/mongo/util/alignedbuilder.cpp#L27` .. error:: 10437 - Text: unknown exception - - Module: `assert_util.h:240 `_ + :message: "unknown + :severity: Info + :module: :source:`src/mongo/util/assert_util.h#L240` .. error:: 123 - Text: blah - - Module: `assert_util.h:72 `_ + :message: ErrorMsg("blah", + :throws: UserException + :module: :source:`src/mongo/util/assert_util.h#L72` .. error:: 13294 - Text: - - Module: `assert_util.h:238 `_ + :message: ss.str() + :severity: Info + :module: :source:`src/mongo/util/assert_util.h#L238` .. error:: 14043 - Text: - - Module: `assert_util.h:249 `_ + :message: ss.str() + :severity: Info + :module: :source:`src/mongo/util/assert_util.h#L249` .. error:: 14044 - Text: unknown exception - - Module: `assert_util.h:251 `_ + :message: std::string("unknown + :severity: Info + :module: :source:`src/mongo/util/assert_util.h#L251` .. error:: 16199 - Text: - - Module: `assert_util.h:200 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/assert_util.h#L200` .. error:: 13643 - Text: backgroundjob already started: - - Module: `background.cpp:55 `_ + :message: mongoutils::str::stream() + :severity: Info + :module: :source:`src/mongo/util/background.cpp#L55` .. error:: 10270 - Text: invalid base64 - - Module: `base64.cpp:79 `_ + :message: "invalid + :throws: UserException + :module: :source:`src/mongo/util/base64.cpp#L79` .. error:: 14050 - Text: List1: item to orphan not in list - - Module: `list.h:84 `_ + :message: "List1: + :throws: UserException + :module: :source:`src/mongo/util/concurrency/list.h#L84` .. error:: 16137 - Text: - - Module: `qlock.h:319 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L319` .. error:: 16138 - Text: - - Module: `qlock.h:325 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L325` .. error:: 16139 - Text: - - Module: `qlock.h:336 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L336` .. error:: 16140 - Text: - - Module: `qlock.h:343 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L343` .. error:: 16200 - Text: - - Module: `qlock.h:116 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L116` .. error:: 16201 - Text: - - Module: `qlock.h:122 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L122` .. error:: 16202 - Text: - - Module: `qlock.h:207 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L207` .. error:: 16203 - Text: - - Module: `qlock.h:218 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L218` .. error:: 16204 - Text: - - Module: `qlock.h:219 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L219` .. error:: 16205 - Text: - - Module: `qlock.h:220 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L220` .. error:: 16206 - Text: - - Module: `qlock.h:238 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L238` .. error:: 16207 - Text: - - Module: `qlock.h:239 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L239` .. error:: 16208 - Text: - - Module: `qlock.h:240 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L240` .. error:: 16209 - Text: - - Module: `qlock.h:251 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L251` .. error:: 16210 - Text: - - Module: `qlock.h:252 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L252` .. error:: 16211 - Text: - - Module: `qlock.h:253 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L253` .. error:: 16212 - Text: - - Module: `qlock.h:263 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L263` .. error:: 16214 - Text: - - Module: `qlock.h:274 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L274` .. error:: 16215 - Text: - - Module: `qlock.h:275 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L275` .. error:: 16216 - Text: - - Module: `qlock.h:284 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L284` .. error:: 16217 - Text: - - Module: `qlock.h:285 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L285` .. error:: 16219 - Text: - - Module: `qlock.h:292 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L292` .. error:: 16220 - Text: - - Module: `qlock.h:293 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L293` .. error:: 16221 - Text: - - Module: `qlock.h:294 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L294` .. error:: 16222 - Text: - - Module: `qlock.h:295 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L295` .. error:: 10438 - Text: ReadFile error - truncated file? - - Module: `file.h:117 `_ + :message: "ReadFile + :severity: Info + :module: :source:`src/mongo/util/file.h#L117` .. error:: 10439 - Text: - - Module: `file_allocator.cpp:294 `_ + :message: ""); + :throws: UserException + :module: :source:`src/mongo/util/file_allocator.cpp#L294` .. error:: 10440 - Text: - - Module: `file_allocator.cpp:178 `_ + :message: ss.str(), + :throws: UserException + :module: :source:`src/mongo/util/file_allocator.cpp#L178` .. error:: 10441 - Text: Unable to allocate new file of size - - Module: `file_allocator.cpp:182 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/util/file_allocator.cpp#L182` .. error:: 10442 - Text: Unable to allocate new file of size - - Module: `file_allocator.cpp:184 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/util/file_allocator.cpp#L184` .. error:: 10443 - Text: FileAllocator: file write failed - - Module: `file_allocator.cpp:199 `_ + :message: errnoWithPrefix("FileAllocator: + :throws: UserException + :module: :source:`src/mongo/util/file_allocator.cpp#L199` .. error:: 13653 - Text: - - Module: `file_allocator.cpp:316 `_ + :message: errMessage); + :severity: Info + :module: :source:`src/mongo/util/file_allocator.cpp#L316` .. error:: 16062 - Text: fstatfs failed: - - Module: `file_allocator.cpp:142 `_ + :message: "fstatfs + :throws: UserException + :module: :source:`src/mongo/util/file_allocator.cpp#L142` .. error:: 16063 - Text: ftruncate failed: - - Module: `file_allocator.cpp:160 `_ + :message: "ftruncate + :throws: UserException + :module: :source:`src/mongo/util/file_allocator.cpp#L160` .. error:: 10268 - Text: LoggingManager already started - - Module: `log.cpp:72 `_ + :message: "LoggingManager + :throws: UserException + :module: :source:`src/mongo/util/log.cpp#L72` .. error:: 14036 - Text: couldn't write to log file - - Module: `log.cpp:112 `_ + :message: errnoWithPrefix("couldn't + :severity: Info + :module: :source:`src/mongo/util/log.cpp#L112` .. error:: 13514 - Text: - - Module: `logfile.cpp:251 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/logfile.cpp#L251` .. error:: 13515 - Text: - - Module: `logfile.cpp:237 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/logfile.cpp#L237` .. error:: 13516 - Text: couldn't open file " << name << " for writing - - Module: `logfile.cpp:175 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/util/logfile.cpp#L175` .. error:: 13517 - Text: error appending to file - - Module: `logfile.cpp:127 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/util/logfile.cpp#L127` .. error:: 13518 - Text: couldn't open file " << name << " for writing - - Module: `logfile.cpp:71 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/util/logfile.cpp#L71` .. error:: 13519 - Text: error 87 appending to file - invalid parameter - - Module: `logfile.cpp:125 `_ + :message: "error + :severity: Info + :module: :source:`src/mongo/util/logfile.cpp#L125` .. error:: 15871 - Text: Couldn't truncate file: - - Module: `logfile.cpp:85 `_ + :message: "Couldn't + :severity: Info + :module: :source:`src/mongo/util/logfile.cpp#L85` .. error:: 15873 - Text: Couldn't truncate file: - - Module: `logfile.cpp:193 `_ + :message: "Couldn't + :severity: Info + :module: :source:`src/mongo/util/logfile.cpp#L193` .. error:: 16142 - Text: - - Module: `logfile.cpp:224 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/logfile.cpp#L224` .. error:: 16143 - Text: - - Module: `logfile.cpp:225 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/logfile.cpp#L225` .. error:: 16144 - Text: - - Module: `logfile.cpp:223 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/logfile.cpp#L223` .. error:: 13468 - Text: can't create file already exists - - Module: `mmap.cpp:48 `_ + :message: string("can't + :throws: UserException + :module: :source:`src/mongo/util/mmap.cpp#L48` .. error:: 13617 - Text: MongoFile : multiple opens of same filename - - Module: `mmap.cpp:198 `_ + :message: "MongoFile + :severity: Info + :module: :source:`src/mongo/util/mmap.cpp#L198` .. error:: 15922 - Text: couldn't get file length when opening mapping - - Module: `mmap.cpp:72 `_ + :message: mongoutils::str::stream() + :throws: UserException + :module: :source:`src/mongo/util/mmap.cpp#L72` .. error:: 15923 - Text: couldn't get file length when opening mapping - - Module: `mmap.cpp:82 `_ + :message: mongoutils::str::stream() + :throws: UserException + :module: :source:`src/mongo/util/mmap.cpp#L82` .. error:: 16325 - Text: - - Module: `mmap.cpp:35 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/mmap.cpp#L35` .. error:: 16326 - Text: - - Module: `mmap.cpp:36 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/mmap.cpp#L36` .. error:: 16327 - Text: - - Module: `mmap.cpp:38 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/mmap.cpp#L38` .. error:: 10446 - Text: mmap: can't map area of size 0 file: - - Module: `mmap_posix.cpp:100 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/util/mmap_posix.cpp#L100` .. error:: 10447 - Text: map file alloc failed, wanted: " << length << " filelen: - - Module: `mmap_posix.cpp:110 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/util/mmap_posix.cpp#L110` .. error:: 13056 - Text: Async flushing not supported on windows - - Module: `mmap_win.cpp:388 `_ + :message: "Async + :throws: UserException + :module: :source:`src/mongo/util/mmap_win.cpp#L388` .. error:: 16148 - Text: - - Module: `mmap_win.cpp:325 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/mmap_win.cpp#L325` .. error:: 16165 - Text: - - Module: `mmap_win.cpp:117 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/mmap_win.cpp#L117` .. error:: 16166 - Text: - - Module: `mmap_win.cpp:209 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/mmap_win.cpp#L209` .. error:: 16167 - Text: - - Module: `mmap_win.cpp:288 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/mmap_win.cpp#L288` .. error:: 16168 - Text: - - Module: `mmap_win.cpp:308 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/mmap_win.cpp#L308` .. error:: 16225 - Text: - - Module: `mmap_win.cpp:186 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/mmap_win.cpp#L186` .. error:: 16362 - Text: - - Module: `mmap_win.cpp:264 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/mmap_win.cpp#L264` .. error:: 16387 - Text: - - Module: `mmap_win.cpp:371 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/mmap_win.cpp#L371` .. error:: 13095 - Text: HostAndPort: bad port # - - Module: `hostandport.h:164 `_ + :message: "HostAndPort: + :throws: UserException + :module: :source:`src/mongo/util/net/hostandport.h#L164` .. error:: 13110 - Text: HostAndPort: host is empty - - Module: `hostandport.h:160 `_ + :message: "HostAndPort: + :severity: Info + :module: :source:`src/mongo/util/net/hostandport.h#L160` .. error:: 10271 - Text: invalid url" , url.find( "http:// - - Module: `httpclient.cpp:47 `_ + :message: "invalid + :throws: UserException + :module: :source:`src/mongo/util/net/httpclient.cpp#L47` .. error:: 15862 - Text: no ssl support - - Module: `httpclient.cpp:108 `_ + :message: "no + :throws: UserException + :module: :source:`src/mongo/util/net/httpclient.cpp#L108` .. error:: 15863 - Text: listen(): invalid socket? - - Module: `listen.cpp:134 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/util/net/listen.cpp#L134` .. error:: 13273 - Text: single data buffer expected - - Module: `message.h:169 `_ + :message: "single + :severity: Info + :module: :source:`src/mongo/util/net/message.h#L169` .. error:: 16141 - Text: cannot translate opcode - - Module: `message.h:58 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/util/net/message.h#L58` .. error:: 10273 - Text: _cur not empty! pipelining requests not supported - - Module: `message_server_asio.cpp:110 `_ + :message: "_cur + :throws: UserException + :module: :source:`src/mongo/util/net/message_server_asio.cpp#L110` .. error:: 10274 - Text: pipelining requests doesn't work yet - - Module: `message_server_asio.cpp:171 `_ + :message: "pipelining + :throws: UserException + :module: :source:`src/mongo/util/net/message_server_asio.cpp#L171` .. error:: 10275 - Text: multiple PortMessageServer not supported - - Module: `message_server_port.cpp:120 `_ + :message: "multiple + :throws: UserException + :module: :source:`src/mongo/util/net/message_server_port.cpp#L120` .. error:: 13079 - Text: path to unix socket too long - - Module: `sock.cpp:158 `_ + :message: "path + :throws: UserException + :module: :source:`src/mongo/util/net/sock.cpp#L158` .. error:: 13080 - Text: no unix socket support on windows - - Module: `sock.cpp:156 `_ + :message: "no + :throws: UserException + :module: :source:`src/mongo/util/net/sock.cpp#L156` .. error:: 13082 - Text: getnameinfo error - - Module: `sock.cpp:244 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/util/net/sock.cpp#L244` .. error:: 15861 - Text: can't create SSL - - Module: `sock.cpp:483 `_ + :message: "can't + :severity: Info + :module: :source:`src/mongo/util/net/sock.cpp#L483` .. error:: 15864 - Text: can't create SSL Context: - - Module: `sock.cpp:433 `_ + :message: mongoutils::str::stream() + :severity: Info + :module: :source:`src/mongo/util/net/sock.cpp#L433` .. error:: 15865 - Text: - - Module: `sock.cpp:441 `_ + :message: , + :severity: Info + :module: :source:`src/mongo/util/net/sock.cpp#L441` .. error:: 15866 - Text: - - Module: `sock.cpp:447 `_ + :message: , + :severity: Info + :module: :source:`src/mongo/util/net/sock.cpp#L447` .. error:: 13600 - Text: - - Module: `paths.h:59 `_ + :message: , + :throws: UserException + :module: :source:`src/mongo/util/paths.h#L59` .. error:: 13646 - Text: stat() failed for file: " << path << " - - Module: `paths.h:88 `_ + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/util/paths.h#L88` .. error:: 13650 - Text: Couldn't open directory '" << dir.string() << "' for flushing: - - Module: `paths.h:116 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/util/paths.h#L116` .. error:: 13651 - Text: Couldn't fsync directory '" << dir.string() << "': - - Module: `paths.h:120 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/util/paths.h#L120` .. error:: 13652 - Text: Couldn't find parent dir for file: - - Module: `paths.h:104 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/util/paths.h#L104` .. error:: 13538 - Text: - - Module: `processinfo_linux2.cpp:48 `_ + :message: s.c_str() + :throws: UserException + :module: :source:`src/mongo/util/processinfo_linux2.cpp#L48` .. error:: 13305 - Text: could not convert string to long long - - Module: `text.cpp:136 `_ + :message: "could + :throws: UserException + :module: :source:`src/mongo/util/text.cpp#L136` .. error:: 13306 - Text: could not convert string to long long - - Module: `text.cpp:145 `_ + :message: "could + :throws: UserException + :module: :source:`src/mongo/util/text.cpp#L145` .. error:: 13307 - Text: cannot convert empty string to long long - - Module: `text.cpp:131 `_ + :message: "cannot + :throws: UserException + :module: :source:`src/mongo/util/text.cpp#L131` .. error:: 13310 - Text: could not convert string to long long - - Module: `text.cpp:149 `_ + :message: "could + :throws: UserException + :module: :source:`src/mongo/util/text.cpp#L149` .. error:: 16091 - Text: - - Module: `text.cpp:181 `_ + :message: , + :severity: Info + :module: :source:`src/mongo/util/text.cpp#L181` .. error:: 16226 - Text: - - Module: `time_support.cpp:60 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/time_support.cpp#L60` .. error:: 16227 - Text: - - Module: `time_support.cpp:70 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/time_support.cpp#L70` .. error:: 16228 - Text: - - Module: `time_support.cpp:102 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/time_support.cpp#L102` .. error:: 16160 - Text: - - Module: `timer-posixclock-inl.h:36 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/timer-posixclock-inl.h#L36` .. error:: 16161 - Text: - - Module: `timer-win32-inl.h:37 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/timer-win32-inl.h#L37` .. error:: 16162 - Text: - - Module: `timer.cpp:54 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/timer.cpp#L54` .. error:: 16163 - Text: - - Module: `timer.cpp:55 `_ + :message: + :severity: Abort + :module: :source:`src/mongo/util/timer.cpp#L55` .. error:: 16154 - Text: namespace does not exist - - Module: `touch_pages.cpp:45 `_ + :message: "namespace + :throws: UserException + :module: :source:`src/mongo/util/touch_pages.cpp#L45` .. error:: 16237 - Text: readahead failed on fd - - Module: `touch_pages.cpp:75 `_ + :message: str::stream() + :severity: Info + :module: :source:`src/mongo/util/touch_pages.cpp#L75` .. error:: 16238 - Text: can't fetch extent file structure + :message: "can't + :severity: Info + :module: :source:`src/mongo/util/touch_pages.cpp#L49` - Module: `touch_pages.cpp:49 `_ From db99b0b299f185bd5cffe06a79ffe5654c23cdd0 Mon Sep 17 00:00:00 2001 From: Ed Costello Date: Fri, 17 Aug 2012 17:21:39 -0400 Subject: [PATCH 5/8] DOCS335 checkpoint --- bin/errorcodes.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/errorcodes.py b/bin/errorcodes.py index 3db1f338de4..7b77f615580 100755 --- a/bin/errorcodes.py +++ b/bin/errorcodes.py @@ -139,10 +139,10 @@ def readErrorCodes( callback, replaceZero = False ): # re.compile( "((DB|User|Msg|MsgAssertion)Exceptio(n))\(( *)(\d+)" ), # re.compile( "((fassertFailed)()) *\(( *)(\d+)" ) # ] - ps = [ re.compile( "(([wum]asser(t|ted))) *\(( *)(\d+) *,? *(\S+) *,?" ) , - re.compile( "((msgasser(t|ted))) *\(( *)(\d+) *,? *(\S+) *,?" ) , + ps = [ re.compile( "(([wum]asser(t|ted))) *\(( *)(\d+) *,? *(\S+.+\S) *,?" ) , + re.compile( "((msgasser(t|ted))) *\(( *)(\d+) *,? *(\S+.+\S) *,?" ) , re.compile( "((fasser(t|ted))) *\(( *)(\d+)()" ) , - re.compile( "((DB|User|Msg|MsgAssertion)Exceptio(n))\(( *)(\d+) *,? *(\S+) *,?" ), + re.compile( "((DB|User|Msg|MsgAssertion)Exceptio(n))\(( *)(\d+) *,? *(\S+.+\S) *,?" ), re.compile( "((fassertFailed)()) *\(( *)(\d+)()" ) ] @@ -330,7 +330,7 @@ def genErrorOutputCSV(): f=f[2:] fn = f.rpartition("/")[2] - out.write('"{}","{}","{}","{}"'.format(num, getBestMessage(line , str(num)),f,l)) + out.write('"{}","{}","{}","{}","{}","{}"'.format(num, getBestMessage(line , str(num)),f,l,message,severity)) out.write("\n") @@ -339,7 +339,7 @@ def genErrorOutputCSV(): if __name__ == "__main__": ok = checkErrorCodes() print( "ok:" + str( ok ) ) - print( "next: " + str( getNextCode() ) ) +# print( "next: " + str( getNextCode() ) ) if ok: genErrorOutput() genErrorOutputCSV() From 37f167be85044fe8bebb661c0b6533339727711a Mon Sep 17 00:00:00 2001 From: Ed Costello Date: Sun, 19 Aug 2012 12:40:11 -0400 Subject: [PATCH 6/8] DOCS335 alter source url to SSL side of github --- conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.py b/conf.py index e73b3bf236e..a063fe4dc9b 100644 --- a/conf.py +++ b/conf.py @@ -92,7 +92,7 @@ 'issue': ('https://jira.mongodb.org/browse/%s', '' ), 'wiki': ('http://www.mongodb.org/display/DOCS/%s', ''), 'api': ('http://api.mongodb.org/%s', ''), - 'source': ('http://github.com/mongodb/mongo/blob/master/%s', ''), + 'source': ('https://github.com/mongodb/mongo/blob/master/%s', ''), 'docsgithub' : ( 'http://github.com/mongodb/docs/blob/' + current_git_branch + '/%s', ''), 'hardlink' : ( 'http://docs.mongodb.org/' + current_git_branch + '/%s', '') } From 3854a3009331f12e7afcbf48bde464f5fbed39b1 Mon Sep 17 00:00:00 2001 From: Ed Costello Date: Mon, 20 Aug 2012 13:02:49 -0400 Subject: [PATCH 7/8] DOCS335 checkpoint --- bin/errorcodes.py | 36 +- draft/messages/errors.txt | 11176 ++++++++++++++++++++++-------------- 2 files changed, 6789 insertions(+), 4423 deletions(-) diff --git a/bin/errorcodes.py b/bin/errorcodes.py index 7b77f615580..fdac166dd14 100755 --- a/bin/errorcodes.py +++ b/bin/errorcodes.py @@ -139,8 +139,9 @@ def readErrorCodes( callback, replaceZero = False ): # re.compile( "((DB|User|Msg|MsgAssertion)Exceptio(n))\(( *)(\d+)" ), # re.compile( "((fassertFailed)()) *\(( *)(\d+)" ) # ] - ps = [ re.compile( "(([wum]asser(t|ted))) *\(( *)(\d+) *,? *(\S+.+\S) *,?" ) , - re.compile( "((msgasser(t|ted))) *\(( *)(\d+) *,? *(\S+.+\S) *,?" ) , + ps = [ re.compile( "(([wum]asser(t|ted))) *\(( *)(\d+) *,\s*(\"\S[^\"]+\S\")\s*,?.*" ) , + re.compile( "(([wum]asser(t|ted))) *\(( *)(\d+) *,\s*([\S\s+<\(\)\"]+) *,?.*" ) , + re.compile( '((msgasser(t|ted))) *\(( *)(\d+) *, *(\"\S[^,^\"]+\S\") *,?' ) , re.compile( "((fasser(t|ted))) *\(( *)(\d+)()" ) , re.compile( "((DB|User|Msg|MsgAssertion)Exceptio(n))\(( *)(\d+) *,? *(\S+.+\S) *,?" ), re.compile( "((fassertFailed)()) *\(( *)(\d+)()" ) @@ -155,6 +156,8 @@ def readErrorCodes( callback, replaceZero = False ): lastCodes = [0] lineNum = 1 + stripChars = " " + "\n" + for line in open( x ): found = False @@ -191,7 +194,7 @@ def repl( m ): # # else : codes.append( ( x , lineNum , line , code, message, severity ) ) - print("x(" + x + ") lineNum(" + str(lineNum) + ") line(" + line + ") spaces(" + spaces + ") code(" + code + ")") + print("x(" + x + ") lineNum(" + str(lineNum) + ") line(" + line.strip(stripChars) + ") spaces(" + spaces + ") code(" + code + ")") callback( x , lineNum , line , code ) return start + "(" + spaces + code @@ -265,8 +268,10 @@ def genErrorOutput(): seen = {} sourcerootOffset = len(sourceroot) + stripChars = " " + "\n" - codes.sort( key=lambda x: x[0]+"-"+x[3] ) +# codes.sort( key=lambda x: x[0]+"-"+x[3] ) + codes.sort( key=lambda x: x[3]+"-"+x[0] ) for f,l,line,num,message,severity in codes: if num in seen: continue @@ -278,24 +283,16 @@ def genErrorOutput(): fn = f.rpartition("/")[2] -# if f != prev: -# out.write( "\n\n" ) -# out.write( f + "\n----\n" ) -# prev = f - url = ":source:`" + f + "#L" + str(l) + "`" - -# out.write("\n.. error:: {}\n\n Text: {}\n\n".format(num,getBestMessage( line , str(num)))) -# out.write(" Module: {}\n\n".format(f)) -# out.write(" :module: `{}:{} <{}>`_\n".format(fn,l,url)) -# out.write(" .. seealso:: `{}:{} <{}>`_\n".format(f,l, url)) -# out.write( "* " + str(num) + " [code](" + url + ") " + getBestMessage( line , str(num) ) + "\n" ) + + out.write(".. line: {}\n\n".format(line.strip(stripChars))) + out.write(".. error:: {}\n\n".format(num)) if message: - out.write(" :message: {}\n".format(message)) + out.write(" :message: {}\n".format(message.strip(stripChars))) else: - out.write(" :message: {}\n".format(getBestMessage( line , str(num)))) + out.write(" :message: {}\n".format(getBestMessage( line , str(num)).strip(stripChars))) if severity: if severity in severityTexts: out.write(" :severity: {}\n".format(severityTexts[severity])) @@ -320,6 +317,9 @@ def genErrorOutputCSV(): prev = "" seen = {} + stripChars = " " + "\n" + + codes.sort( key=lambda x: x[0]+"-"+x[3] ) for f,l,line,num,message,severity in codes: if num in seen: @@ -330,7 +330,7 @@ def genErrorOutputCSV(): f=f[2:] fn = f.rpartition("/")[2] - out.write('"{}","{}","{}","{}","{}","{}"'.format(num, getBestMessage(line , str(num)),f,l,message,severity)) + out.write('"{}","{}","{}","{}","{}","{}"'.format(num, getBestMessage(line , str(num)).strip(stripChars),f,l,message,severity)) out.write("\n") diff --git a/draft/messages/errors.txt b/draft/messages/errors.txt index 87061f3d641..d87490a6b8a 100644 --- a/draft/messages/errors.txt +++ b/draft/messages/errors.txt @@ -6,6065 +6,6407 @@ MongoDB Error and Message Codes .. default-domain:: mongodb -.. error:: 10065 +.. line: uassert(1000, "replSet source for syncing doesn't seem to be await capable -- is it an older version of mongodb?", r.awaitCapable() ); - :message: ss.str() - :throws: UserException - :module: :source:`src/mongo/bson/bson-inl.h#L178` +.. error:: 1000 -.. error:: 10313 + :message: "replSet source for syncing doesn't seem to be await capable -- is it an older version of mongodb?" + :throws: UserException + :module: :source:`src/mongo/db/repl/bgsync.cpp#L280` - :message: "Insufficient - :severity: Info - :module: :source:`src/mongo/bson/bson-inl.h#L551` +.. line: msgasserted(10000, "out of memory BufBuilder"); -.. error:: 10314 +.. error:: 10000 - :message: "Insufficient + :message: "out of memory BufBuilder" :severity: Info - :module: :source:`src/mongo/bson/bson-inl.h#L555` - -.. error:: 10315 + :module: :source:`src/mongo/bson/util/builder.h#L108` - :message: "Insufficient - :severity: Info - :module: :source:`src/mongo/bson/bson-inl.h#L560` +.. line: uassert( 10002 , "local.sources collection corrupt?", n<2 ); -.. error:: 10316 +.. error:: 10002 - :message: "Insufficient - :severity: Info - :module: :source:`src/mongo/bson/bson-inl.h#L565` + :message: "local.sources collection corrupt?" + :throws: UserException + :module: :source:`src/mongo/db/repl.cpp#L398` -.. error:: 10317 +.. line: uassert( 10003 , "failing update: objects in a capped ns cannot grow", !(d && d->isCapped())); - :message: "Insufficient - :severity: Info - :module: :source:`src/mongo/bson/bson-inl.h#L569` +.. error:: 10003 -.. error:: 10318 + :message: "failing update: objects in a capped ns cannot grow" + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L1080` - :message: "Invalid - :severity: Info - :module: :source:`src/mongo/bson/bson-inl.h#L575` +.. line: uassert( 10005 , "listdatabases failed" , runCommand( "admin" , BSON( "listDatabases" << 1 ) , info ) ); -.. error:: 10319 +.. error:: 10005 - :message: "Invalid - :severity: Info - :module: :source:`src/mongo/bson/bson-inl.h#L585` + :message: "listdatabases failed" + :throws: UserException + :module: :source:`src/mongo/client/dbclient.cpp#L604` -.. error:: 10320 +.. line: uassert( 10006 , "listDatabases.databases not array" , info["databases"].type() == Array ); - :message: msg.c_str(),false); - :severity: Info - :module: :source:`src/mongo/bson/bson-inl.h#L659` +.. error:: 10006 -.. error:: 10321 + :message: "listDatabases.databases not array" + :throws: UserException + :module: :source:`src/mongo/client/dbclient.cpp#L605` - :message: buf.str() - :severity: Info - :module: :source:`src/mongo/bson/bson-inl.h#L496` +.. line: uassert( 10007 , "dropIndex failed" , 0 ); -.. error:: 10322 +.. error:: 10007 - :message: "Invalid - :severity: Info - :module: :source:`src/mongo/bson/bson-inl.h#L501` + :message: "dropIndex failed" + :throws: UserException + :module: :source:`src/mongo/client/dbclient.cpp#L996` -.. error:: 10323 +.. line: uassert( 10008 , "dropIndexes failed" , runCommand( nsToDatabase( ns.c_str() ) , - :message: "Invalid - :severity: Info - :module: :source:`src/mongo/bson/bson-inl.h#L503` +.. error:: 10008 -.. error:: 10324 + :message: "dropIndexes failed" + :throws: UserException + :module: :source:`src/mongo/client/dbclient.cpp#L1003` - :message: "Invalid - :severity: Info - :module: :source:`src/mongo/bson/bson-inl.h#L504` +.. line: uassert( 10009 , str::stream() << "ReplicaSetMonitor no master found for set: " << _name , _master >= 0 ); -.. error:: 10325 +.. error:: 10009 - :message: "Invalid - :severity: Info - :module: :source:`src/mongo/bson/bson-inl.h#L507` + :message: str::stream() << "ReplicaSetMonitor no master found for set: " << _name , _master >= 0 ); + :throws: UserException + :module: :source:`src/mongo/client/dbclient_rs.cpp#L407` -.. error:: 10326 +.. line: uassert( 10011 , "no collection name", coll.size() ); - :message: "Invalid - :severity: Info - :module: :source:`src/mongo/bson/bson-inl.h#L509` +.. error:: 10011 -.. error:: 10327 + :message: "no collection name" + :throws: UserException + :module: :source:`src/mongo/client/dbclientinterface.h#L672` - :message: "Object - :severity: Info - :module: :source:`src/mongo/bson/bson-inl.h#L458` +.. line: uassert( 10012 , "file doesn't exist" , fileName == "-" || boost::filesystem::exists( fileName ) ); -.. error:: 10328 +.. error:: 10012 - :message: "Invalid - :severity: Info - :module: :source:`src/mongo/bson/bson-inl.h#L460` + :message: "file doesn't exist" + :throws: UserException + :module: :source:`src/mongo/client/gridfs.cpp#L99` -.. error:: 10329 +.. line: uassert( 10013 , "error opening file", fd); - :message: "Element - :severity: Info - :module: :source:`src/mongo/bson/bson-inl.h#L461` +.. error:: 10013 -.. error:: 10330 + :message: "error opening file" + :throws: UserException + :module: :source:`src/mongo/client/gridfs.cpp#L106` - :message: "Element - :severity: Info - :module: :source:`src/mongo/bson/bson-inl.h#L463` +.. line: uassert( 10014 , "chunk is empty!" , ! o.isEmpty() ); -.. error:: 10331 +.. error:: 10014 - :message: "EOO - :severity: Info - :module: :source:`src/mongo/bson/bson-inl.h#L468` + :message: "chunk is empty!" + :throws: UserException + :module: :source:`src/mongo/client/gridfs.cpp#L225` -.. error:: 10334 +.. line: uassert( 10015 , "doesn't exists" , exists() ); - :message: ss.str() - :severity: Info - :module: :source:`src/mongo/bson/bson-inl.h#L217` +.. error:: 10015 -.. error:: 13655 + :message: "doesn't exists" + :throws: UserException + :module: :source:`src/mongo/client/gridfs.cpp#L257` - :message: msg.c_str(),false); - :severity: Info - :module: :source:`src/mongo/bson/bson-inl.h#L593` +.. line: uassert( 10016 , "_id isn't set - needed for remove()" , _id["_id"].type() ); -.. error:: 16150 +.. error:: 10016 - :message: s.str(), + :message: "_id isn't set - needed for remove()" :throws: UserException - :module: :source:`src/mongo/bson/bson-inl.h#L680` + :module: :source:`src/mongo/client/model.cpp#L40` -.. error:: 10062 +.. line: uassert( 10017 , "cursor already done" , ! _done ); - :message: "not +.. error:: 10017 + + :message: "cursor already done" :throws: UserException - :module: :source:`src/mongo/bson/bson_db.h#L60` + :module: :source:`src/mongo/client/parallel.cpp#L114` -.. error:: 10063 +.. line: uassert( 10018 , "no more items" , more() ); + +.. error:: 10018 - :message: "not + :message: "no more items" :throws: UserException - :module: :source:`src/mongo/bson/bsonelement.h#L409` + :module: :source:`src/mongo/client/parallel.cpp#L426` -.. error:: 10064 +.. line: uassert( 10019 , "no more elements" , ! best.isEmpty() ); + +.. error:: 10019 - :message: "not + :message: "no more elements" :throws: UserException - :module: :source:`src/mongo/bson/bsonelement.h#L414` + :module: :source:`src/mongo/client/parallel.cpp#L1585` -.. error:: 10333 +.. line: uassert( 10022 , "SyncClusterConnection::getMore not supported yet" , 0); + +.. error:: 10022 - :message: "Invalid + :message: "SyncClusterConnection::getMore not supported yet" :throws: UserException - :module: :source:`src/mongo/bson/bsonelement.h#L439` + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L330` -.. error:: 13111 +.. line: uassert( 10023 , "SyncClusterConnection bulk insert not implemented" , 0); - :message: ss.str() - :severity: Info - :module: :source:`src/mongo/bson/bsonelement.h#L472` +.. error:: 10023 -.. error:: 13118 + :message: "SyncClusterConnection bulk insert not implemented" + :throws: UserException + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L352` - :message: "unexpected - :severity: Info - :module: :source:`src/mongo/bson/bsonelement.h#L477` +.. line: uassert( 10024 , "bad ns field for index during dbcopy", e.type() == String); -.. error:: 16177 +.. error:: 10024 - :message: "not - :severity: Info - :module: :source:`src/mongo/bson/bsonelement.h#L265` + :message: "bad ns field for index during dbcopy" + :throws: UserException + :module: :source:`src/mongo/db/cloner.cpp#L92` -.. error:: 16178 +.. line: uassert( 10025 , "bad ns field for index during dbcopy [2]", p); - :message: "not - :severity: Info - :module: :source:`src/mongo/bson/bsonelement.h#L272` +.. error:: 10025 -.. error:: 10335 + :message: "bad ns field for index during dbcopy [2]" + :throws: UserException + :module: :source:`src/mongo/db/cloner.cpp#L94` - :message: "builder - :severity: Info - :module: :source:`src/mongo/bson/bsonobjbuilder.h#L554` +.. line: uassert( 10026 , "source namespace does not exist", nsd ); -.. error:: 10336 +.. error:: 10026 - :message: "No - :severity: Info - :module: :source:`src/mongo/bson/bsonobjbuilder.h#L629` + :message: "source namespace does not exist" + :throws: UserException + :module: :source:`src/mongo/db/cloner.cpp#L752` -.. error:: 13048 +.. line: uassert( 10027 , "target namespace exists", cmdObj["dropTarget"].trueValue() ); - :message: (std::string)"can't +.. error:: 10027 + + :message: "target namespace exists" :throws: UserException - :module: :source:`src/mongo/bson/bsonobjbuilder.h#L828` + :module: :source:`src/mongo/db/cloner.cpp#L762` -.. error:: 15891 +.. line: uassert( 10028 , "db name is empty", L > 0 ); - :message: "can't - :throws: UserException - :module: :source:`src/mongo/bson/bsonobjbuilder.h#L836` +.. error:: 10028 -.. error:: 16234 + :message: "db name is empty" + :throws: UserException + :module: :source:`src/mongo/db/database.cpp#L70` - :message: "Invalid - :severity: Info - :module: :source:`src/mongo/bson/bsonobjbuilder.h#L417` +.. line: uassert( 10029 , "bad db name [1]", *nm != '.' ); -.. error:: 13103 +.. error:: 10029 - :message: "too + :message: "bad db name [1]" :throws: UserException - :module: :source:`src/mongo/bson/ordering.h#L64` + :module: :source:`src/mongo/db/database.cpp#L72` -.. error:: 10000 +.. line: uassert( 10030 , "bad db name [2]", nm[L-1] != '.' ); - :message: "out - :severity: Info - :module: :source:`src/mongo/bson/util/builder.h#L108` +.. error:: 10030 -.. error:: 13548 + :message: "bad db name [2]" + :throws: UserException + :module: :source:`src/mongo/db/database.cpp#L73` - :message: ss.str().c_str()); - :severity: Info - :module: :source:`src/mongo/bson/util/builder.h#L220` +.. line: uassert( 10031 , "bad char(s) in db name", strchr(nm, ' ') == 0 ); -.. error:: 15912 +.. error:: 10031 - :message: "out - :severity: Info - :module: :source:`src/mongo/bson/util/builder.h#L83` + :message: "bad char(s) in db name" + :throws: UserException + :module: :source:`src/mongo/db/database.cpp#L74` -.. error:: 15913 +.. line: uassert( 10032 , "db name too long", L < 64 ); - :message: "out - :severity: Info - :module: :source:`src/mongo/bson/util/builder.h#L133` +.. error:: 10032 -.. error:: 16070 + :message: "db name too long" + :throws: UserException + :module: :source:`src/mongo/db/database.cpp#L71` - :message: "out - :severity: Info - :module: :source:`src/mongo/bson/util/builder.h#L224` +.. line: uassert( 10033 , "logpath has to be non-zero" , logpath.size() ); -.. error:: 10256 +.. error:: 10033 - :message: "no + :message: "logpath has to be non-zero" :throws: UserException - :module: :source:`src/mongo/client/clientAndShell.cpp#L69` + :module: :source:`src/mongo/db/cmdline.cpp#L406` -.. error:: 13071 +.. line: uassert( 10038 , "forced error", false); - :message: (string)"invalid +.. error:: 10038 + + :message: "forced error" :throws: UserException - :module: :source:`src/mongo/client/connpool.cpp#L218` + :module: :source:`src/mongo/db/dbcommands_generic.cpp#L418` -.. error:: 13328 +.. line: uassert( 10039 , "can't drop collection with reserved $ character in name", strchr(nsToDrop.c_str(), '$') == 0 ); + +.. error:: 10039 - :message: _name + :message: "can't drop collection with reserved $ character in name" :throws: UserException - :module: :source:`src/mongo/client/connpool.cpp#L198` + :module: :source:`src/mongo/db/dbcommands.cpp#L775` -.. error:: 11004 +.. line: uassert( 10040 , "chunks out of order" , n == myn ); + +.. error:: 10040 - :message: "connection + :message: "chunks out of order" :throws: UserException - :module: :source:`src/mongo/client/connpool.h#L246` + :module: :source:`src/mongo/db/dbcommands.cpp#L1128` -.. error:: 11005 +.. line: uassert( 10041 , (string)"invoke failed in $keyf: " + s->getError() , res == 0 ); + +.. error:: 10041 - :message: "connection + :message: (string)"invoke failed in $keyf: " + s->getError() , res == 0 ); :throws: UserException - :module: :source:`src/mongo/client/connpool.h#L252` + :module: :source:`src/mongo/db/commands/group.cpp#L42` -.. error:: 13102 +.. line: uassert( 10042 , "return of $key has to be an object" , type == Object ); - :message: "connection +.. error:: 10042 + + :message: "return of $key has to be an object" :throws: UserException - :module: :source:`src/mongo/client/connpool.h#L258` + :module: :source:`src/mongo/db/commands/group.cpp#L44` -.. error:: 10005 +.. line: uassert( 10043 , "group() can't handle more than 20000 unique keys" , n <= 20000 ); + +.. error:: 10043 - :message: "listdatabases + :message: "group() can't handle more than 20000 unique keys" :throws: UserException - :module: :source:`src/mongo/client/dbclient.cpp#L604` + :module: :source:`src/mongo/db/commands/group.cpp#L123` -.. error:: 10006 +.. line: uassert(10044, "distinct too big, 16mb cap", ( now + e.size() + 1024 ) < bufSize ); + +.. error:: 10044 - :message: "listDatabases.databases + :message: "distinct too big, 16mb cap" :throws: UserException - :module: :source:`src/mongo/client/dbclient.cpp#L605` + :module: :source:`src/mongo/db/commands/distinct.cpp#L117` -.. error:: 10007 +.. line: uassert( 10046 , "eval needs Code" , e.type() == Code || e.type() == CodeWScope || e.type() == String ); + +.. error:: 10046 - :message: "dropIndex + :message: "eval needs Code" :throws: UserException - :module: :source:`src/mongo/client/dbclient.cpp#L996` + :module: :source:`src/mongo/db/dbeval.cpp#L41` -.. error:: 10008 +.. line: uassert( 10048 , "already sorted" , ! _sorted ); - :message: "dropIndexes +.. error:: 10048 + + :message: "already sorted" :throws: UserException - :module: :source:`src/mongo/client/dbclient.cpp#L1003` + :module: :source:`src/mongo/db/extsort.cpp#L109` -.. error:: 10276 +.. line: uassert( 10049 , "sorted already" , ! _sorted ); - :message: str::stream() +.. error:: 10049 + + :message: "sorted already" :throws: UserException - :module: :source:`src/mongo/client/dbclient.cpp#L666` + :module: :source:`src/mongo/db/extsort.cpp#L134` -.. error:: 10278 +.. line: uassert( 10050 , "bad" , _cur ); - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/client/dbclient.cpp#L1140` +.. error:: 10050 -.. error:: 10337 + :message: "bad" + :throws: UserException + :module: :source:`src/mongo/db/extsort.cpp#L155` - :message: (string)"object - :severity: Info - :module: :source:`src/mongo/client/dbclient.cpp#L1091` +.. line: uassert( 10052 , "not sorted" , _sorted ); -.. error:: 11010 +.. error:: 10052 - :message: string("count + :message: "not sorted" :throws: UserException - :module: :source:`src/mongo/client/dbclient.cpp#L375` + :module: :source:`src/mongo/db/extsort.h#L108` -.. error:: 13386 +.. line: uassert( 10053 , "You cannot currently mix including and excluding fields. " + +.. error:: 10053 - :message: "socket + :message: "You cannot currently mix including and excluding fields. " :throws: UserException - :module: :source:`src/mongo/client/dbclient.cpp#L847` + :module: :source:`src/mongo/db/projection.cpp#L100` -.. error:: 13421 +.. line: uassert( 10054 , "not master", isMasterNs( ns ) ); + +.. error:: 10054 - :message: "trying + :message: "not master" :throws: UserException - :module: :source:`src/mongo/client/dbclient.cpp#L147` + :module: :source:`src/mongo/db/instance.cpp#L572` -.. error:: 16090 +.. line: uassert( 10055 , "update object too large", toupdate.objsize() <= BSONObjMaxUserSize); - :message: "socket +.. error:: 10055 + + :message: "update object too large" :throws: UserException - :module: :source:`src/mongo/client/dbclient.cpp#L819` + :module: :source:`src/mongo/db/instance.cpp#L555` -.. error:: 16335 +.. line: uassert( 10056 , "not master", isMasterNs( ns ) ); + +.. error:: 10056 - :message: "custom + :message: "not master" :throws: UserException - :module: :source:`src/mongo/client/dbclient.cpp#L134` + :module: :source:`src/mongo/db/instance.cpp#L609` -.. error:: 10009 +.. line: uasserted( 10057 , ss.str() ); - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/client/dbclient_rs.cpp#L407` +.. error:: 10057 -.. error:: 13610 + :message: ss.str() ); + :throws: UserException + :module: :source:`src/mongo/db/client.cpp#L326` - :message: "ConfigChangeHook - :severity: Info - :module: :source:`src/mongo/client/dbclient_rs.cpp#L345` +.. line: uassert( 10058 , "not master", isMasterNs(ns) ); -.. error:: 13639 +.. error:: 10058 - :message: str::stream() + :message: "not master" :throws: UserException - :module: :source:`src/mongo/client/dbclient_rs.cpp#L1302` + :module: :source:`src/mongo/db/instance.cpp#L807` -.. error:: 13642 +.. line: uassert( 10059 , "object to insert too large", js.objsize() <= BSONObjMaxUserSize); - :message: "need - :throws: UserException - :module: :source:`src/mongo/client/dbclient_rs.cpp#L232` +.. error:: 10059 -.. error:: 15899 + :message: "object to insert too large" + :throws: UserException + :module: :source:`src/mongo/db/instance.cpp#L751` - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/client/dbclient_rs.cpp#L480` +.. line: uassert( 10060 , "woSortOrder needs a non-empty sortKey" , ! sortKey.isEmpty() ); -.. error:: 16337 +.. error:: 10060 - :message: "Unknown + :message: "woSortOrder needs a non-empty sortKey" :throws: UserException - :module: :source:`src/mongo/client/dbclient_rs.cpp#L1112` + :module: :source:`src/mongo/db/jsobj.cpp#L541` -.. error:: 16340 +.. line: uassert( 10061 , "type not supported for appendMinElementForType" , false ); - :message: str::stream() +.. error:: 10061 + + :message: "type not supported for appendMinElementForType" :throws: UserException - :module: :source:`src/mongo/client/dbclient_rs.cpp#L1270` + :module: :source:`src/mongo/db/jsobj.cpp#L1148` -.. error:: 16357 +.. line: uassert( 10062 , "not code" , 0 ); + +.. error:: 10062 - :message: "Tags + :message: "not code" :throws: UserException - :module: :source:`src/mongo/client/dbclient_rs.cpp#L1813` + :module: :source:`src/mongo/bson/bson_db.h#L60` -.. error:: 16358 +.. line: uassert( 10063 , "not a dbref" , type() == DBRef ); + +.. error:: 10063 - :message: "Tags + :message: "not a dbref" :throws: UserException - :module: :source:`src/mongo/client/dbclient_rs.cpp#L1220` + :module: :source:`src/mongo/bson/bsonelement.h#L409` -.. error:: 16369 +.. line: uassert( 10064 , "not a dbref" , type() == DBRef ); - :message: str::stream() +.. error:: 10064 + + :message: "not a dbref" :throws: UserException - :module: :source:`src/mongo/client/dbclient_rs.cpp#L1343` + :module: :source:`src/mongo/bson/bsonelement.h#L414` -.. error:: 16370 +.. line: uasserted( 10065 , ss.str() ); - :message: str::stream() +.. error:: 10065 + + :message: ss.str() ); :throws: UserException - :module: :source:`src/mongo/client/dbclient_rs.cpp#L1467` + :module: :source:`src/mongo/bson/bson-inl.h#L178` -.. error:: 16379 +.. line: uassert( 10066 , "$where may only appear once in query", _where == 0 ); - :message: str::stream() +.. error:: 10066 + + :message: "$where may only appear once in query" :throws: UserException - :module: :source:`src/mongo/client/dbclient_rs.cpp#L1501` + :module: :source:`src/mongo/db/matcher.cpp#L421` -.. error:: 16380 +.. line: uassert( 10067 , "$where query, but no script engine", globalScriptEngine ); - :message: str::stream() +.. error:: 10067 + + :message: "$where query, but no script engine" :throws: UserException - :module: :source:`src/mongo/client/dbclient_rs.cpp#L1620` + :module: :source:`src/mongo/db/matcher.cpp#L422` -.. error:: 16381 +.. line: uassert( 10068 , (string)"invalid operator: " + fn , op != -1 ); + +.. error:: 10068 - :message: "$readPreference + :message: (string)"invalid operator: " + fn , op != -1 ); :throws: UserException - :module: :source:`src/mongo/client/dbclient_rs.cpp#L124` + :module: :source:`src/mongo/db/matcher.cpp#L285` -.. error:: 16382 +.. line: uassert( 10069 , (string)"BUG - can't operator for: " + fn , 0 ); - :message: "mode +.. error:: 10069 + + :message: (string)"BUG - can't operator for: " + fn , 0 ); :throws: UserException - :module: :source:`src/mongo/client/dbclient_rs.cpp#L128` + :module: :source:`src/mongo/db/matcher.cpp#L371` -.. error:: 16383 +.. line: uassert( 10070 , "$where compile error", _func != 0 ); - :message: str::stream() +.. error:: 10070 + + :message: "$where compile error" :throws: UserException - :module: :source:`src/mongo/client/dbclient_rs.cpp#L148` + :module: :source:`src/mongo/db/matcher.cpp#L106` -.. error:: 16384 +.. line: uassert( 10071 , ss.str(), false); + +.. error:: 10071 - :message: "Cannot + :message: ss.str(), false); :throws: UserException - :module: :source:`src/mongo/client/dbclient_rs.cpp#L152` + :module: :source:`src/mongo/db/matcher.cpp#L120` -.. error:: 16385 +.. line: uassert( 10072 , "unknown error in invocation of $where function", false); - :message: "tags +.. error:: 10072 + + :message: "unknown error in invocation of $where function" :throws: UserException - :module: :source:`src/mongo/client/dbclient_rs.cpp#L156` + :module: :source:`src/mongo/db/matcher.cpp#L123` -.. error:: 13127 +.. line: uassert( 10073 , "mod can't be 0" , _mod ); + +.. error:: 10073 - :message: "getMore: + :message: "mod can't be 0" :throws: UserException - :module: :source:`src/mongo/client/dbclientcursor.cpp#L180` + :module: :source:`src/mongo/db/matcher.cpp#L155` -.. error:: 13422 +.. line: uassert( 10074 , "need values" , tuples.size() ); + +.. error:: 10074 - :message: "DBClientCursor + :message: "need values" :throws: UserException - :module: :source:`src/mongo/client/dbclientcursor.cpp#L234` + :module: :source:`src/mongo/db/commands/mr.cpp#L154` -.. error:: 14821 +.. line: uasserted( 10075 , "reduce -> multiple not supported yet"); - :message: "No - :severity: Info - :module: :source:`src/mongo/client/dbclientcursor.cpp#L300` +.. error:: 10075 -.. error:: 15875 + :message: "reduce -> multiple not supported yet" + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L195` - :message: "DBClientCursor::initLazy - :severity: Info - :module: :source:`src/mongo/client/dbclientcursor.cpp#L81` +.. line: uasserted( 10076 , str::stream() << "rename failed: " << info ); -.. error:: 13106 +.. error:: 10076 - :message: s); + :message: str::stream() << "rename failed: " << info ); :throws: UserException - :module: :source:`src/mongo/client/dbclientcursor.h#L80` + :module: :source:`src/mongo/db/commands/mr.cpp#L508` -.. error:: 13348 +.. line: uassert( 10077 , "fast_emit takes 2 args" , args.nFields() == 2 ); + +.. error:: 10077 - :message: "connection + :message: "fast_emit takes 2 args" :throws: UserException - :module: :source:`src/mongo/client/dbclientcursor.h#L235` + :module: :source:`src/mongo/db/commands/mr.cpp#L962` -.. error:: 13383 +.. line: massert(10078, "nsToDatabase: ns too long", false); + +.. error:: 10078 - :message: "BatchIterator + :message: "nsToDatabase: ns too long" :severity: Info - :module: :source:`src/mongo/client/dbclientcursor.h#L252` + :module: :source:`src/mongo/db/namespacestring.h#L148` -.. error:: 10011 +.. line: uassert( 10079 , "bad .ns file length, cannot open database", len % (1024*1024) == 0 ); + +.. error:: 10079 - :message: "no + :message: "bad .ns file length, cannot open database" :throws: UserException - :module: :source:`src/mongo/client/dbclientinterface.h#L672` + :module: :source:`src/mongo/db/namespace_details.cpp#L171` -.. error:: 9000 +.. line: uassert( 10080 , "ns name too long, max size is 128", len < MaxNsLen); - :message: msg) +.. error:: 10080 + + :message: "ns name too long, max size is 128" :throws: UserException - :module: :source:`src/mongo/client/dbclientinterface.h#L1011` + :module: :source:`src/mongo/db/namespace-inl.h#L35` -.. error:: 14023 +.. line: uassert( 10081 , "too many namespaces/collections", ht->put(n, details)); - :message: str::stream() +.. error:: 10081 + + :message: "too many namespaces/collections" :throws: UserException - :module: :source:`src/mongo/client/distlock.cpp#L617` + :module: :source:`src/mongo/db/namespace_details.cpp#L482` -.. error:: 16060 +.. line: uassert( 10082 , "allocExtra: too many namespaces/collections", ht->put(extra, (NamespaceDetails&) temp)); - :message: str::stream() +.. error:: 10082 + + :message: "allocExtra: too many namespaces/collections" :throws: UserException - :module: :source:`src/mongo/client/distlock.cpp#L130` + :module: :source:`src/mongo/db/namespace_details.cpp#L497` -.. error:: 13678 +.. line: uassert( 10083 , "create collection invalid size spec", size > 0 ); - :message: str::stream() +.. error:: 10083 + + :message: "create collection invalid size spec" :throws: UserException - :module: :source:`src/mongo/client/distlock_test.cpp#L386` + :module: :source:`src/mongo/db/pdfile.cpp#L258` -.. error:: 10012 +.. line: uassert( 10084 , "can't map file memory - mongo requires 64 bit build for larger datasets", _mb != 0); + +.. error:: 10084 - :message: "file + :message: "can't map file memory - mongo requires 64 bit build for larger datasets" :throws: UserException - :module: :source:`src/mongo/client/gridfs.cpp#L99` + :module: :source:`src/mongo/db/pdfile.cpp#L410` -.. error:: 10013 +.. line: uassert( 10085 , "can't map file memory", _mb != 0); - :message: "error +.. error:: 10085 + + :message: "can't map file memory" :throws: UserException - :module: :source:`src/mongo/client/gridfs.cpp#L106` + :module: :source:`src/mongo/db/pdfile.cpp#L412` -.. error:: 10014 +.. line: uassert( 10086 , (string)"ns not found: " + nsToDrop , d ); + +.. error:: 10086 - :message: "chunk + :message: (string)"ns not found: " + nsToDrop , d ); :throws: UserException - :module: :source:`src/mongo/client/gridfs.cpp#L225` + :module: :source:`src/mongo/db/pdfile.cpp#L892` -.. error:: 10015 +.. line: uassert( 10087 , "turn off profiling before dropping system.profile collection", cc().database()->profile == 0 ); + +.. error:: 10087 - :message: "doesn't + :message: "turn off profiling before dropping system.profile collection" :throws: UserException - :module: :source:`src/mongo/client/gridfs.cpp#L257` + :module: :source:`src/mongo/db/pdfile.cpp#L900` -.. error:: 13296 +.. line: massert(10088, "nsToDatabase: ns too long", i < (size_t)MaxDatabaseNameLen); - :message: "invalid - :severity: Info - :module: :source:`src/mongo/client/gridfs.cpp#L69` +.. error:: 10088 -.. error:: 13325 + :message: "nsToDatabase: ns too long" + :severity: Info + :module: :source:`src/mongo/db/namespacestring.h#L159` - :message: "couldn't - :throws: UserException - :module: :source:`src/mongo/client/gridfs.cpp#L251` +.. line: uassert( 10089 , "can't remove from a capped collection" , 0 ); -.. error:: 16428 +.. error:: 10089 - :message: , + :message: "can't remove from a capped collection" :throws: UserException - :module: :source:`src/mongo/client/gridfs.cpp#L144` - -.. error:: 9008 + :module: :source:`src/mongo/db/pdfile.cpp#L1014` - :message: "filemd5 - :throws: UserException - :module: :source:`src/mongo/client/gridfs.cpp#L151` +.. line: uassert( 10092 , "too may dups on index build with dropDups=true", dupsToDrop.size() < 1000000 ); -.. error:: 10016 +.. error:: 10092 - :message: "_id + :message: "too may dups on index build with dropDups=true" :throws: UserException - :module: :source:`src/mongo/client/model.cpp#L40` + :module: :source:`src/mongo/db/index_update.cpp#L251` -.. error:: 13121 +.. line: massert( 10093 , "cannot insert into reserved $ collection", god || NamespaceString::normal( ns ) ); - :message: ss.str() - :throws: UserException - :module: :source:`src/mongo/client/model.cpp#L84` +.. error:: 10093 -.. error:: 9002 + :message: "cannot insert into reserved $ collection" + :severity: Info + :module: :source:`src/mongo/db/pdfile.cpp#L1397` - :message: (string)"error - :throws: UserException - :module: :source:`src/mongo/client/model.cpp#L53` +.. line: uassert( 10094 , str::stream() << "invalid ns: " << ns , isValidNS( ns ) ); -.. error:: 9003 +.. error:: 10094 - :message: (string)"error + :message: str::stream() << "invalid ns: " << ns , isValidNS( ns ) ); :throws: UserException - :module: :source:`src/mongo/client/model.cpp#L126` + :module: :source:`src/mongo/db/pdfile.cpp#L1398` -.. error:: 10017 +.. line: uassert( 10095 , "attempt to insert in reserved database name 'system'", sys != ns); + +.. error:: 10095 - :message: "cursor + :message: "attempt to insert in reserved database name 'system'" :throws: UserException - :module: :source:`src/mongo/client/parallel.cpp#L114` + :module: :source:`src/mongo/db/pdfile.cpp#L1299` -.. error:: 10018 +.. line: uassert(10096, "invalid ns to index", sourceNS.find( '.' ) != string::npos); + +.. error:: 10096 - :message: "no + :message: "invalid ns to index" :throws: UserException - :module: :source:`src/mongo/client/parallel.cpp#L426` + :module: :source:`src/mongo/db/index.cpp#L308` -.. error:: 10019 +.. line: massert(10097, str::stream() << "bad table to index name on add index attempt current db: " << cc().database()->name << " source: " << sourceNS , - :message: "no - :throws: UserException - :module: :source:`src/mongo/client/parallel.cpp#L1585` +.. error:: 10097 -.. error:: 13431 + :message: str::stream() << "bad table to index name on add index attempt current db: " << cc().database()->name << " source: " << sourceNS , + :severity: Info + :module: :source:`src/mongo/db/index.cpp#L309` - :message: "have - :throws: UserException - :module: :source:`src/mongo/client/parallel.cpp#L514` +.. line: uasserted(10098 , s.c_str()); -.. error:: 13633 +.. error:: 10098 - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/client/parallel.cpp#L144` + :message: s.c_str()); + :throws: UserException + :module: :source:`src/mongo/db/index.cpp#L316` -.. error:: 14812 +.. line: uassert( 10099 , "_id cannot be an array", idField.type() != Array ); - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/client/parallel.cpp#L1662` +.. error:: 10099 -.. error:: 14813 + :message: "_id cannot be an array" + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L1436` - :message: "Command - :severity: Info - :module: :source:`src/mongo/client/parallel.cpp#L1663` +.. line: uassert( 10100 , "cannot delete from collection with reserved $ in name", strchr(ns, '$') == 0 ); -.. error:: 15986 +.. error:: 10100 - :message: "too + :message: "cannot delete from collection with reserved $ in name" :throws: UserException - :module: :source:`src/mongo/client/parallel.cpp#L822` + :module: :source:`src/mongo/db/ops/delete.cpp#L44` -.. error:: 15987 +.. line: uassert( 10101 , "can't remove from a capped collection" , ! d->isCapped() ); - :message: str::stream() +.. error:: 10101 + + :message: "can't remove from a capped collection" :throws: UserException - :module: :source:`src/mongo/client/parallel.cpp#L944` + :module: :source:`src/mongo/db/ops/delete.cpp#L52` -.. error:: 15988 +.. line: uassert( 10102 , "bad order array", !e.eoo()); - :message: "error +.. error:: 10102 + + :message: "bad order array" :throws: UserException - :module: :source:`src/mongo/client/parallel.cpp#L1081` + :module: :source:`src/mongo/db/queryutil.h#L41` -.. error:: 15989 +.. line: uassert( 10103 , "bad order array [2]", e.isNumber()); + +.. error:: 10103 - :message: "database + :message: "bad order array [2]" :throws: UserException - :module: :source:`src/mongo/client/parallel.cpp#L788` + :module: :source:`src/mongo/db/queryutil.h#L42` -.. error:: 10022 +.. line: uassert( 10104 , "too many ordering elements", *p <= '9'); + +.. error:: 10104 - :message: "SyncClusterConnection::getMore + :message: "too many ordering elements" :throws: UserException - :module: :source:`src/mongo/client/syncclusterconnection.cpp#L330` + :module: :source:`src/mongo/db/queryutil.h#L45` -.. error:: 10023 +.. line: uassert( 10105 , "bad skip value in query", _ntoskip >= 0); + +.. error:: 10105 - :message: "SyncClusterConnection + :message: "bad skip value in query" :throws: UserException - :module: :source:`src/mongo/client/syncclusterconnection.cpp#L352` + :module: :source:`src/mongo/db/queryutil.h#L130` -.. error:: 13053 +.. line: uassert( 10107 , "not master" , expr ); - :message: str::stream() +.. error:: 10107 + + :message: "not master" :throws: UserException - :module: :source:`src/mongo/client/syncclusterconnection.cpp#L469` + :module: :source:`src/mongo/db/replutil.h#L82` -.. error:: 13054 +.. line: uassert( 10110 , "bad query object", false); + +.. error:: 10110 - :message: (string)"write + :message: "bad query object" :throws: UserException - :module: :source:`src/mongo/client/syncclusterconnection.cpp#L289` + :module: :source:`src/mongo/db/ops/query.cpp#L954` -.. error:: 13104 +.. line: uassert( 10111 , (string)"table scans not allowed:" + ns() , ! cmdLine.noTableScan ); + +.. error:: 10111 - :message: (string)"SyncClusterConnection::findOne + :message: (string)"table scans not allowed:" + ns() , ! cmdLine.noTableScan ); :throws: UserException - :module: :source:`src/mongo/client/syncclusterconnection.cpp#L175` + :module: :source:`src/mongo/db/queryoptimizer.cpp#L357` -.. error:: 13105 +.. line: uassert( 10112 , "bad hint", !hintobj.isEmpty() ); - :message: ss.str() +.. error:: 10112 + + :message: "bad hint" :throws: UserException - :module: :source:`src/mongo/client/syncclusterconnection.cpp#L193` + :module: :source:`src/mongo/db/queryoptimizer.cpp#L73` -.. error:: 13119 +.. line: uassert( 10113 , "bad hint", false ); + +.. error:: 10113 - :message: (string)"SyncClusterConnection::insert + :message: "bad hint" :throws: UserException - :module: :source:`src/mongo/client/syncclusterconnection.cpp#L337` + :module: :source:`src/mongo/db/queryoptimizer.cpp#L85` -.. error:: 13120 +.. line: uassert( 10118 , "'host' field not set in sources collection object", !hostName.empty() ); + +.. error:: 10118 - :message: "SyncClusterConnection::update + :message: "'host' field not set in sources collection object" :throws: UserException - :module: :source:`src/mongo/client/syncclusterconnection.cpp#L370` + :module: :source:`src/mongo/db/repl.cpp#L266` -.. error:: 13397 +.. line: uassert( 10119 , "only source='main' allowed for now with replication", sourceName() == "main" ); - :message: (string)"SyncClusterConnection::say - :throws: UserException - :module: :source:`src/mongo/client/syncclusterconnection.cpp#L445` +.. error:: 10119 -.. error:: 15848 + :message: "only source='main' allowed for now with replication" + :throws: UserException + :module: :source:`src/mongo/db/repl.cpp#L267` - :message: "sync - :severity: Info - :module: :source:`src/mongo/client/syncclusterconnection.cpp#L218` +.. line: uassert( 10120 , "bad sources 'syncedTo' field value", e.type() == Date || e.type() == Timestamp ); -.. error:: 8001 +.. error:: 10120 - :message: (string)"SyncClusterConnection + :message: "bad sources 'syncedTo' field value" :throws: UserException - :module: :source:`src/mongo/client/syncclusterconnection.cpp#L140` + :module: :source:`src/mongo/db/repl.cpp#L270` -.. error:: 8002 +.. line: uassert( 10123 , "replication error last applied optime at slave >= nextOpTime from master", false); - :message: "all +.. error:: 10123 + + :message: "replication error last applied optime at slave >= nextOpTime from master" :throws: UserException - :module: :source:`src/mongo/client/syncclusterconnection.cpp#L326` + :module: :source:`src/mongo/db/repl.cpp#L1012` -.. error:: 8003 +.. line: uassert( 10124 , e.type() == Date ); + +.. error:: 10124 - :message: (string)"SyncClusterConnection::insert + :message: e.type() == Date ); :throws: UserException - :module: :source:`src/mongo/client/syncclusterconnection.cpp#L342` + :module: :source:`src/mongo/db/repl.cpp#L1248` -.. error:: 8004 +.. line: uassert( 10131 , "$push can only be applied to an array" , in.type() == Array ); + +.. error:: 10131 - :message: "SyncClusterConnection + :message: "$push can only be applied to an array" :throws: UserException - :module: :source:`src/mongo/client/syncclusterconnection.cpp#L54` + :module: :source:`src/mongo/db/ops/update_internal.cpp#L116` -.. error:: 8005 +.. line: uassert( 10132 , "$pushAll can only be applied to an array" , in.type() == Array ); + +.. error:: 10132 - :message: (string)"SyncClusterConnection::udpate + :message: "$pushAll can only be applied to an array" :throws: UserException - :module: :source:`src/mongo/client/syncclusterconnection.cpp#L376` + :module: :source:`src/mongo/db/ops/update_internal.cpp#L187` -.. error:: 8006 +.. line: uassert( 10133 , "$pushAll has to be passed an array" , elt.type() ); - :message: "SyncClusterConnection::call +.. error:: 10133 + + :message: "$pushAll has to be passed an array" :throws: UserException - :module: :source:`src/mongo/client/syncclusterconnection.cpp#L419` + :module: :source:`src/mongo/db/ops/update_internal.cpp#L188` -.. error:: 8007 +.. line: uassert( 10134 , "$pull/$pullAll can only be applied to an array" , in.type() == Array ); + +.. error:: 10134 - :message: "SyncClusterConnection::call + :message: "$pull/$pullAll can only be applied to an array" :throws: UserException - :module: :source:`src/mongo/client/syncclusterconnection.cpp#L423` + :module: :source:`src/mongo/db/ops/update_internal.cpp#L212` -.. error:: 8008 +.. line: uassert( 10135 , "$pop can only be applied to an array" , in.type() == Array ); + +.. error:: 10135 - :message: "all + :message: "$pop can only be applied to an array" :throws: UserException - :module: :source:`src/mongo/client/syncclusterconnection.cpp#L439` + :module: :source:`src/mongo/db/ops/update_internal.cpp#L247` -.. error:: 8020 +.. line: uassert( 10136 , "$bit needs an object" , elt.type() == Object ); + +.. error:: 10136 - :message: (string)"SyncClusterConnection::remove + :message: "$bit needs an object" :throws: UserException - :module: :source:`src/mongo/client/syncclusterconnection.cpp#L358` + :module: :source:`src/mongo/db/ops/update_internal.cpp#L283` -.. error:: 10281 +.. line: uassert( 10137 , "$bit can only be applied to numbers" , in.isNumber() ); - :message: "verify - :severity: Info - :module: :source:`src/mongo/db/btree.cpp#L144` +.. error:: 10137 -.. error:: 10282 + :message: "$bit can only be applied to numbers" + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L284` - :message: "n==0 - :severity: Info - :module: :source:`src/mongo/db/btree.cpp#L325` +.. line: uassert( 10138 , "$bit cannot update a value of type double" , in.type() != NumberDouble ); -.. error:: 10283 +.. error:: 10138 - :message: "rchild - :severity: Info - :module: :source:`src/mongo/db/btree.cpp#L332` + :message: "$bit cannot update a value of type double" + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L285` -.. error:: 10285 +.. line: uassert( 10139 , "$bit field must be number" , e.isNumber() ); - :message: "_insert: - :severity: Info - :module: :source:`src/mongo/db/btree.cpp#L1768` +.. error:: 10139 -.. error:: 10286 + :message: "$bit field must be number" + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L293` - :message: "_insert: - :severity: Info - :module: :source:`src/mongo/db/btree.cpp#L1769` +.. line: uassert( 10140 , "Cannot apply $inc modifier to non-number", e.isNumber() || e.eoo() ); -.. error:: 10287 +.. error:: 10140 - :message: "btree: - :throws: MsgAssertionException - :module: :source:`src/mongo/db/btree.cpp#L85` + :message: "Cannot apply $inc modifier to non-number" + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L402` -.. error:: 15898 +.. line: uassert( 10141, - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/db/btree.cpp#L43` +.. error:: 10141 -.. error:: 13000 + :message: + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L424` - :message: (string)"invalid - :severity: Info - :module: :source:`src/mongo/db/btree.h#L364` +.. line: uassert( 10142, -.. error:: 10288 +.. error:: 10142 - :message: "bad - :severity: Info - :module: :source:`src/mongo/db/btreebuilder.cpp#L76` + :message: + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L432` -.. error:: 14800 +.. line: uassert( 10143, - :message: str::stream() +.. error:: 10143 + + :message: :throws: UserException - :module: :source:`src/mongo/db/btreecursor.cpp#L216` + :module: :source:`src/mongo/db/ops/update_internal.cpp#L459` -.. error:: 15850 +.. line: uassert( 10145, - :message: "keyAt - :throws: UserException - :module: :source:`src/mongo/db/btreecursor.cpp#L62` +.. error:: 10145 -.. error:: 10345 + :message: + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L717` - :message: "passes - :severity: Info - :module: :source:`src/mongo/db/cap.cpp#L266` +.. line: uassert( 10147 , "Invalid modifier specified: " + string( fn ), e.type() == Object ); -.. error:: 13415 +.. error:: 10147 - :message: "emptying + :message: "Invalid modifier specified: " + string( fn ), e.type() == Object ); :throws: UserException - :module: :source:`src/mongo/db/cap.cpp#L352` + :module: :source:`src/mongo/db/ops/update_internal.cpp#L857` -.. error:: 13424 +.. line: uassert( 10148, - :message: "collection - :severity: Info - :module: :source:`src/mongo/db/cap.cpp#L419` +.. error:: 10148 -.. error:: 13425 + :message: + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L874` - :message: "background - :severity: Info - :module: :source:`src/mongo/db/cap.cpp#L420` +.. line: uassert( 10149, -.. error:: 13426 +.. error:: 10149 - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/db/cap.cpp#L431` + :message: + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L877` -.. error:: 16328 +.. line: uassert( 10150, - :message: str::stream() +.. error:: 10150 + + :message: :throws: UserException - :module: :source:`src/mongo/db/cap.cpp#L200` + :module: :source:`src/mongo/db/ops/update_internal.cpp#L880` -.. error:: 10057 +.. line: uassert( 10151, - :message: ss.str() +.. error:: 10151 + + :message: :throws: UserException - :module: :source:`src/mongo/db/client.cpp#L326` + :module: :source:`src/mongo/db/ops/update_internal.cpp#L883` -.. error:: 14031 +.. line: uassert( 10152, + +.. error:: 10152 - :message: "Can't + :message: :throws: UserException - :module: :source:`src/mongo/db/client.cpp#L302` + :module: :source:`src/mongo/db/ops/update_internal.cpp#L886` -.. error:: 15928 +.. line: uassert( 10153, - :message: str::stream() +.. error:: 10153 + + :message: :throws: UserException - :module: :source:`src/mongo/db/client.cpp#L247` + :module: :source:`src/mongo/db/ops/update_internal.cpp#L889` -.. error:: 15929 +.. line: uassert( 10154 , "Modifiers and non-modifiers cannot be mixed", e.fieldName()[ 0 ] != '$' ); + +.. error:: 10154 - :message: "client + :message: "Modifiers and non-modifiers cannot be mixed" :throws: UserException - :module: :source:`src/mongo/db/client.cpp#L352` + :module: :source:`src/mongo/db/ops/update.cpp#L40` -.. error:: 16107 +.. line: uassert( 10155 , "cannot update reserved $ collection", strchr(ns, '$') == 0 ); - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/db/client.cpp#L308` - -.. error:: 16151 - - :message: - :severity: Abort - :module: :source:`src/mongo/db/client.cpp#L86` +.. error:: 10155 -.. error:: 16089 + :message: "cannot update reserved $ collection" + :throws: UserException + :module: :source:`src/mongo/db/ops/update.cpp#L476` - :message: , - :severity: Info - :module: :source:`src/mongo/db/clientcursor.cpp#L796` +.. line: uassert( 10156, -.. error:: 12051 +.. error:: 10156 - :message: "clientcursor + :message: :throws: UserException - :module: :source:`src/mongo/db/clientcursor.h#L96` - -.. error:: 12521 + :module: :source:`src/mongo/db/ops/update.cpp#L479` - :message: "internal - :severity: Info - :module: :source:`src/mongo/db/clientcursor.h#L328` +.. line: uassert( 10157 , "multi-update requires all modified objects to have an _id" , ! multi ); -.. error:: 10024 +.. error:: 10157 - :message: "bad + :message: "multi-update requires all modified objects to have an _id" :throws: UserException - :module: :source:`src/mongo/db/cloner.cpp#L92` + :module: :source:`src/mongo/db/ops/update.cpp#L308` -.. error:: 10025 +.. line: uassert( 10158 , "multi update only works with $ operators" , ! multi ); + +.. error:: 10158 - :message: "bad + :message: "multi update only works with $ operators" :throws: UserException - :module: :source:`src/mongo/db/cloner.cpp#L94` + :module: :source:`src/mongo/db/ops/update.cpp#L425` -.. error:: 10026 +.. line: uassert( 10159 , "multi update only works with $ operators" , ! multi ); + +.. error:: 10159 - :message: "source + :message: "multi update only works with $ operators" :throws: UserException - :module: :source:`src/mongo/db/cloner.cpp#L752` + :module: :source:`src/mongo/db/ops/update.cpp#L453` -.. error:: 10027 +.. line: uassert( 10161 , "Invalid modifier specified " + string( fn ), false ); + +.. error:: 10161 - :message: "target + :message: "Invalid modifier specified " + string( fn ), false ); :throws: UserException - :module: :source:`src/mongo/db/cloner.cpp#L762` + :module: :source:`src/mongo/db/ops/update_internal.h#L317` -.. error:: 10289 +.. line: fassert( 10162, ! m ); - :message: "useReplAuth - :severity: Info - :module: :source:`src/mongo/db/cloner.cpp#L307` +.. error:: 10162 -.. error:: 10290 + :message: + :severity: Abort + :module: :source:`src/mongo/unittest/unittest.cpp#L241` - :message: s.c_str(), - :severity: Info - :module: :source:`src/mongo/db/cloner.cpp#L387` +.. line: uassert( 10163 , "can only handle numbers here - which i think is correct" , e.isNumber() ); -.. error:: 13008 +.. error:: 10163 - :message: "must + :message: "can only handle numbers here - which i think is correct" :throws: UserException - :module: :source:`src/mongo/db/cloner.cpp#L703` + :module: :source:`src/mongo/s/chunk.cpp#L129` -.. error:: 15908 +.. line: uassert( 10165 , "can't split as shard doesn't have a manager" , _manager ); + +.. error:: 10165 - :message: errmsg, + :message: "can't split as shard doesn't have a manager" :throws: UserException - :module: :source:`src/mongo/db/cloner.cpp#L244` + :module: :source:`src/mongo/s/chunk.cpp#L267` -.. error:: 15967 +.. line: uassert( 10167 , "can't move shard to its current location!" , getShard() != to ); + +.. error:: 10167 - :message: "invalid + :message: "can't move shard to its current location!" :throws: UserException - :module: :source:`src/mongo/db/cloner.cpp#L741` + :module: :source:`src/mongo/s/chunk.cpp#L305` -.. error:: 10033 +.. line: uassert( 10169 , "datasize failed!" , conn->get()->runCommand( "admin" , - :message: "logpath +.. error:: 10169 + + :message: "datasize failed!" :throws: UserException - :module: :source:`src/mongo/db/cmdline.cpp#L406` + :module: :source:`src/mongo/s/chunk.cpp#L454` -.. error:: 16176 +.. line: uassert( 10170 , "Chunk needs a ns" , ! ns.empty() ); - :message: - :severity: Abort - :module: :source:`src/mongo/db/cmdline.cpp#L526` +.. error:: 10170 -.. error:: 15962 + :message: "Chunk needs a ns" + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L71` - :message: "need - :severity: Info - :module: :source:`src/mongo/db/commands.cpp#L36` +.. line: uassert( 10171 , "Chunk needs a server" , _shard.ok() ); -.. error:: 15966 +.. error:: 10171 - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/db/commands.cpp#L37` + :message: "Chunk needs a server" + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L74` -.. error:: 10044 +.. line: uassert( 10172 , "Chunk needs a min" , ! _min.isEmpty() ); + +.. error:: 10172 - :message: "distinct + :message: "Chunk needs a min" :throws: UserException - :module: :source:`src/mongo/db/commands/distinct.cpp#L117` + :module: :source:`src/mongo/s/chunk.cpp#L76` -.. error:: 12515 +.. line: uassert( 10173 , "Chunk needs a max" , ! _max.isEmpty() ); + +.. error:: 10173 - :message: "can't + :message: "Chunk needs a max" :throws: UserException - :module: :source:`src/mongo/db/commands/find_and_modify.cpp#L258` + :module: :source:`src/mongo/s/chunk.cpp#L77` -.. error:: 12516 +.. line: uassert( 10174 , "config servers not all up" , configServer.allUp() ); - :message: "must +.. error:: 10174 + + :message: "config servers not all up" :throws: UserException - :module: :source:`src/mongo/db/commands/find_and_modify.cpp#L290` + :module: :source:`src/mongo/s/chunk.cpp#L1199` -.. error:: 13329 +.. line: uassert( 10178 , "no primary!" , _primary.ok() ); + +.. error:: 10178 - :message: "upsert + :message: "no primary!" :throws: UserException - :module: :source:`src/mongo/db/commands/find_and_modify.cpp#L235` + :module: :source:`src/mongo/s/config.cpp#L147` -.. error:: 13330 +.. line: uassert( 10181 , (string)"not sharded:" + ns , ci.isSharded() ); + +.. error:: 10181 - :message: "upsert + :message: (string)"not sharded:" + ns , ci.isSharded() ); :throws: UserException - :module: :source:`src/mongo/db/commands/find_and_modify.cpp#L236` + :module: :source:`src/mongo/s/config.cpp#L310` -.. error:: 10041 +.. line: uassert( 10184 , "_dropShardedCollections too many collections - bailing" , num < 100000 ); + +.. error:: 10184 - :message: (string)"invoke + :message: "_dropShardedCollections too many collections - bailing" :throws: UserException - :module: :source:`src/mongo/db/commands/group.cpp#L42` + :module: :source:`src/mongo/s/config.cpp#L677` -.. error:: 10042 +.. line: uasserted( 10185 , "can't find a shard to put new db on" ); - :message: "return +.. error:: 10185 + + :message: "can't find a shard to put new db on" :throws: UserException - :module: :source:`src/mongo/db/commands/group.cpp#L44` + :module: :source:`src/mongo/s/grid.cpp#L118` -.. error:: 10043 +.. line: uassert( 10186 , "removeDB expects db name" , database.find( '.' ) == string::npos ); + +.. error:: 10186 - :message: "group() + :message: "removeDB expects db name" :throws: UserException - :module: :source:`src/mongo/db/commands/group.cpp#L123` + :module: :source:`src/mongo/s/grid.cpp#L138` -.. error:: 9010 +.. line: uassert( 10187 , "need configdbs" , configHosts.size() ); + +.. error:: 10187 - :message: (string)"reduce + :message: "need configdbs" :throws: UserException - :module: :source:`src/mongo/db/commands/group.cpp#L129` + :module: :source:`src/mongo/s/config.cpp#L722` -.. error:: 13469 +.. line: uassert( 10189 , "should only have 1 thing in config.version" , ! c->more() ); - :message: "getifaddrs - :severity: Info - :module: :source:`src/mongo/db/commands/isself.cpp#L49` +.. error:: 10189 -.. error:: 13470 + :message: "should only have 1 thing in config.version" + :throws: UserException + :module: :source:`src/mongo/s/config.cpp#L897` - :message: string("getnameinfo() - :severity: Info - :module: :source:`src/mongo/db/commands/isself.cpp#L64` +.. line: uassert( 10190 , "ConfigServer not setup" , _primary.ok() ); -.. error:: 13472 +.. error:: 10190 - :message: string("getnameinfo() - :severity: Info - :module: :source:`src/mongo/db/commands/isself.cpp#L110` + :message: "ConfigServer not setup" + :throws: UserException + :module: :source:`src/mongo/s/config.h#L220` -.. error:: 10074 +.. line: uassert( 10191 , "cursor already done" , ! _done ); - :message: "need +.. error:: 10191 + + :message: "cursor already done" :throws: UserException - :module: :source:`src/mongo/db/commands/mr.cpp#L154` + :module: :source:`src/mongo/s/cursors.cpp#L91` -.. error:: 10075 +.. line: uassert( 10194 , "can't call primaryShard on a sharded collection!" , s.ok() ); + +.. error:: 10194 - :message: "reduce + :message: "can't call primaryShard on a sharded collection!" :throws: UserException - :module: :source:`src/mongo/db/commands/mr.cpp#L195` + :module: :source:`src/mongo/s/request.cpp#L109` -.. error:: 10076 +.. line: uassert( 10197 , "createDirectClient not implemented for sharding yet" , 0 ); - :message: str::stream() +.. error:: 10197 + + :message: "createDirectClient not implemented for sharding yet" :throws: UserException - :module: :source:`src/mongo/db/commands/mr.cpp#L508` + :module: :source:`src/mongo/s/server.cpp#L188` -.. error:: 10077 +.. line: uassert( 10198 , str::stream() << "left object (" << lObject << ") doesn't have full shard key (" << pattern << ')', - :message: "fast_emit +.. error:: 10198 + + :message: str::stream() << "left object (" << lObject << ") doesn't have full shard key (" << pattern << ')', :throws: UserException - :module: :source:`src/mongo/db/commands/mr.cpp#L962` + :module: :source:`src/mongo/s/shardkey.cpp#L47` -.. error:: 13069 +.. line: uassert( 10199 , str::stream() << "right object (" << rObject << ") doesn't have full shard key (" << pattern << ')', + +.. error:: 10199 - :message: "an + :message: str::stream() << "right object (" << rObject << ") doesn't have full shard key (" << pattern << ')', :throws: UserException - :module: :source:`src/mongo/db/commands/mr.cpp#L963` + :module: :source:`src/mongo/s/shardkey.cpp#L50` -.. error:: 13070 +.. line: uassert( 10200 , "mongos: error calling db", ok ); + +.. error:: 10200 - :message: "value + :message: "mongos: error calling db" :throws: UserException - :module: :source:`src/mongo/db/commands/mr.cpp#L175` + :module: :source:`src/mongo/s/strategy.cpp#L72` -.. error:: 13522 +.. line: uassert( 10201 , "invalid update" , d.moreJSObjs() ); - :message: str::stream() +.. error:: 10201 + + :message: "invalid update" :throws: UserException - :module: :source:`src/mongo/db/commands/mr.cpp#L262` + :module: :source:`src/mongo/s/strategy_shard.cpp#L765` -.. error:: 13598 +.. line: uassert( 10203 , "bad delete message" , d.moreJSObjs() ); - :message: str::stream() +.. error:: 10203 + + :message: "bad delete message" :throws: UserException - :module: :source:`src/mongo/db/commands/mr.cpp#L54` + :module: :source:`src/mongo/s/strategy_shard.cpp#L921` -.. error:: 13602 +.. line: uassert( 10204 , "dbgrid: getmore: error calling db", ok); + +.. error:: 10204 - :message: "outType + :message: "dbgrid: getmore: error calling db" :throws: UserException - :module: :source:`src/mongo/db/commands/mr.cpp#L234` + :module: :source:`src/mongo/s/strategy_shard.cpp#L204` -.. error:: 13604 +.. line: uassert( 10205 , (string)"can't use unique indexes with sharding ns:" + ns + - :message: "too +.. error:: 10205 + + :message: (string)"can't use unique indexes with sharding ns:" + ns + :throws: UserException - :module: :source:`src/mongo/db/commands/mr.cpp#L430` + :module: :source:`src/mongo/s/strategy_shard.cpp#L1029` -.. error:: 13606 +.. line: uassert( 10206 , temp.str() , 0 ); + +.. error:: 10206 - :message: "'out' + :message: temp.str() , 0 ); :throws: UserException - :module: :source:`src/mongo/db/commands/mr.cpp#L276` + :module: :source:`src/mongo/scripting/engine.cpp#L85` -.. error:: 13608 +.. line: uassert( 10207 , "compile failed" , func ); + +.. error:: 10207 - :message: "query + :message: "compile failed" :throws: UserException - :module: :source:`src/mongo/db/commands/mr.cpp#L316` + :module: :source:`src/mongo/scripting/engine.cpp#L92` -.. error:: 13609 +.. line: uassert( 10208 , "need to have locallyConnected already" , _localDBName.size() ); + +.. error:: 10208 - :message: "sort + :message: "need to have locallyConnected already" :throws: UserException - :module: :source:`src/mongo/db/commands/mr.cpp#L323` + :module: :source:`src/mongo/scripting/engine.cpp#L178` -.. error:: 13630 +.. line: uassert( 10209 , str::stream() << "name has to be a string: " << n , n.type() == String ); - :message: str::stream() +.. error:: 10209 + + :message: str::stream() << "name has to be a string: " << n , n.type() == String ); :throws: UserException - :module: :source:`src/mongo/db/commands/mr.cpp#L360` + :module: :source:`src/mongo/scripting/engine.cpp#L199` -.. error:: 13631 +.. line: uassert( 10210 , "value has to be set" , v.type() != EOO ); - :message: str::stream() +.. error:: 10210 + + :message: "value has to be set" :throws: UserException - :module: :source:`src/mongo/db/commands/mr.cpp#L346` + :module: :source:`src/mongo/scripting/engine.cpp#L200` -.. error:: 15876 +.. line: uassert( 10212 , "holder magic value is wrong" , _magic == 17 && _obj.isValid() ); - :message: str::stream() +.. error:: 10212 + + :message: "holder magic value is wrong" :throws: UserException - :module: :source:`src/mongo/db/commands/mr.cpp#L1042` + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L81` -.. error:: 15877 +.. line: uassert( 10214 , "not a number" , JS_ValueToNumber( _context , v , &d ) ); - :message: str::stream() +.. error:: 10214 + + :message: "not a number" :throws: UserException - :module: :source:`src/mongo/db/commands/mr.cpp#L1044` + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L230` -.. error:: 15895 +.. line: uassert( 10215, "not an object", JSVAL_IS_OBJECT( v ) ); - :message: "nonAtomic +.. error:: 10215 + + :message: "not an object" :throws: UserException - :module: :source:`src/mongo/db/commands/mr.cpp#L272` + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L318` -.. error:: 15921 +.. line: uassert( 10216, "not a function", JS_TypeOfValue( _context, v ) == JSTYPE_FUNCTION ); - :message: str::stream() +.. error:: 10216 + + :message: "not a function" :throws: UserException - :module: :source:`src/mongo/db/commands/mr.cpp#L414` + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L327` -.. error:: 16052 +.. line: default: uassert( 10217 , (string)"can't append field. name:" + name + " type: " + typeString( val ) , 0 ); - :message: str::stream() +.. error:: 10217 + + :message: (string)"can't append field. name:" + name + " type: " + typeString( val ) , 0 ); :throws: UserException - :module: :source:`src/mongo/db/commands/mr.cpp#L1093` + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L384` -.. error:: 16053 +.. line: uassert( 10218 , "not done: toval" , 0 ); - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/commands/mr.cpp#L1095` +.. error:: 10218 -.. error:: 16054 + :message: "not done: toval" + :throws: UserException + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L718` - :message: "shardedFirstPass - :severity: Info - :module: :source:`src/mongo/db/commands/mr.cpp#L281` +.. line: uassert( 10219 , "object passed to getPropery is null" , o ); -.. error:: 16149 +.. error:: 10219 - :message: "cannot + :message: "object passed to getPropery is null" :throws: UserException - :module: :source:`src/mongo/db/commands/mr.cpp#L1025` + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L745` -.. error:: 9014 +.. line: uassert( 10220 , "don't know what to do with this op" , 0 ); - :message: str::stream() +.. error:: 10220 + + :message: "don't know what to do with this op" :throws: UserException - :module: :source:`src/mongo/db/commands/mr.cpp#L72` + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L845` -.. error:: 16153 +.. line: uassert( 10221 , "JS_NewRuntime failed" , _runtime ); - :message: "namespace - :severity: Info - :module: :source:`src/mongo/db/commands/touch.cpp#L96` +.. error:: 10221 -.. error:: 13660 + :message: "JS_NewRuntime failed" + :throws: UserException + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1374` - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/db/compact.cpp#L316` +.. line: uassert( 10223 , "deleted SMScope twice?" , _convertor ); -.. error:: 13661 +.. error:: 10223 - :message: "cannot - :severity: Info - :module: :source:`src/mongo/db/compact.cpp#L317` + :message: "deleted SMScope twice?" + :throws: UserException + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1457` -.. error:: 14024 +.. line: uassert( 10224 , "already local connected" , ! _localConnect ); + +.. error:: 10224 - :message: "compact + :message: "already local connected" :throws: UserException - :module: :source:`src/mongo/db/compact.cpp#L115` + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1503` -.. error:: 14025 +.. line: uassert( 10225 , "already setup for external db" , ! _externalSetup ); + +.. error:: 10225 - :message: "compact + :message: "already setup for external db" :throws: UserException - :module: :source:`src/mongo/db/compact.cpp#L247` + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1513` -.. error:: 14027 +.. line: uassert( 10226 , "connected to different db" , _localDBName == dbName ); - :message: "can't - :severity: Info - :module: :source:`src/mongo/db/compact.cpp#L308` +.. error:: 10226 -.. error:: 14028 + :message: "connected to different db" + :throws: UserException + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1515` - :message: "bad - :severity: Info - :module: :source:`src/mongo/db/compact.cpp#L307` +.. line: uassert( 10227 , "unknown type" , 0 ); -.. error:: 11600 +.. error:: 10227 - :message: "interrupted + :message: "unknown type" :throws: UserException - :module: :source:`src/mongo/db/curop.cpp#L189` + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1584` -.. error:: 11601 +.. line: uassert( 10228, mongoutils::str::stream() << name + " exec failed: " << _error, - :message: "operation +.. error:: 10228 + + :message: mongoutils::str::stream() << name + " exec failed: " << _error, :throws: UserException - :module: :source:`src/mongo/db/curop.cpp#L191` + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1755` -.. error:: 12601 +.. line: uassert( 10230 , "can't handle external yet" , 0 ); - :message: "CurOp - :severity: Info - :module: :source:`src/mongo/db/curop.h#L192` +.. error:: 10230 -.. error:: 13285 + :message: "can't handle external yet" + :throws: UserException + :module: :source:`src/mongo/scripting/engine_v8.cpp#L646` - :message: "manual - :severity: Info - :module: :source:`src/mongo/db/cursor.h#L200` +.. line: uassert( 10231 , "not an object" , v->IsObject() ); -.. error:: 16159 +.. error:: 10231 - :message: "manual - :severity: Info - :module: :source:`src/mongo/db/cursor.h#L211` + :message: "not an object" + :throws: UserException + :module: :source:`src/mongo/scripting/engine_v8.cpp#L691` -.. error:: 16098 +.. line: uassert( 10232, "not a func" , f->IsFunction() ); - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/db/d_concurrency.cpp#L521` +.. error:: 10232 -.. error:: 16099 + :message: "not a func" + :throws: UserException + :module: :source:`src/mongo/scripting/engine_v8.cpp#L753` - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/db/d_concurrency.cpp#L708` +.. line: uassert( 10233 , _error , 0 ); -.. error:: 16100 +.. error:: 10233 - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/db/d_concurrency.cpp#L713` + :message: _error , 0 ); + :throws: UserException + :module: :source:`src/mongo/scripting/engine_v8.cpp#L863` -.. error:: 16103 +.. line: uassert( 10234 , _error , 0 ); - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/db/d_concurrency.cpp#L124` +.. error:: 10234 -.. error:: 16104 + :message: _error , 0 ); + :throws: UserException + :module: :source:`src/mongo/scripting/engine_v8.cpp#L890` - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/db/d_concurrency.cpp#L264` +.. line: uassert( 10235 , "no cursor!" , holder ); -.. error:: 16105 +.. error:: 10235 - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/db/d_concurrency.cpp#L270` + :message: "no cursor!" + :throws: UserException + :module: :source:`src/mongo/scripting/sm_db.cpp#L75` -.. error:: 16106 +.. line: uassert( 10236 , "no args to internal_cursor_constructor" , argc == 0 ); - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/db/d_concurrency.cpp#L516` +.. error:: 10236 -.. error:: 16114 + :message: "no args to internal_cursor_constructor" + :throws: UserException + :module: :source:`src/mongo/scripting/sm_db.cpp#L81` - :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L133` +.. line: uassert( 10239 , "no connection!" , connHolder && connHolder->get() ); -.. error:: 16116 +.. error:: 10239 - :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L340` + :message: "no connection!" + :throws: UserException + :module: :source:`src/mongo/scripting/sm_db.cpp#L279` -.. error:: 16117 +.. line: uassert( 10245 , "no connection!" , conn ); - :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L341` +.. error:: 10245 -.. error:: 16118 + :message: "no connection!" + :throws: UserException + :module: :source:`src/mongo/scripting/sm_db.cpp#L452` - :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L344` +.. line: uassert( 10248 , "no connection!" , conn ); -.. error:: 16119 +.. error:: 10248 - :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L354` + :message: "no connection!" + :throws: UserException + :module: :source:`src/mongo/scripting/sm_db.cpp#L492` -.. error:: 16120 +.. line: uassert( 10251 , "no connection!" , conn ); - :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L355` +.. error:: 10251 -.. error:: 16121 + :message: "no connection!" + :throws: UserException + :module: :source:`src/mongo/scripting/sm_db.cpp#L554` - :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L362` +.. line: uassert( 10256 , "no createDirectClient in clientOnly" , 0 ); -.. error:: 16122 +.. error:: 10256 - :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L364` + :message: "no createDirectClient in clientOnly" + :throws: UserException + :module: :source:`src/mongo/client/clientAndShell.cpp#L69` -.. error:: 16123 +.. line: uassert( 10257 , "need to specify 1 argument to listFiles" , args.nFields() == 1 ); - :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L365` +.. error:: 10257 -.. error:: 16125 + :message: "need to specify 1 argument to listFiles" + :throws: UserException + :module: :source:`src/mongo/shell/shell_utils_extended.cpp#L45` - :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L369` +.. line: uassert( 10258 , "processinfo not supported" , pi.supported() ); -.. error:: 16126 +.. error:: 10258 - :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L371` + :message: "processinfo not supported" + :throws: UserException + :module: :source:`src/mongo/shell/shell_utils.cpp#L80` -.. error:: 16127 +.. line: uassert( 10261, + +.. error:: 10261 :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L377` + :throws: UserException + :module: :source:`src/mongo/scripting/utils.cpp#L27` -.. error:: 16128 +.. line: uassert(10262, errnoWithPrefix("couldn't open file"), f); - :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L379` +.. error:: 10262 -.. error:: 16129 + :message: errnoWithPrefix("couldn't open file"), f); + :throws: UserException + :module: :source:`src/mongo/tools/dump.cpp#L126` - :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L383` +.. line: uassert( 10263 , "unknown error reading file" , -.. error:: 16130 +.. error:: 10263 - :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L385` + :message: "unknown error reading file" + :throws: UserException + :module: :source:`src/mongo/tools/import.cpp#L131` -.. error:: 16131 +.. line: uassert( 10264 , str::stream() << "invalid object size: " << size , size < BUF_SIZE ); - :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L483` +.. error:: 10264 -.. error:: 16132 + :message: str::stream() << "invalid object size: " << size , size < BUF_SIZE ); + :throws: UserException + :module: :source:`src/mongo/tools/tool.cpp#L496` - :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L488` +.. line: uassert( 10265 , "counts don't match" , m.done() == fileLength ); -.. error:: 16133 +.. error:: 10265 - :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L502` + :message: "counts don't match" + :throws: UserException + :module: :source:`src/mongo/tools/tool.cpp#L532` -.. error:: 16134 +.. line: uassert( 10266 , "can't use --source twice" , source == false ); - :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L536` +.. error:: 10266 -.. error:: 16135 + :message: "can't use --source twice" + :throws: UserException + :module: :source:`src/mongo/tools/sniffer.cpp#L480` - :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L727` +.. line: uassert( 10267 , "source needs more args" , args.size() > i + 2); -.. error:: 16171 +.. error:: 10267 - :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L295` + :message: "source needs more args" + :throws: UserException + :module: :source:`src/mongo/tools/sniffer.cpp#L481` -.. error:: 16186 +.. line: uassert( 10268 , "LoggingManager already started" , ! _enabled ); - :message: "can't - :severity: Info - :module: :source:`src/mongo/db/d_concurrency.cpp#L559` +.. error:: 10268 -.. error:: 16187 + :message: "LoggingManager already started" + :throws: UserException + :module: :source:`src/mongo/util/log.cpp#L72` - :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L733` +.. line: uassert( 10270 , "invalid base64" , s.size() % 4 == 0 ); -.. error:: 16188 +.. error:: 10270 - :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L747` + :message: "invalid base64" + :throws: UserException + :module: :source:`src/mongo/util/base64.cpp#L79` -.. error:: 16189 +.. line: uassert( 10271 , "invalid url" , url.find( "http://" ) == 0 ); - :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L753` +.. error:: 10271 -.. error:: 16252 + :message: "invalid url" + :throws: UserException + :module: :source:`src/mongo/util/net/httpclient.cpp#L47` - :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L509` +.. line: uassert( 10273 , "_cur not empty! pipelining requests not supported" , ! _cur.data ); -.. error:: 16253 +.. error:: 10273 - :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L550` + :message: "_cur not empty! pipelining requests not supported" + :throws: UserException + :module: :source:`src/mongo/util/net/message_server_asio.cpp#L110` -.. error:: 16254 +.. line: uassert( 10274 , "pipelining requests doesn't work yet" , query.data->id == _cur.data->id ); - :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L586` +.. error:: 10274 -.. error:: 16255 + :message: "pipelining requests doesn't work yet" + :throws: UserException + :module: :source:`src/mongo/util/net/message_server_asio.cpp#L171` - :message: - :severity: Abort - :module: :source:`src/mongo/db/d_concurrency.cpp#L701` +.. line: uassert( 10275 , "multiple PortMessageServer not supported" , ! pms::handler ); -.. error:: 10028 +.. error:: 10275 - :message: "db + :message: "multiple PortMessageServer not supported" :throws: UserException - :module: :source:`src/mongo/db/database.cpp#L70` + :module: :source:`src/mongo/util/net/message_server_port.cpp#L120` -.. error:: 10029 +.. line: uassert( 10276 , str::stream() << "DBClientBase::findN: transport error: " << getServerAddress() << " ns: " << ns << " query: " << query.toString(), c.get() ); + +.. error:: 10276 - :message: "bad + :message: str::stream() << "DBClientBase::findN: transport error: " << getServerAddress() << " ns: " << ns << " query: " << query.toString(), c.get() ); :throws: UserException - :module: :source:`src/mongo/db/database.cpp#L72` + :module: :source:`src/mongo/client/dbclient.cpp#L666` -.. error:: 10030 +.. line: uasserted( 10278 , str::stream() << "dbclient error communicating with server: " << getServerAddress() ); - :message: "bad +.. error:: 10278 + + :message: str::stream() << "dbclient error communicating with server: " << getServerAddress() ); :throws: UserException - :module: :source:`src/mongo/db/database.cpp#L73` + :module: :source:`src/mongo/client/dbclient.cpp#L1140` -.. error:: 10031 +.. line: massert( 10281 , "verify is misdefined", f); - :message: "bad - :throws: UserException - :module: :source:`src/mongo/db/database.cpp#L74` +.. error:: 10281 -.. error:: 10032 + :message: "verify is misdefined" + :severity: Info + :module: :source:`src/mongo/db/btree.cpp#L144` - :message: "db - :throws: UserException - :module: :source:`src/mongo/db/database.cpp#L71` +.. line: massert( 10282 , "n==0 in btree popBack()", this->n > 0 ); -.. error:: 10295 +.. error:: 10282 - :message: "getFile(): + :message: "n==0 in btree popBack()" :severity: Info - :module: :source:`src/mongo/db/database.cpp#L242` + :module: :source:`src/mongo/db/btree.cpp#L325` -.. error:: 12501 +.. line: massert( 10283 , "rchild not null in btree popBack()", this->nextChild.isNull()); - :message: "quota - :throws: UserException - :module: :source:`src/mongo/db/database.cpp#L326` +.. error:: 10283 -.. error:: 14810 + :message: "rchild not null in btree popBack()" + :severity: Info + :module: :source:`src/mongo/db/btree.cpp#L332` - :message: "couldn't - :throws: UserException - :module: :source:`src/mongo/db/database.cpp#L341` +.. line: massert( 10285 , "_insert: reuse key but lchild is not null", lChild.isNull()); -.. error:: 15924 +.. error:: 10285 - :message: str::stream() + :message: "_insert: reuse key but lchild is not null" :severity: Info - :module: :source:`src/mongo/db/database.cpp#L190` + :module: :source:`src/mongo/db/btree.cpp#L1768` -.. error:: 15927 +.. line: massert( 10286 , "_insert: reuse key but rchild is not null", rChild.isNull()); - :message: "can't +.. error:: 10286 + + :message: "_insert: reuse key but rchild is not null" :severity: Info - :module: :source:`src/mongo/db/database.cpp#L434` + :module: :source:`src/mongo/db/btree.cpp#L1769` -.. error:: 16185 +.. line: throw MsgAssertionException(10287, "btree: key+recloc already in index"); - :message: errorString.str(), - :throws: UserException - :module: :source:`src/mongo/db/database.cpp#L85` +.. error:: 10287 -.. error:: 13074 + :message: "btree: key+recloc already in index"); + :throws: MsgAssertionException + :module: :source:`src/mongo/db/btree.cpp#L85` - :message: "db - :throws: UserException - :module: :source:`src/mongo/db/databaseholder.h#L94` +.. line: massert( 10288 , "bad key order in BtreeBuilder - server internal error", cmp <= 0 ); -.. error:: 13075 +.. error:: 10288 - :message: "db - :throws: UserException - :module: :source:`src/mongo/db/databaseholder.h#L97` + :message: "bad key order in BtreeBuilder - server internal error" + :severity: Info + :module: :source:`src/mongo/db/btreebuilder.cpp#L76` -.. error:: 13280 +.. line: massert( 10289 , "useReplAuth is not written to replication log", !opts.useReplAuth || !opts.logForRepl ); - :message: (string)"invalid - :throws: UserException - :module: :source:`src/mongo/db/databaseholder.h#L88` +.. error:: 10289 -.. error:: 10296 + :message: "useReplAuth is not written to replication log" + :severity: Info + :module: :source:`src/mongo/db/cloner.cpp#L307` - :message: ss.str().c_str(), - :throws: UserException - :module: :source:`src/mongo/db/db.cpp#L486` +.. line: massert( 10290 , s.c_str(), false); -.. error:: 10297 +.. error:: 10290 - :message: "Couldn't + :message: s.c_str(), false); :severity: Info - :module: :source:`src/mongo/db/db.cpp#L1430` + :module: :source:`src/mongo/db/cloner.cpp#L387` -.. error:: 12590 +.. line: massert( 10295 , "getFile(): bad file number value (corrupt db?): run repair", false); - :message: ss.str().c_str(), - :throws: UserException - :module: :source:`src/mongo/db/db.cpp#L491` +.. error:: 10295 -.. error:: 14026 + :message: "getFile(): bad file number value (corrupt db?): run repair" + :severity: Info + :module: :source:`src/mongo/db/database.cpp#L242` + +.. line: uassert( 10296 , ss.str().c_str(), boost::filesystem::exists( dbpath ) ); + +.. error:: 10296 - :message: , + :message: ss.str().c_str(), boost::filesystem::exists( dbpath ) ); :throws: UserException - :module: :source:`src/mongo/db/db.cpp#L307` + :module: :source:`src/mongo/db/db.cpp#L486` -.. error:: 10298 +.. line: massert(10297 , "Couldn't register Windows Ctrl-C handler", SetConsoleCtrlHandler((PHANDLER_ROUTINE) CtrlHandler, TRUE)); - :message: "can't +.. error:: 10297 + + :message: "Couldn't register Windows Ctrl-C handler" :severity: Info - :module: :source:`src/mongo/db/db.h#L40` + :module: :source:`src/mongo/db/db.cpp#L1424` -.. error:: 10039 +.. line: massert(10298 , "can't temprelease nested lock", false); - :message: "can't - :throws: UserException - :module: :source:`src/mongo/db/dbcommands.cpp#L775` +.. error:: 10298 -.. error:: 10040 + :message: "can't temprelease nested lock" + :severity: Info + :module: :source:`src/mongo/db/db.h#L40` - :message: "chunks - :throws: UserException - :module: :source:`src/mongo/db/dbcommands.cpp#L1128` +.. line: massert( 10301 , "source collection " + fromNs + " does not exist", nsd ); .. error:: 10301 - :message: "source + :message: "source collection " + fromNs + " does not exist", nsd ); :severity: Info :module: :source:`src/mongo/db/dbcommands.cpp#L1544` -.. error:: 13049 - - :message: "godinsert - :throws: UserException - :module: :source:`src/mongo/db/dbcommands.cpp#L1681` - -.. error:: 13281 +.. line: massert( 10304 , "Client Error: Remaining data too small for BSON object", theEnd - nextjsobj > 3 ); - :message: "File - :throws: UserException - :module: :source:`src/mongo/db/dbcommands.cpp#L1151` +.. error:: 10304 -.. error:: 13416 + :message: "Client Error: Remaining data too small for BSON object" + :severity: Info + :module: :source:`src/mongo/db/dbmessage.h#L199` - :message: "captrunc - :throws: UserException - :module: :source:`src/mongo/db/dbcommands.cpp#L1817` +.. line: massert( 10305 , "Client Error: Invalid object size", js.objsize() > 3 ); -.. error:: 13417 +.. error:: 10305 - :message: "captrunc + :message: "Client Error: Invalid object size" :severity: Info - :module: :source:`src/mongo/db/dbcommands.cpp#L1825` + :module: :source:`src/mongo/db/dbmessage.h#L201` -.. error:: 13418 +.. line: massert( 10306 , "Client Error: Next object larger than space left in message", - :message: "captrunc - :severity: Info - :module: :source:`src/mongo/db/dbcommands.cpp#L1827` +.. error:: 10306 -.. error:: 13428 + :message: "Client Error: Next object larger than space left in message" + :severity: Info + :module: :source:`src/mongo/db/dbmessage.h#L202` - :message: "emptycapped - :throws: UserException - :module: :source:`src/mongo/db/dbcommands.cpp#L1845` +.. line: massert( 10307 , "Client Error: bad object in message", false); -.. error:: 13429 +.. error:: 10307 - :message: "emptycapped + :message: "Client Error: bad object in message" :severity: Info - :module: :source:`src/mongo/db/dbcommands.cpp#L1848` + :module: :source:`src/mongo/db/dbmessage.h#L205` -.. error:: 13455 +.. line: uasserted( 10309 , str::stream() << "Unable to create/open lock file: " << name << ' ' << errnoWithDescription() << " Is a mongod instance already running?" ); - :message: "dbexit +.. error:: 10309 + + :message: str::stream() << "Unable to create/open lock file: " << name << ' ' << errnoWithDescription() << " Is a mongod instance already running?" ); :throws: UserException - :module: :source:`src/mongo/db/dbcommands.cpp#L358` + :module: :source:`src/mongo/db/instance.cpp#L1132` -.. error:: 14832 +.. line: uassert( 10310 , "Unable to lock file: " + name + ". Is a mongod instance already running?", 0 ); + +.. error:: 10310 - :message: "specify + :message: "Unable to lock file: " + name + ". Is a mongod instance already running?", 0 ); :throws: UserException - :module: :source:`src/mongo/db/dbcommands.cpp#L841` + :module: :source:`src/mongo/db/instance.cpp#L1137` -.. error:: 15880 +.. line: massert( 10311 , message.c_str(), false ); - :message: "no - :severity: Info - :module: :source:`src/mongo/db/dbcommands.cpp#L676` +.. error:: 10311 -.. error:: 15888 + :message: message.c_str(), false ); + :severity: Info + :module: :source:`src/mongo/db/jsobj.cpp#L99` - :message: "must - :throws: UserException - :module: :source:`src/mongo/db/dbcommands.cpp#L838` +.. line: massert( 10312 , message.c_str(), false ); -.. error:: 16247 +.. error:: 10312 - :message: "md5 + :message: message.c_str(), false ); :severity: Info - :module: :source:`src/mongo/db/dbcommands.cpp#L1090` + :module: :source:`src/mongo/db/jsobj.cpp#L257` -.. error:: 10038 +.. line: massert( 10313 , "Insufficient bytes to calculate element size", maxLen == -1 || remain > 3 ); - :message: "forced - :throws: UserException - :module: :source:`src/mongo/db/dbcommands_generic.cpp#L418` +.. error:: 10313 -.. error:: 16175 + :message: "Insufficient bytes to calculate element size" + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L551` - :message: - :severity: Abort - :module: :source:`src/mongo/db/dbcommands_generic.cpp#L347` +.. line: massert( 10314 , "Insufficient bytes to calculate element size", maxLen == -1 || remain > 3 ); -.. error:: 10046 +.. error:: 10314 - :message: "eval - :throws: UserException - :module: :source:`src/mongo/db/dbeval.cpp#L41` + :message: "Insufficient bytes to calculate element size" + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L555` -.. error:: 12598 +.. line: massert( 10315 , "Insufficient bytes to calculate element size", maxLen == -1 || remain > 3 ); - :message: "$eval - :throws: UserException - :module: :source:`src/mongo/db/dbeval.cpp#L122` +.. error:: 10315 -.. error:: 13430 + :message: "Insufficient bytes to calculate element size" + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L560` - :message: "no - :throws: UserException - :module: :source:`src/mongo/db/dbhelpers.cpp#L132` +.. line: massert( 10316 , "Insufficient bytes to calculate element size", maxLen == -1 || remain > 3 ); -.. error:: 16333 +.. error:: 10316 - :message: , + :message: "Insufficient bytes to calculate element size" :severity: Info - :module: :source:`src/mongo/db/dbhelpers.cpp#L244` + :module: :source:`src/mongo/bson/bson-inl.h#L565` -.. error:: 16341 +.. line: massert( 10317 , "Insufficient bytes to calculate element size", maxLen == -1 || remain > 3 ); - :message: , +.. error:: 10317 + + :message: "Insufficient bytes to calculate element size" :severity: Info - :module: :source:`src/mongo/db/dbhelpers.cpp#L238` + :module: :source:`src/mongo/bson/bson-inl.h#L569` -.. error:: 10304 +.. line: //massert( 10318 , "Invalid regex string", len1 != -1 ); // ERH - 4/28/10 - don't think this does anything + +.. error:: 10318 - :message: "Client + :message: "Invalid regex string" :severity: Info - :module: :source:`src/mongo/db/dbmessage.h#L199` + :module: :source:`src/mongo/bson/bson-inl.h#L575` -.. error:: 10305 +.. line: //massert( 10319 , "Invalid regex options string", len2 != -1 ); // ERH - 4/28/10 - don't think this does anything + +.. error:: 10319 - :message: "Client + :message: "Invalid regex options string" :severity: Info - :module: :source:`src/mongo/db/dbmessage.h#L201` + :module: :source:`src/mongo/bson/bson-inl.h#L585` -.. error:: 10306 +.. line: massert(10320 , msg.c_str(),false); + +.. error:: 10320 - :message: "Client + :message: msg.c_str(),false); :severity: Info - :module: :source:`src/mongo/db/dbmessage.h#L202` + :module: :source:`src/mongo/bson/bson-inl.h#L659` -.. error:: 10307 +.. line: massert( 10322 , "Invalid CodeWScope size", totalSize >= 8 ); + +.. error:: 10322 - :message: "Client + :message: "Invalid CodeWScope size" :severity: Info - :module: :source:`src/mongo/db/dbmessage.h#L205` + :module: :source:`src/mongo/bson/bson-inl.h#L501` -.. error:: 13066 +.. line: massert( 10323 , "Invalid CodeWScope string size", totalSize >= strSizeWNull + 4 + 4 ); - :message: "Message - :severity: Info - :module: :source:`src/mongo/db/dbmessage.h#L197` +.. error:: 10323 -.. error:: 13453 + :message: "Invalid CodeWScope string size" + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L503` - :message: "server - :throws: UserException - :module: :source:`src/mongo/db/dbwebserver.cpp#L170` +.. line: massert( 10324 , "Invalid CodeWScope string size", -.. error:: 13599 +.. error:: 10324 - :message: "Written + :message: "Invalid CodeWScope string size" :severity: Info - :module: :source:`src/mongo/db/dur.cpp#L424` + :module: :source:`src/mongo/bson/bson-inl.h#L504` -.. error:: 13616 +.. line: massert( 10325 , "Invalid CodeWScope size", totalSize >= strSizeWNull + 4 + 4 + 4 ); - :message: "can't - :severity: Info - :module: :source:`src/mongo/db/dur.cpp#L200` - -.. error:: 16110 +.. error:: 10325 - :message: - :severity: Abort - :module: :source:`src/mongo/db/dur.cpp#L261` + :message: "Invalid CodeWScope size" + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L507` -.. error:: 13611 +.. line: massert( 10326 , "Invalid CodeWScope object size", totalSize == 4 + 4 + strSizeWNull + objSize ); - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/dur_journal.cpp#L563` +.. error:: 10326 -.. error:: 13614 + :message: "Invalid CodeWScope object size" + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L509` - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/dur_journal.cpp#L530` +.. line: massert( 10327 , "Object does not end with EOO", i.moreWithEOO() ); -.. error:: 15926 +.. error:: 10327 - :message: "Insufficient - :throws: UserException - :module: :source:`src/mongo/db/dur_journal.cpp#L375` + :message: "Object does not end with EOO" + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L458` -.. error:: 13531 +.. line: massert( 10328 , "Invalid element size", e.size() > 0 ); - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/dur_recover.cpp#L79` +.. error:: 10328 -.. error:: 13532 + :message: "Invalid element size" + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L460` - :message: , - :throws: UserException - :module: :source:`src/mongo/db/dur_recover.cpp#L86` +.. line: massert( 10329 , "Element too large", e.size() < ( 1 << 30 ) ); -.. error:: 13533 +.. error:: 10329 - :message: "problem + :message: "Element too large" :severity: Info - :module: :source:`src/mongo/db/dur_recover.cpp#L162` + :module: :source:`src/mongo/bson/bson-inl.h#L461` -.. error:: 13535 +.. line: massert( 10330 , "Element extends past end of object", - :message: "recover - :throws: UserException - :module: :source:`src/mongo/db/dur_recover.cpp#L467` +.. error:: 10330 -.. error:: 13536 + :message: "Element extends past end of object" + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L463` - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/dur_recover.cpp#L394` +.. line: massert( 10331 , "EOO Before end of object", end ); -.. error:: 13537 +.. error:: 10331 - :message: , - :throws: UserException - :module: :source:`src/mongo/db/dur_recover.cpp#L385` + :message: "EOO Before end of object" + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L468` -.. error:: 13544 +.. line: massert( 10332 , "Expected CurrentTime type", _element.type() == Timestamp ); - :message: str::stream() +.. error:: 10332 + + :message: "Expected CurrentTime type" :severity: Info - :module: :source:`src/mongo/db/dur_recover.cpp#L449` + :module: :source:`src/mongo/db/instance.cpp#L111` -.. error:: 13545 +.. line: uassert( 10333 , "Invalid field name", size != -1 ); - :message: str::stream() +.. error:: 10333 + + :message: "Invalid field name" :throws: UserException - :module: :source:`src/mongo/db/dur_recover.cpp#L474` + :module: :source:`src/mongo/bson/bsonelement.h#L439` -.. error:: 13594 +.. line: massert( 10334 , ss.str() , 0 ); + +.. error:: 10334 - :message: "journal + :message: ss.str() , 0 ); :severity: Info - :module: :source:`src/mongo/db/dur_recover.cpp#L358` + :module: :source:`src/mongo/bson/bson-inl.h#L217` -.. error:: 13622 +.. line: massert( 10335 , "builder does not own memory", own ); + +.. error:: 10335 - :message: "Trying + :message: "builder does not own memory" :severity: Info - :module: :source:`src/mongo/db/dur_recover.cpp#L255` + :module: :source:`src/mongo/bson/bsonobjbuilder.h#L554` -.. error:: 15874 +.. line: massert( 10336 , "No subobject started", _s.subobjStarted() ); + +.. error:: 10336 - :message: "couldn't + :message: "No subobject started" :severity: Info - :module: :source:`src/mongo/db/dur_recover.cpp#L114` + :module: :source:`src/mongo/bson/bsonobjbuilder.h#L629` -.. error:: 13546 +.. line: #define CHECK_OBJECT( o , msg ) massert( 10337 , (string)"object not valid" + (msg) , (o).isValid() ) - :message: (str::stream() +.. error:: 10337 + + :message: (string)"object not valid" + (msg) , (o).isValid() ) :severity: Info - :module: :source:`src/mongo/db/durop.cpp#L53` + :module: :source:`src/mongo/client/dbclient.cpp#L1091` -.. error:: 13547 +.. line: massert( 10338 , "Invalid use of reserved field name: " + name, - :message: str::stream() +.. error:: 10338 + + :message: "Invalid use of reserved field name: " + name, :severity: Info - :module: :source:`src/mongo/db/durop.cpp#L144` + :module: :source:`src/mongo/db/json.cpp#L233` -.. error:: 13628 +.. line: massert( 10339 , "Badly formatted bindata", ( end - start ) % 4 == 0 ); - :message: str::stream() +.. error:: 10339 + + :message: "Badly formatted bindata" :severity: Info - :module: :source:`src/mongo/db/durop.cpp#L158` + :module: :source:`src/mongo/db/json.cpp#L406` -.. error:: 10048 +.. line: massert( 10341 , "code has to be set first!" , ! _jsCode.empty() ); - :message: "already - :throws: UserException - :module: :source:`src/mongo/db/extsort.cpp#L109` +.. error:: 10341 -.. error:: 10049 + :message: "code has to be set first!" + :severity: Info + :module: :source:`src/mongo/db/matcher.cpp#L90` - :message: "sorted - :throws: UserException - :module: :source:`src/mongo/db/extsort.cpp#L134` +.. line: massert( 10342 , "pcre not compiled with utf8 support" , ret ); -.. error:: 10050 +.. error:: 10342 - :message: "bad" - :throws: UserException - :module: :source:`src/mongo/db/extsort.cpp#L155` + :message: "pcre not compiled with utf8 support" + :severity: Info + :module: :source:`src/mongo/db/matcher.cpp#L1315` -.. error:: 16392 +.. line: massert( 10343, "bad lenForNewNsFiles", lenForNewNsFiles >= 1024*1024 ); + +.. error:: 10343 - :message: , + :message: "bad lenForNewNsFiles" :severity: Info - :module: :source:`src/mongo/db/extsort.cpp#L269` + :module: :source:`src/mongo/db/namespace_details.cpp#L178` + +.. line: massert( 10345 , "passes >= maxPasses in capped collection alloc", false ); -.. error:: 16393 +.. error:: 10345 - :message: std::string("reading + :message: "passes >= maxPasses in capped collection alloc" :severity: Info - :module: :source:`src/mongo/db/extsort.cpp#L338` + :module: :source:`src/mongo/db/cap.cpp#L266` -.. error:: 16394 +.. line: massert( 10346 , "not implemented", false); - :message: std::string("reading - :severity: Info - :module: :source:`src/mongo/db/extsort.cpp#L331` +.. error:: 10346 -.. error:: 10052 + :message: "not implemented" + :severity: Info + :module: :source:`src/mongo/db/namespace_details.cpp#L568` - :message: "not - :throws: UserException - :module: :source:`src/mongo/db/extsort.h#L108` +.. line: massert( 10348 , "$extra: ns name too long", s.size() < MaxNsLen); -.. error:: 13022 +.. error:: 10348 - :message: "can't - :throws: UserException - :module: :source:`src/mongo/db/geo/2d.cpp#L120` + :message: "$extra: ns name too long" + :severity: Info + :module: :source:`src/mongo/db/namespace-inl.h#L45` -.. error:: 13023 +.. line: massert( 10349 , "E12000 idxNo fails", false); - :message: "2d - :throws: UserException - :module: :source:`src/mongo/db/geo/2d.cpp#L121` +.. error:: 10349 -.. error:: 13024 + :message: "E12000 idxNo fails" + :severity: Info + :module: :source:`src/mongo/db/namespace_details-inl.h#L55` - :message: "no - :throws: UserException - :module: :source:`src/mongo/db/geo/2d.cpp#L130` +.. line: massert( 10350 , "allocExtra: base ns missing?", d ); -.. error:: 13026 +.. error:: 10350 - :message: "geo - :throws: UserException - :module: :source:`src/mongo/db/geo/2d.cpp#L333` + :message: "allocExtra: base ns missing?" + :severity: Info + :module: :source:`src/mongo/db/namespace_details.cpp#L492` -.. error:: 13027 +.. line: massert( 10351 , "allocExtra: extra already exists", ht->get(extra) == 0 ); - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/geo/2d.cpp#L356` +.. error:: 10351 -.. error:: 13028 + :message: "allocExtra: extra already exists" + :severity: Info + :module: :source:`src/mongo/db/namespace_details.cpp#L493` - :message: "bits - :throws: UserException - :module: :source:`src/mongo/db/geo/2d.cpp#L134` +.. line: massert( 10352 , "Security is a singleton class", ++n == 1); -.. error:: 13042 +.. error:: 10352 - :message: (string)"missing - :throws: UserException - :module: :source:`src/mongo/db/geo/2d.cpp#L2866` + :message: "Security is a singleton class" + :severity: Info + :module: :source:`src/mongo/db/nonce.cpp#L33` -.. error:: 13046 +.. line: massert( 10353 , std::string("can't open dev/urandom: ") + strerror(errno), 0 ); - :message: "'near' - :throws: UserException - :module: :source:`src/mongo/db/geo/2d.cpp#L2922` +.. error:: 10353 -.. error:: 13057 + :message: std::string("can't open dev/urandom: ") + strerror(errno), 0 ); + :severity: Info + :module: :source:`src/mongo/db/nonce.cpp#L44` - :message: "$within - :throws: UserException - :module: :source:`src/mongo/db/geo/2d.cpp#L2832` +.. line: massert( 10354 , "md5 unit test fails", false); -.. error:: 13058 +.. error:: 10354 - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/geo/2d.cpp#L2856` + :message: "md5 unit test fails" + :severity: Info + :module: :source:`src/mongo/db/nonce.cpp#L53` -.. error:: 13059 +.. line: massert(10355 , "devrandom failed", !_devrandom->fail()); - :message: "$center - :throws: UserException - :module: :source:`src/mongo/db/geo/2d.cpp#L2842` +.. error:: 10355 -.. error:: 13060 + :message: "devrandom failed" + :severity: Info + :module: :source:`src/mongo/db/nonce.cpp#L62` - :message: "$center - :throws: UserException - :module: :source:`src/mongo/db/geo/2d.cpp#L2503` +.. line: massert( 10356 , str::stream() << "invalid ns: " << ns , NamespaceString::validCollectionName(ns)); -.. error:: 13061 +.. error:: 10356 - :message: "need - :throws: UserException - :module: :source:`src/mongo/db/geo/2d.cpp#L2517` + :message: str::stream() << "invalid ns: " << ns , NamespaceString::validCollectionName(ns)); + :severity: Info + :module: :source:`src/mongo/db/pdfile.cpp#L353` -.. error:: 13063 +.. line: massert( 10357 , "shutdown in progress", ! inShutdown() ); - :message: "$box - :throws: UserException - :module: :source:`src/mongo/db/geo/2d.cpp#L2621` +.. error:: 10357 -.. error:: 13064 + :message: "shutdown in progress" + :severity: Info + :module: :source:`src/mongo/db/pdfile.cpp#L514` - :message: "need - :throws: UserException - :module: :source:`src/mongo/db/geo/2d.cpp#L2633` +.. line: massert( 10358 , "bad new extent size", approxSize >= Extent::minSize() && approxSize <= Extent::maxSize() ); -.. error:: 13065 +.. error:: 10358 - :message: "$box - :throws: UserException - :module: :source:`src/mongo/db/geo/2d.cpp#L2847` + :message: "bad new extent size" + :severity: Info + :module: :source:`src/mongo/db/pdfile.cpp#L515` -.. error:: 13067 +.. line: massert( 10359 , "header==0 on new extent: 32 bit mmap space exceeded?", header() ); // null if file open failed - :message: "geo - :throws: UserException - :module: :source:`src/mongo/db/geo/2d.cpp#L328` +.. error:: 10359 -.. error:: 13068 + :message: "header==0 on new extent: 32 bit mmap space exceeded?" + :severity: Info + :module: :source:`src/mongo/db/pdfile.cpp#L516` - :message: "geo - :throws: UserException - :module: :source:`src/mongo/db/geo/2d.cpp#L330` +.. line: massert( 10360 , "Extent::reset bad magic value", magic == 0x41424344 ); -.. error:: 13460 +.. error:: 10360 - :message: "invalid - :throws: UserException - :module: :source:`src/mongo/db/geo/2d.cpp#L2540` + :message: "Extent::reset bad magic value" + :severity: Info + :module: :source:`src/mongo/db/pdfile.cpp#L663` -.. error:: 13461 +.. line: massert( 10361 , "can't create .$freelist", freeExtents); - :message: "Spherical - :throws: UserException - :module: :source:`src/mongo/db/geo/2d.cpp#L2528` +.. error:: 10361 -.. error:: 13462 + :message: "can't create .$freelist" + :severity: Info + :module: :source:`src/mongo/db/pdfile.cpp#L872` - :message: "Spherical - :throws: UserException - :module: :source:`src/mongo/db/geo/2d.cpp#L2535` +.. line: massert( 10363 , "newCursor() with start location not implemented for indexed plans", startLoc.isNull() ); -.. error:: 13464 +.. error:: 10363 - :message: string("invalid - :throws: UserException - :module: :source:`src/mongo/db/geo/2d.cpp#L2801` + :message: "newCursor() with start location not implemented for indexed plans" + :severity: Info + :module: :source:`src/mongo/db/queryoptimizer.cpp#L292` -.. error:: 13654 +.. line: massert( 10364 , "newReverseCursor() not implemented for indexed plans", false ); - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/geo/2d.cpp#L249` +.. error:: 10364 -.. error:: 13656 + :message: "newReverseCursor() not implemented for indexed plans" + :severity: Info + :module: :source:`src/mongo/db/queryoptimizer.cpp#L315` - :message: "the - :throws: UserException - :module: :source:`src/mongo/db/geo/2d.cpp#L2508` +.. line: massert( 10365 , errmsg, indexDetailsForRange( _qps.frsp().ns(), errmsg, _min, _max, -.. error:: 14029 +.. error:: 10365 - :message: "$polygon - :throws: UserException - :module: :source:`src/mongo/db/geo/2d.cpp#L2852` - -.. error:: 14030 + :message: errmsg, indexDetailsForRange( _qps.frsp().ns(), errmsg, _min, _max, + :severity: Info + :module: :source:`src/mongo/db/queryoptimizer.cpp#L742` - :message: "polygon - :throws: UserException - :module: :source:`src/mongo/db/geo/2d.cpp#L2716` +.. line: uassert( 10366, "natural order cannot be specified with $min/$max", -.. error:: 13047 +.. error:: 10366 - :message: "wrong + :message: "natural order cannot be specified with $min/$max" :throws: UserException - :module: :source:`src/mongo/db/geo/core.h#L106` - -.. error:: 14808 + :module: :source:`src/mongo/db/queryoptimizer.cpp#L623` - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/geo/core.h#L509` +.. line: uassert( 10367 , errmsg, idx ); -.. error:: 13314 +.. error:: 10367 - :message: "can't + :message: errmsg, idx ); :throws: UserException - :module: :source:`src/mongo/db/geo/haystack.cpp#L89` + :module: :source:`src/mongo/db/queryoptimizer.cpp#L635` -.. error:: 13315 +.. line: massert( 10368 , "Unable to locate previously recorded index", p ); - :message: "2d - :throws: UserException - :module: :source:`src/mongo/db/geo/haystack.cpp#L90` +.. error:: 10368 -.. error:: 13316 + :message: "Unable to locate previously recorded index" + :severity: Info + :module: :source:`src/mongo/db/queryoptimizer.cpp#L696` - :message: "no - :throws: UserException - :module: :source:`src/mongo/db/geo/haystack.cpp#L99` +.. line: massert( 10369 , "no plans", _plans._plans.size() > 0 ); -.. error:: 13317 +.. error:: 10369 - :message: "no - :throws: UserException - :module: :source:`src/mongo/db/geo/haystack.cpp#L100` + :message: "no plans" + :severity: Info + :module: :source:`src/mongo/db/queryoptimizer.cpp#L1018` -.. error:: 13318 +.. line: uassert( 10370 , "$all requires array", e.type() == Array ); + +.. error:: 10370 - :message: "near + :message: "$all requires array" :throws: UserException - :module: :source:`src/mongo/db/geo/haystack.cpp#L298` + :module: :source:`src/mongo/db/queryutil.cpp#L364` -.. error:: 13319 +.. line: massert( 10371 , "can only add to Projection once", _source.isEmpty()); - :message: "maxDistance - :throws: UserException - :module: :source:`src/mongo/db/geo/haystack.cpp#L299` +.. error:: 10371 -.. error:: 13320 + :message: "can only add to Projection once" + :severity: Info + :module: :source:`src/mongo/db/projection.cpp#L26` - :message: "search - :throws: UserException - :module: :source:`src/mongo/db/geo/haystack.cpp#L300` +.. line: massert( 10384 , "--only requires use of --source", cmdLine.only.empty()); -.. error:: 13321 +.. error:: 10384 - :message: "need - :throws: UserException - :module: :source:`src/mongo/db/geo/haystack.cpp#L80` + :message: "--only requires use of --source" + :severity: Info + :module: :source:`src/mongo/db/repl.cpp#L409` -.. error:: 13322 +.. line: massert( 10385 , "Unable to get database list", ok ); - :message: "not - :throws: UserException - :module: :source:`src/mongo/db/geo/haystack.cpp#L106` +.. error:: 10385 -.. error:: 13323 + :message: "Unable to get database list" + :severity: Info + :module: :source:`src/mongo/db/repl.cpp#L465` - :message: "latlng - :throws: UserException - :module: :source:`src/mongo/db/geo/haystack.cpp#L141` +.. line: massert( 10386 , "non Date ts found: " + last.toString(), ts.type() == Date || ts.type() == Timestamp ); -.. error:: 13326 +.. error:: 10386 - :message: "quadrant - :throws: UserException - :module: :source:`src/mongo/db/geo/haystack.cpp#L101` + :message: "non Date ts found: " + last.toString(), ts.type() == Date || ts.type() == Timestamp ); + :severity: Info + :module: :source:`src/mongo/db/repl.cpp#L781` -.. error:: 16241 +.. line: massert( 10389 , "Unable to get database list", ok ); - :message: "Currently - :throws: UserException - :module: :source:`src/mongo/db/hashindex.cpp#L34` +.. error:: 10389 -.. error:: 16242 + :message: "Unable to get database list" + :severity: Info + :module: :source:`src/mongo/db/repl.cpp#L810` - :message: "Currently - :throws: UserException - :module: :source:`src/mongo/db/hashindex.cpp#L36` +.. line: massert( 10390 , "got $err reading remote oplog", false ); -.. error:: 16243 +.. error:: 10390 - :message: "error: + :message: "got $err reading remote oplog" :severity: Info - :module: :source:`src/mongo/db/hashindex.cpp#L56` - -.. error:: 16244 + :module: :source:`src/mongo/db/repl.cpp#L900` - :message: "Error: - :throws: UserException - :module: :source:`src/mongo/db/hashindex.cpp#L75` +.. line: massert( 10391 , "repl: bad object read from remote oplog", false); -.. error:: 16245 +.. error:: 10391 - :message: "Only + :message: "repl: bad object read from remote oplog" :severity: Info - :module: :source:`src/mongo/db/hashindex.cpp#L161` + :module: :source:`src/mongo/db/repl.cpp#L905` -.. error:: 10096 +.. line: massert( 10392 , "bad user object? [1]", !u.empty()); - :message: "invalid - :throws: UserException - :module: :source:`src/mongo/db/index.cpp#L308` +.. error:: 10392 -.. error:: 10097 + :message: "bad user object? [1]" + :severity: Info + :module: :source:`src/mongo/db/repl.cpp#L1080` - :message: str::stream() +.. line: massert( 10393 , "bad user object? [2]", !p.empty()); + +.. error:: 10393 + + :message: "bad user object? [2]" :severity: Info - :module: :source:`src/mongo/db/index.cpp#L309` + :module: :source:`src/mongo/db/repl.cpp#L1081` -.. error:: 10098 +.. line: massert( 10399 , "ModSet::createNewFromMods - RIGHT_SUBFIELD should be impossible" , 0 ); - :message: s.c_str()); - :throws: UserException - :module: :source:`src/mongo/db/index.cpp#L316` +.. error:: 10399 -.. error:: 11001 + :message: "ModSet::createNewFromMods - RIGHT_SUBFIELD should be impossible" + :severity: Info + :module: :source:`src/mongo/db/ops/update_internal.cpp#L761` - :message: h->dupKeyError( - :throws: UserException - :module: :source:`src/mongo/db/index.cpp#L97` +.. line: massert( 10400 , "unhandled case" , 0 ); -.. error:: 12504 +.. error:: 10400 - :message: s); - :throws: UserException - :module: :source:`src/mongo/db/index.cpp#L323` + :message: "unhandled case" + :severity: Info + :module: :source:`src/mongo/db/ops/update_internal.cpp#L764` -.. error:: 12505 +.. line: massert( 10412 , - :message: s); - :throws: UserException - :module: :source:`src/mongo/db/index.cpp#L353` +.. error:: 10412 -.. error:: 12523 + :message: + :severity: Info + :module: :source:`src/mongo/s/chunk.cpp#L423` - :message: "no - :throws: UserException - :module: :source:`src/mongo/db/index.cpp#L304` +.. line: massert( 10420 , "how could chunk manager be null!" , cm ); -.. error:: 12524 +.. error:: 10420 - :message: "index - :throws: UserException - :module: :source:`src/mongo/db/index.cpp#L313` + :message: "how could chunk manager be null!" + :severity: Info + :module: :source:`src/mongo/s/commands_public.cpp#L846` -.. error:: 12588 +.. line: massert( 10421, - :message: "cannot - :throws: UserException - :module: :source:`src/mongo/db/index.cpp#L359` +.. error:: 10421 -.. error:: 14803 + :message: + :severity: Info + :module: :source:`src/mongo/s/grid.cpp#L540` - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/index.cpp#L394` +.. line: massert( 10422 , "write with bad shard config and no server id!" , clientID.isSet() ); -.. error:: 14802 +.. error:: 10422 - :message: "index - :throws: UserException - :module: :source:`src/mongo/db/index.h#L193` + :message: "write with bad shard config and no server id!" + :severity: Info + :module: :source:`src/mongo/s/d_logic.cpp#L110` -.. error:: 10092 +.. line: massert( 10427 , "invalid writeback message" , msg.header()->valid() ); - :message: "too - :throws: UserException - :module: :source:`src/mongo/db/index_update.cpp#L251` +.. error:: 10427 -.. error:: 12584 + :message: "invalid writeback message" + :severity: Info + :module: :source:`src/mongo/s/writeback_listener.cpp#L187` - :message: "cursor - :throws: UserException - :module: :source:`src/mongo/db/index_update.cpp#L406` +.. line: massert( 10428 , "need_authoritative set but in authoritative mode already" , ! authoritative ); -.. error:: 12585 +.. error:: 10428 - :message: "cursor - :throws: UserException - :module: :source:`src/mongo/db/index_update.cpp#L385` + :message: "need_authoritative set but in authoritative mode already" + :severity: Info + :module: :source:`src/mongo/s/shard_version.cpp#L246` -.. error:: 13130 +.. line: massert( 10429 , errmsg , 0 ); - :message: "can't - :throws: UserException - :module: :source:`src/mongo/db/index_update.cpp#L422` +.. error:: 10429 -.. error:: 16093 + :message: errmsg , 0 ); + :severity: Info + :module: :source:`src/mongo/s/shard_version.cpp#L279` + +.. line: massert( 10430 , "invalid object id: not hex", false ); + +.. error:: 10430 - :message: "after + :message: "invalid object id: not hex" :severity: Info - :module: :source:`src/mongo/db/index_update.cpp#L377` + :module: :source:`src/mongo/scripting/engine.cpp#L170` -.. error:: 16408 +.. line: massert( 10431 , "JS_NewContext failed" , _context ); - :message: - :severity: Abort - :module: :source:`src/mongo/db/index_update.cpp#L306` +.. error:: 10431 -.. error:: 13007 + :message: "JS_NewContext failed" + :severity: Info + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1433` - :message: "can - :throws: UserException - :module: :source:`src/mongo/db/indexkey.cpp#L65` +.. line: massert( 10432 , "JS_NewObject failed for global" , _global ); -.. error:: 13529 +.. error:: 10432 - :message: "sparse - :throws: UserException - :module: :source:`src/mongo/db/indexkey.cpp#L82` + :message: "JS_NewObject failed for global" + :severity: Info + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1440` -.. error:: 15855 +.. line: massert( 10433 , "js init failed" , JS_InitStandardClasses( _context , _global ) ); - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/indexkey.cpp#L299` +.. error:: 10433 -.. error:: 15869 + :message: "js init failed" + :severity: Info + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1442` + +.. line: massert( 10437 , "unknown exception" , false ); \ - :message: "Invalid +.. error:: 10437 + + :message: "unknown exception" :severity: Info - :module: :source:`src/mongo/db/indexkey.cpp#L415` + :module: :source:`src/mongo/util/assert_util.h#L240` -.. error:: 10054 +.. line: massert( 10438 , "ReadFile error - truncated file?", read == len); - :message: "not - :throws: UserException - :module: :source:`src/mongo/db/instance.cpp#L572` +.. error:: 10438 -.. error:: 10055 + :message: "ReadFile error - truncated file?" + :severity: Info + :module: :source:`src/mongo/util/file.h#L117` - :message: "update - :throws: UserException - :module: :source:`src/mongo/db/instance.cpp#L555` +.. line: uasserted(10439, ""); -.. error:: 10056 +.. error:: 10439 - :message: "not + :message: ""); :throws: UserException - :module: :source:`src/mongo/db/instance.cpp#L609` + :module: :source:`src/mongo/util/file_allocator.cpp#L294` -.. error:: 10058 +.. line: uassert( 10440 , ss.str(), filelen == 0 ); + +.. error:: 10440 - :message: "not + :message: ss.str(), filelen == 0 ); :throws: UserException - :module: :source:`src/mongo/db/instance.cpp#L807` + :module: :source:`src/mongo/util/file_allocator.cpp#L178` -.. error:: 10059 +.. line: uassert( 10441 , str::stream() << "Unable to allocate new file of size " << size << ' ' << errnoWithDescription(), - :message: "object +.. error:: 10441 + + :message: str::stream() << "Unable to allocate new file of size " << size << ' ' << errnoWithDescription(), :throws: UserException - :module: :source:`src/mongo/db/instance.cpp#L751` + :module: :source:`src/mongo/util/file_allocator.cpp#L182` -.. error:: 10309 +.. line: uassert( 10442 , str::stream() << "Unable to allocate new file of size " << size << ' ' << errnoWithDescription(), - :message: str::stream() +.. error:: 10442 + + :message: str::stream() << "Unable to allocate new file of size " << size << ' ' << errnoWithDescription(), :throws: UserException - :module: :source:`src/mongo/db/instance.cpp#L1132` + :module: :source:`src/mongo/util/file_allocator.cpp#L184` -.. error:: 10310 +.. line: uassert( 10443 , errnoWithPrefix("FileAllocator: file write failed" ), written > 0 ); + +.. error:: 10443 - :message: "Unable + :message: errnoWithPrefix("FileAllocator: file write failed" ), written > 0 ); :throws: UserException - :module: :source:`src/mongo/db/instance.cpp#L1137` + :module: :source:`src/mongo/util/file_allocator.cpp#L199` -.. error:: 10332 +.. line: massert( 10446 , str::stream() << "mmap: can't map area of size 0 file: " << filename, length > 0 ); - :message: "Expected +.. error:: 10446 + + :message: str::stream() << "mmap: can't map area of size 0 file: " << filename, length > 0 ); :severity: Info - :module: :source:`src/mongo/db/instance.cpp#L111` + :module: :source:`src/mongo/util/mmap_posix.cpp#L100` -.. error:: 12596 +.. line: uassert(10447, str::stream() << "map file alloc failed, wanted: " << length << " filelen: " << filelen << ' ' << sizeof(size_t), filelen == length ); - :message: "old - :throws: UserException - :module: :source:`src/mongo/db/instance.cpp#L1203` +.. error:: 10447 -.. error:: 13004 - - :message: str::stream() + :message: str::stream() << "map file alloc failed, wanted: " << length << " filelen: " << filelen << ' ' << sizeof(size_t), filelen == length ); :throws: UserException - :module: :source:`src/mongo/db/instance.cpp#L500` + :module: :source:`src/mongo/util/mmap_posix.cpp#L110` -.. error:: 13073 +.. line: massert( 10448 , "invalid object id: length", str.size() == 24 ); - :message: "shutting - :severity: Info - :module: :source:`src/mongo/db/instance.cpp#L687` +.. error:: 10448 -.. error:: 13342 + :message: "invalid object id: length" + :severity: Info + :module: :source:`src/mongo/scripting/engine.cpp#L161` - :message: "Unable - :throws: UserException - :module: :source:`src/mongo/db/instance.cpp#L1221` +.. line: uassert( 11001 , h->dupKeyError( idx , k ) , !dup); -.. error:: 13511 +.. error:: 11001 - :message: "document + :message: h->dupKeyError( idx , k ) , !dup); :throws: UserException - :module: :source:`src/mongo/db/instance.cpp#L757` - -.. error:: 13597 + :module: :source:`src/mongo/db/index.cpp#L97` - :message: "can't - :throws: UserException - :module: :source:`src/mongo/db/instance.cpp#L1213` +.. line: uassert( 11004 , "connection was returned to the pool already" , _conn ); -.. error:: 13618 +.. error:: 11004 - :message: "can't + :message: "connection was returned to the pool already" :throws: UserException - :module: :source:`src/mongo/db/instance.cpp#L1238` - -.. error:: 13625 + :module: :source:`src/mongo/client/connpool.h#L246` - :message: "Unable - :throws: UserException - :module: :source:`src/mongo/db/instance.cpp#L1217` +.. line: uassert( 11005 , "connection was returned to the pool already" , _conn ); -.. error:: 13627 +.. error:: 11005 - :message: str::stream() + :message: "connection was returned to the pool already" :throws: UserException - :module: :source:`src/mongo/db/instance.cpp#L1126` - -.. error:: 13658 + :module: :source:`src/mongo/client/connpool.h#L252` - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/db/instance.cpp#L499` +.. line: uasserted(11010,string("count fails:") + res.toString()); -.. error:: 13659 +.. error:: 11010 - :message: "sent + :message: string("count fails:") + res.toString()); :throws: UserException - :module: :source:`src/mongo/db/instance.cpp#L498` - -.. error:: 16257 + :module: :source:`src/mongo/client/dbclient.cpp#L375` - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/instance.cpp#L427` +.. line: uasserted(11600,"interrupted at shutdown"); -.. error:: 16258 +.. error:: 11600 - :message: str::stream() + :message: "interrupted at shutdown" :throws: UserException - :module: :source:`src/mongo/db/instance.cpp#L660` - -.. error:: 16372 + :module: :source:`src/mongo/db/curop.cpp#L189` - :message: - :severity: Abort - :module: :source:`src/mongo/db/introspect.cpp#L83` +.. line: uasserted(11601,"operation was interrupted"); -.. error:: 10060 +.. error:: 11601 - :message: "woSortOrder + :message: "operation was interrupted" :throws: UserException - :module: :source:`src/mongo/db/jsobj.cpp#L541` + :module: :source:`src/mongo/db/curop.cpp#L191` -.. error:: 10061 +.. line: uassert(12000, "rs slaveDelay differential too big check clocks and systems", sleeptime < 0x40000000); - :message: "type +.. error:: 12000 + + :message: "rs slaveDelay differential too big check clocks and systems" :throws: UserException - :module: :source:`src/mongo/db/jsobj.cpp#L1148` + :module: :source:`src/mongo/db/repl/rs_sync.cpp#L442` -.. error:: 10311 +.. line: uassert( 12001 , "E12001 can't sort with $snapshot", _order.isEmpty() ); - :message: message.c_str(), - :severity: Info - :module: :source:`src/mongo/db/jsobj.cpp#L99` +.. error:: 12001 -.. error:: 10312 + :message: "E12001 can't sort with $snapshot" + :throws: UserException + :module: :source:`src/mongo/db/queryutil.h#L213` - :message: message.c_str(), - :severity: Info - :module: :source:`src/mongo/db/jsobj.cpp#L257` +.. line: uassert( 12002 , "E12002 can't use hint with $snapshot", _hint.isEmpty() ); -.. error:: 12579 +.. error:: 12002 - :message: "unhandled + :message: "E12002 can't use hint with $snapshot" :throws: UserException - :module: :source:`src/mongo/db/jsobj.cpp#L869` + :module: :source:`src/mongo/db/queryutil.h#L214` -.. error:: 14853 +.. line: uassert(12050, "cannot delete from system namespace", legalClientSystemNS( ns , true ) ); + +.. error:: 12050 - :message: "type + :message: "cannot delete from system namespace" :throws: UserException - :module: :source:`src/mongo/db/jsobj.cpp#L1201` + :module: :source:`src/mongo/db/ops/delete.cpp#L40` -.. error:: 10338 +.. line: uassert( 12051, "clientcursor already in use? driver problem?", - :message: "Invalid - :severity: Info - :module: :source:`src/mongo/db/json.cpp#L233` +.. error:: 12051 -.. error:: 10339 + :message: "clientcursor already in use? driver problem?" + :throws: UserException + :module: :source:`src/mongo/db/clientcursor.h#L96` - :message: "Badly - :severity: Info - :module: :source:`src/mongo/db/json.cpp#L406` +.. line: throw UserException(123, ErrorMsg("blah", num_val)); + +.. error:: 123 -.. error:: 10340 + :message: ErrorMsg("blah", num_val)); + :throws: UserException + :module: :source:`src/mongo/util/assert_util.h#L72` - :message: "Failure - :severity: Info - :module: :source:`src/mongo/db/json.cpp#L642` +.. line: uasserted( 12376, -.. error:: 13649 +.. error:: 12376 - :message: "no + :message: :throws: UserException - :module: :source:`src/mongo/db/lasterror.cpp#L93` + :module: :source:`src/mongo/s/strategy_shard.cpp#L664` -.. error:: 16146 +.. line: uasserted(12501, "quota exceeded"); - :message: - :severity: Abort - :module: :source:`src/mongo/db/lockstat.cpp#L76` +.. error:: 12501 -.. error:: 16339 + :message: "quota exceeded" + :throws: UserException + :module: :source:`src/mongo/db/database.cpp#L326` - :message: - :severity: Abort - :module: :source:`src/mongo/db/lockstat.cpp#L87` +.. line: uasserted( 12502, "can't drop system ns" ); -.. error:: 16115 +.. error:: 12502 - :message: - :severity: Abort - :module: :source:`src/mongo/db/lockstate.cpp#L171` + :message: "can't drop system ns" + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L902` -.. error:: 16169 +.. line: uasserted(12503,ss.str()); - :message: - :severity: Abort - :module: :source:`src/mongo/db/lockstate.cpp#L84` +.. error:: 12503 -.. error:: 16170 + :message: ss.str()); + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L940` - :message: - :severity: Abort - :module: :source:`src/mongo/db/lockstate.cpp#L206` +.. line: uasserted(12504, s); -.. error:: 16231 +.. error:: 12504 - :message: - :severity: Abort - :module: :source:`src/mongo/db/lockstate.cpp#L201` + :message: s); + :throws: UserException + :module: :source:`src/mongo/db/index.cpp#L323` -.. error:: 10066 +.. line: uasserted(12505,s); - :message: "$where +.. error:: 12505 + + :message: s); :throws: UserException - :module: :source:`src/mongo/db/matcher.cpp#L421` + :module: :source:`src/mongo/db/index.cpp#L353` -.. error:: 10067 +.. line: throw UserException( 12509, (string)"don't know what this is: " + field ); + +.. error:: 12509 - :message: "$where + :message: (string)"don't know what this is: " + field ); :throws: UserException - :module: :source:`src/mongo/db/matcher.cpp#L422` + :module: :source:`src/mongo/scripting/engine_v8.cpp#L654` -.. error:: 10068 +.. line: throw UserException( 12510, "externalSetup already called, can't call externalSetup" ); + +.. error:: 12510 - :message: (string)"invalid + :message: "externalSetup already called, can't call externalSetup" ); :throws: UserException - :module: :source:`src/mongo/db/matcher.cpp#L285` + :module: :source:`src/mongo/scripting/engine_v8.cpp#L955` -.. error:: 10069 +.. line: throw UserException( 12511, "localConnect called with a different name previously" ); - :message: (string)"BUG +.. error:: 12511 + + :message: "localConnect called with a different name previously" ); :throws: UserException - :module: :source:`src/mongo/db/matcher.cpp#L371` + :module: :source:`src/mongo/scripting/engine_v8.cpp#L959` -.. error:: 10070 +.. line: throw UserException( 12512, "localConnect already called, can't call externalSetup" ); + +.. error:: 12512 - :message: "$where + :message: "localConnect already called, can't call externalSetup" ); :throws: UserException - :module: :source:`src/mongo/db/matcher.cpp#L106` + :module: :source:`src/mongo/scripting/engine_v8.cpp#L978` -.. error:: 10071 +.. line: uassert( 12513, "connect failed", scope.exec( _dbConnect , "(connect)" , false , true , false ) ); + +.. error:: 12513 - :message: ss.str(), + :message: "connect failed" :throws: UserException - :module: :source:`src/mongo/db/matcher.cpp#L120` + :module: :source:`src/mongo/shell/shell_utils.cpp#L151` -.. error:: 10072 +.. line: uassert( 12514, "login failed", scope.exec( _dbAuth , "(auth)" , true , true , false ) ); + +.. error:: 12514 - :message: "unknown + :message: "login failed" :throws: UserException - :module: :source:`src/mongo/db/matcher.cpp#L123` + :module: :source:`src/mongo/shell/shell_utils.cpp#L154` -.. error:: 10073 +.. line: uassert(12515, "can't remove and update", cmdObj["update"].eoo()); - :message: "mod +.. error:: 12515 + + :message: "can't remove and update" :throws: UserException - :module: :source:`src/mongo/db/matcher.cpp#L155` + :module: :source:`src/mongo/db/commands/find_and_modify.cpp#L258` -.. error:: 10341 +.. line: uassert(12516, "must specify remove or update", !update.eoo()); - :message: "code - :severity: Info - :module: :source:`src/mongo/db/matcher.cpp#L90` +.. error:: 12516 -.. error:: 10342 + :message: "must specify remove or update" + :throws: UserException + :module: :source:`src/mongo/db/commands/find_and_modify.cpp#L290` - :message: "pcre - :severity: Info - :module: :source:`src/mongo/db/matcher.cpp#L1315` +.. line: uassert( 12517 , "$elemMatch needs an Object" , m.type() == Object ); .. error:: 12517 - :message: "$elemMatch + :message: "$elemMatch needs an Object" :throws: UserException :module: :source:`src/mongo/db/matcher.cpp#L162` -.. error:: 13020 +.. line: uassert( 12518, "srand requires a single numeric argument", + +.. error:: 12518 - :message: "with + :message: "srand requires a single numeric argument" :throws: UserException - :module: :source:`src/mongo/db/matcher.cpp#L215` + :module: :source:`src/mongo/shell/shell_utils.cpp#L97` -.. error:: 13029 +.. line: uassert( 12519, "rand accepts no arguments", a.nFields() == 0 ); + +.. error:: 12519 - :message: "can't + :message: "rand accepts no arguments" :throws: UserException - :module: :source:`src/mongo/db/matcher.cpp#L362` + :module: :source:`src/mongo/shell/shell_utils.cpp#L108` -.. error:: 13030 +.. line: massert( 12521, "internal error: use of an unlocked ClientCursor", c == 0 || c->_pinValue ); - :message: "$not - :throws: UserException - :module: :source:`src/mongo/db/matcher.cpp#L479` +.. error:: 12521 -.. error:: 13031 + :message: "internal error: use of an unlocked ClientCursor" + :severity: Info + :module: :source:`src/mongo/db/clientcursor.h#L328` - :message: "invalid - :throws: UserException - :module: :source:`src/mongo/db/matcher.cpp#L489` +.. line: uassert( 12522 , "$ operator made object too large" , newObj.objsize() <= BSONObjMaxUserSize ); -.. error:: 13032 +.. error:: 12522 - :message: "can't + :message: "$ operator made object too large" :throws: UserException - :module: :source:`src/mongo/db/matcher.cpp#L351` + :module: :source:`src/mongo/db/ops/update.cpp#L45` -.. error:: 13086 +.. line: uassert(12523, "no index name specified", *name); + +.. error:: 12523 - :message: "$and/$or/$nor + :message: "no index name specified" :throws: UserException - :module: :source:`src/mongo/db/matcher.cpp#L377` + :module: :source:`src/mongo/db/index.cpp#L304` -.. error:: 13087 +.. line: uassert(12524, "index key pattern too large", key.objsize() <= 2048); - :message: "$and/$or/$nor - :throws: UserException - :module: :source:`src/mongo/db/matcher.cpp#L381` +.. error:: 12524 -.. error:: 13089 + :message: "index key pattern too large" + :throws: UserException + :module: :source:`src/mongo/db/index.cpp#L313` - :message: "no - :severity: Info - :module: :source:`src/mongo/db/matcher.cpp#L423` +.. line: uassert( 12527 , "not okForStorage" , e.embeddedObject().okForStorage() ); -.. error:: 13276 +.. error:: 12527 - :message: "$in + :message: "not okForStorage" :throws: UserException - :module: :source:`src/mongo/db/matcher.cpp#L310` + :module: :source:`src/mongo/db/ops/update_internal.h#L212` -.. error:: 13277 +.. line: throw UserException( 12528 , (string)"should be ok for storage:" + s ); + +.. error:: 12528 - :message: "$nin + :message: (string)"should be ok for storage:" + s ); :throws: UserException - :module: :source:`src/mongo/db/matcher.cpp#L321` + :module: :source:`src/mongo/dbtests/jsobjtests.cpp#L2026` -.. error:: 13629 +.. line: throw UserException( 12529 , (string)"should NOT be ok for storage:" + s ); - :message: "can't +.. error:: 12529 + + :message: (string)"should NOT be ok for storage:" + s ); :throws: UserException - :module: :source:`src/mongo/db/matcher.cpp#L438` + :module: :source:`src/mongo/dbtests/jsobjtests.cpp#L2033` -.. error:: 14844 +.. line: uassert( 12579, "unhandled cases in BSONObj okForStorage" , 0 ); + +.. error:: 12579 - :message: "$atomic + :message: "unhandled cases in BSONObj okForStorage" :throws: UserException - :module: :source:`src/mongo/db/matcher.cpp#L516` + :module: :source:`src/mongo/db/jsobj.cpp#L869` -.. error:: 15882 +.. line: uassert( 12580 , "invalid query" , e.isABSONObj() ); + +.. error:: 12580 - :message: "$elemMatch + :message: "invalid query" :throws: UserException - :module: :source:`src/mongo/db/matcher.cpp#L207` + :module: :source:`src/mongo/db/queryutil.cpp#L174` -.. error:: 15902 +.. line: uassert( 12581, msg.c_str(), boost::filesystem::exists( root ) ); - :message: "$where - :throws: UserException - :module: :source:`src/mongo/db/matcher.cpp#L420` - -.. error:: 13520 +.. error:: 12581 - :message: str::stream() + :message: msg.c_str(), boost::filesystem::exists( root ) ); :throws: UserException - :module: :source:`src/mongo/db/mongommf.cpp#L162` + :module: :source:`src/mongo/shell/shell_utils_extended.cpp#L54` -.. error:: 13636 +.. line: uassert( 12582, "duplicate key insert for unique index of capped collection", - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/db/mongommf.cpp#L191` +.. error:: 12582 -.. error:: 16112 + :message: "duplicate key insert for unique index of capped collection" + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L1239` - :message: - :severity: Abort - :module: :source:`src/mongo/db/mongommf.cpp#L46` +.. line: massert( 12583, "unexpected index insertion failure on capped collection", !d->isCapped() ); -.. error:: 10080 +.. error:: 12583 - :message: "ns - :throws: UserException - :module: :source:`src/mongo/db/namespace-inl.h#L35` + :message: "unexpected index insertion failure on capped collection" + :severity: Info + :module: :source:`src/mongo/db/pdfile.cpp#L1545` -.. error:: 10348 +.. line: uasserted(12584, "cursor gone during bg index"); - :message: "$extra: - :severity: Info - :module: :source:`src/mongo/db/namespace-inl.h#L45` +.. error:: 12584 -.. error:: 10349 + :message: "cursor gone during bg index" + :throws: UserException + :module: :source:`src/mongo/db/index_update.cpp#L406` - :message: "E12000 - :severity: Info - :module: :source:`src/mongo/db/namespace_details-inl.h#L55` +.. line: uasserted(12585, "cursor gone during bg index; dropDups"); -.. error:: 13283 +.. error:: 12585 - :message: "Missing - :throws: MsgAssertionException - :module: :source:`src/mongo/db/namespace_details-inl.h#L33` + :message: "cursor gone during bg index; dropDups" + :throws: UserException + :module: :source:`src/mongo/db/index_update.cpp#L385` -.. error:: 14045 +.. line: uassert(12586, "cannot perform operation: a background operation is currently running for this database", - :message: "missing - :severity: Info - :module: :source:`src/mongo/db/namespace_details-inl.h#L34` +.. error:: 12586 -.. error:: 14823 + :message: "cannot perform operation: a background operation is currently running for this database" + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L111` - :message: "missing - :throws: MsgAssertionException - :module: :source:`src/mongo/db/namespace_details-inl.h#L41` +.. line: uassert(12587, "cannot perform operation: a background operation is currently running for this collection", -.. error:: 14824 +.. error:: 12587 - :message: "missing - :severity: Info - :module: :source:`src/mongo/db/namespace_details-inl.h#L42` + :message: "cannot perform operation: a background operation is currently running for this collection" + :throws: UserException + :module: :source:`src/mongo/db/pdfile.cpp#L116` -.. error:: 10079 +.. line: uassert(12588, "cannot add index with a background operation in progress", + +.. error:: 12588 - :message: "bad + :message: "cannot add index with a background operation in progress" :throws: UserException - :module: :source:`src/mongo/db/namespace_details.cpp#L171` + :module: :source:`src/mongo/db/index.cpp#L359` -.. error:: 10081 +.. line: uassert( 12590 , ss.str().c_str(), boost::filesystem::exists( repairpath ) ); + +.. error:: 12590 - :message: "too + :message: ss.str().c_str(), boost::filesystem::exists( repairpath ) ); :throws: UserException - :module: :source:`src/mongo/db/namespace_details.cpp#L482` + :module: :source:`src/mongo/db/db.cpp#L491` -.. error:: 10082 +.. line: uassert( 12591, + +.. error:: 12591 - :message: "allocExtra: + :message: :throws: UserException - :module: :source:`src/mongo/db/namespace_details.cpp#L497` + :module: :source:`src/mongo/db/ops/update_internal.cpp#L467` -.. error:: 10343 +.. line: uassert( 12592 , "$addToSet can only be applied to an array" , in.type() == Array ); - :message: "bad - :severity: Info - :module: :source:`src/mongo/db/namespace_details.cpp#L178` +.. error:: 12592 -.. error:: 10346 + :message: "$addToSet can only be applied to an array" + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L133` - :message: "not - :severity: Info - :module: :source:`src/mongo/db/namespace_details.cpp#L568` +.. line: massert( 12594 , "how could chunk manager be null!" , cm ); -.. error:: 10350 +.. error:: 12594 - :message: "allocExtra: + :message: "how could chunk manager be null!" :severity: Info - :module: :source:`src/mongo/db/namespace_details.cpp#L492` + :module: :source:`src/mongo/s/commands_public.cpp#L579` -.. error:: 10351 +.. line: uassert( 12596 , "old lock file" , 0 ); - :message: "allocExtra: - :severity: Info - :module: :source:`src/mongo/db/namespace_details.cpp#L493` +.. error:: 12596 -.. error:: 10078 + :message: "old lock file" + :throws: UserException + :module: :source:`src/mongo/db/instance.cpp#L1203` - :message: "nsToDatabase: - :severity: Info - :module: :source:`src/mongo/db/namespacestring.h#L148` +.. line: uassert( 12597 , "need to specify 1 argument" , args.nFields() == 1 ); -.. error:: 10088 +.. error:: 12597 - :message: "nsToDatabase: - :severity: Info - :module: :source:`src/mongo/db/namespacestring.h#L159` + :message: "need to specify 1 argument" + :throws: UserException + :module: :source:`src/mongo/shell/shell_utils.cpp#L55` -.. error:: 10352 +.. line: uassert( 12598 , "$eval reads unauthorized", ai->isAuthorizedReads(dbname.c_str()) ); - :message: "Security - :severity: Info - :module: :source:`src/mongo/db/nonce.cpp#L33` +.. error:: 12598 -.. error:: 10353 + :message: "$eval reads unauthorized" + :throws: UserException + :module: :source:`src/mongo/db/dbeval.cpp#L122` - :message: std::string("can't - :severity: Info - :module: :source:`src/mongo/db/nonce.cpp#L44` +.. line: massert( 12601 , "CurOp not marked done yet" , ! _active ); -.. error:: 10354 +.. error:: 12601 - :message: "md5 + :message: "CurOp not marked done yet" :severity: Info - :module: :source:`src/mongo/db/nonce.cpp#L53` + :module: :source:`src/mongo/db/curop.h#L192` -.. error:: 10355 +.. line: massert( 13000 , (string)"invalid keyNode: " + BSON( "i" << i << "n" << this->n ).jsonString() , i < this->n ); + +.. error:: 13000 - :message: "devrandom + :message: (string)"invalid keyNode: " + BSON( "i" << i << "n" << this->n ).jsonString() , i < this->n ); :severity: Info - :module: :source:`src/mongo/db/nonce.cpp#L62` + :module: :source:`src/mongo/db/btree.h#L364` -.. error:: 13044 +.. line: massert( 13002 , "shard internal error chunk manager should never be null" , cm ); + +.. error:: 13002 - :message: "no + :message: "shard internal error chunk manager should never be null" :severity: Info - :module: :source:`src/mongo/db/oplog.cpp#L530` + :module: :source:`src/mongo/s/commands_public.cpp#L704` -.. error:: 13257 +.. line: uassert( 13003 , "can't split a chunk with only one distinct value" , _min.woCompare(_max) ); - :message: ss.str() +.. error:: 13003 + + :message: "can't split a chunk with only one distinct value" :throws: UserException - :module: :source:`src/mongo/db/oplog.cpp#L349` + :module: :source:`src/mongo/s/chunk.cpp#L270` -.. error:: 13288 +.. line: uassert( 13004 , str::stream() << "sent negative cursors to kill: " << n , n >= 1 ); + +.. error:: 13004 - :message: "replSet + :message: str::stream() << "sent negative cursors to kill: " << n , n >= 1 ); :throws: UserException - :module: :source:`src/mongo/db/oplog.cpp#L54` + :module: :source:`src/mongo/db/instance.cpp#L500` -.. error:: 13312 +.. line: uassert( 13006, "isWindows accepts no arguments", a.nFields() == 0 ); - :message: "replSet - :severity: Info - :module: :source:`src/mongo/db/oplog.cpp#L145` +.. error:: 13006 -.. error:: 13347 + :message: "isWindows accepts no arguments" + :throws: UserException + :module: :source:`src/mongo/shell/shell_utils.cpp#L119` - :message: "local.oplog.rs - :severity: Info - :module: :source:`src/mongo/db/oplog.cpp#L183` +.. line: uassert( 13007 , "can only have 1 index plugin / bad index key pattern" , pluginName.size() == 0 || pluginName == e.String() ); -.. error:: 13389 +.. error:: 13007 - :message: "local.oplog.rs - :severity: Info - :module: :source:`src/mongo/db/oplog.cpp#L73` + :message: "can only have 1 index plugin / bad index key pattern" + :throws: UserException + :module: :source:`src/mongo/db/indexkey.cpp#L65` -.. error:: 14038 +.. line: uassert( 13008, "must call copydbgetnonce first", authConn_.get() ); - :message: "invalid - :severity: Info - :module: :source:`src/mongo/db/oplog.cpp#L474` +.. error:: 13008 -.. error:: 14825 + :message: "must call copydbgetnonce first" + :throws: UserException + :module: :source:`src/mongo/db/cloner.cpp#L703` - :message: ErrorMsg("error - :throws: MsgAssertionException - :module: :source:`src/mongo/db/oplog.cpp#L849` +.. line: uassert( 13020 , "with $all, can't mix $elemMatch and others" , _myset->size() == 0 && !_myregex.get()); -.. error:: 15916 +.. error:: 13020 - :message: str::stream() + :message: "with $all, can't mix $elemMatch and others" :throws: UserException - :module: :source:`src/mongo/db/oplog.cpp#L679` + :module: :source:`src/mongo/db/matcher.cpp#L215` -.. error:: 15917 +.. line: uassert( 13022 , "can't have 2 geo field" , _geo.size() == 0 ); + +.. error:: 13022 - :message: "Got + :message: "can't have 2 geo field" :throws: UserException - :module: :source:`src/mongo/db/oplog.cpp#L713` + :module: :source:`src/mongo/db/geo/2d.cpp#L120` -.. error:: 15910 +.. line: uassert( 13023 , "2d has to be first in index" , _other.size() == 0 ); - :message: "Doesn't +.. error:: 13023 + + :message: "2d has to be first in index" :throws: UserException - :module: :source:`src/mongo/db/oplogreader.h#L83` + :module: :source:`src/mongo/db/geo/2d.cpp#L121` -.. error:: 15911 +.. line: uassert( 13024 , "no geo field specified" , _geo.size() ); + +.. error:: 13024 - :message: "Doesn't + :message: "no geo field specified" :throws: UserException - :module: :source:`src/mongo/db/oplogreader.h#L88` + :module: :source:`src/mongo/db/geo/2d.cpp#L130` -.. error:: 10100 +.. line: uassert( 13026 , "geo values have to be numbers: " + o.toString() , x.isNumber() && y.isNumber() ); + +.. error:: 13026 - :message: "cannot + :message: "geo values have to be numbers: " + o.toString() , x.isNumber() && y.isNumber() ); :throws: UserException - :module: :source:`src/mongo/db/ops/delete.cpp#L44` + :module: :source:`src/mongo/db/geo/2d.cpp#L333` -.. error:: 10101 +.. line: uassert( 13027 , str::stream() << "point not in interval of [ " << _min << ", " << _max << " ]", in <= _max && in >= _min ); + +.. error:: 13027 - :message: "can't + :message: str::stream() << "point not in interval of [ " << _min << ", " << _max << " ]", in <= _max && in >= _min ); :throws: UserException - :module: :source:`src/mongo/db/ops/delete.cpp#L52` + :module: :source:`src/mongo/db/geo/2d.cpp#L356` -.. error:: 12050 +.. line: uassert( 13028 , "bits in geo index must be between 1 and 32" , bits > 0 && bits <= 32 ); - :message: "cannot +.. error:: 13028 + + :message: "bits in geo index must be between 1 and 32" :throws: UserException - :module: :source:`src/mongo/db/ops/delete.cpp#L40` + :module: :source:`src/mongo/db/geo/2d.cpp#L134` -.. error:: 10110 +.. line: uassert( 13029, "can't use $not with $options, use BSON regex type instead", !isNot ); + +.. error:: 13029 - :message: "bad + :message: "can't use $not with $options, use BSON regex type instead" :throws: UserException - :module: :source:`src/mongo/db/ops/query.cpp#L954` + :module: :source:`src/mongo/db/matcher.cpp#L362` -.. error:: 13051 +.. line: uassert( 13030, "$not cannot be empty", k.more() ); + +.. error:: 13030 - :message: "tailable + :message: "$not cannot be empty" :throws: UserException - :module: :source:`src/mongo/db/ops/query.cpp#L993` + :module: :source:`src/mongo/db/matcher.cpp#L479` -.. error:: 13052 +.. line: uassert( 13031, "invalid use of $not", false ); + +.. error:: 13031 - :message: "only + :message: "invalid use of $not" :throws: UserException - :module: :source:`src/mongo/db/ops/query.cpp#L999` + :module: :source:`src/mongo/db/matcher.cpp#L489` -.. error:: 13530 +.. line: uassert( 13032, "can't use $not with $regex, use BSON regex type instead", !isNot ); - :message: "bad +.. error:: 13032 + + :message: "can't use $not with $regex, use BSON regex type instead" :throws: UserException - :module: :source:`src/mongo/db/ops/query.cpp#L937` + :module: :source:`src/mongo/db/matcher.cpp#L351` -.. error:: 14833 +.. line: uassert( 13033 , "can't have 2 special fields" , s.size() == 0 ); + +.. error:: 13033 - :message: "auth + :message: "can't have 2 special fields" :throws: UserException - :module: :source:`src/mongo/db/ops/query.cpp#L103` + :module: :source:`src/mongo/db/queryutil.cpp#L764` -.. error:: 16256 +.. line: uassert( 13034, "invalid use of $not", - :message: str::stream() +.. error:: 13034 + + :message: "invalid use of $not" :throws: UserException - :module: :source:`src/mongo/db/ops/query.cpp#L911` + :module: :source:`src/mongo/db/queryutil.cpp#L902` -.. error:: 16332 +.. line: uassert( 13038, (string)"can't find special index: " + special + - :message: "can't +.. error:: 13038 + + :message: (string)"can't find special index: " + special + :throws: UserException - :module: :source:`src/mongo/db/ops/query.cpp#L900` + :module: :source:`src/mongo/db/queryoptimizer.cpp#L659` -.. error:: 16083 +.. line: massert( 13040 , (string)"no type for special: " + _special , _type ); - :message: "reserve - :severity: Info - :module: :source:`src/mongo/db/ops/query.h#L46` +.. error:: 13040 -.. error:: 10154 + :message: (string)"no type for special: " + _special , _type ); + :severity: Info + :module: :source:`src/mongo/db/queryoptimizer.cpp#L160` - :message: "Modifiers - :throws: UserException - :module: :source:`src/mongo/db/ops/update.cpp#L40` +.. line: uassert( 13041, "invalid use of $not", false ); -.. error:: 10155 +.. error:: 13041 - :message: "cannot + :message: "invalid use of $not" :throws: UserException - :module: :source:`src/mongo/db/ops/update.cpp#L476` + :module: :source:`src/mongo/db/queryutil.cpp#L912` -.. error:: 10156 +.. line: throw UserException( 13042 , (string)"missing geo field (" + _geo + ") in : " + query.toString() ); + +.. error:: 13042 - :message: , + :message: (string)"missing geo field (" + _geo + ") in : " + query.toString() ); :throws: UserException - :module: :source:`src/mongo/db/ops/update.cpp#L479` + :module: :source:`src/mongo/db/geo/2d.cpp#L2866` -.. error:: 10157 +.. line: massert( 13044, "no ts field in query", !tsElt.eoo() ); - :message: "multi-update - :throws: UserException - :module: :source:`src/mongo/db/ops/update.cpp#L308` +.. error:: 13044 -.. error:: 10158 + :message: "no ts field in query" + :severity: Info + :module: :source:`src/mongo/db/oplog.cpp#L530` - :message: "multi - :throws: UserException - :module: :source:`src/mongo/db/ops/update.cpp#L425` +.. line: uassert(13046, "'near' param missing/invalid", !cmdObj["near"].eoo()); -.. error:: 10159 +.. error:: 13046 - :message: "multi + :message: "'near' param missing/invalid" :throws: UserException - :module: :source:`src/mongo/db/ops/update.cpp#L453` + :module: :source:`src/mongo/db/geo/2d.cpp#L2922` -.. error:: 12522 +.. line: uassert(13047,"wrong type for geo index. if you're using a pre-release version, need to rebuild index",0); - :message: "$ - :throws: UserException - :module: :source:`src/mongo/db/ops/update.cpp#L45` - -.. error:: 10131 +.. error:: 13047 - :message: "$push + :message: "wrong type for geo index. if you're using a pre-release version, need to rebuild index" :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L116` - -.. error:: 10132 + :module: :source:`src/mongo/db/geo/core.h#L106` - :message: "$pushAll - :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L187` +.. line: uasserted( 13048, (std::string)"can't append to array using string field name [" + name.data() + "]" ); -.. error:: 10133 +.. error:: 13048 - :message: "$pushAll + :message: (std::string)"can't append to array using string field name [" + name.data() + "]" ); :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L188` + :module: :source:`src/mongo/bson/bsonobjbuilder.h#L828` -.. error:: 10134 +.. line: uassert( 13049, "godinsert must specify a collection", !coll.empty() ); - :message: "$pull/$pullAll +.. error:: 13049 + + :message: "godinsert must specify a collection" :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L212` + :module: :source:`src/mongo/db/dbcommands.cpp#L1681` -.. error:: 10135 +.. line: uassert( 13050, "$all requires array", op.type() == Array ); + +.. error:: 13050 - :message: "$pop + :message: "$all requires array" :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L247` + :module: :source:`src/mongo/db/queryutil.cpp#L876` -.. error:: 10136 +.. line: uassert( 13051, "tailable cursor requested on non capped collection", d && d->isCapped() ); + +.. error:: 13051 - :message: "$bit + :message: "tailable cursor requested on non capped collection" :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L283` + :module: :source:`src/mongo/db/ops/query.cpp#L993` -.. error:: 10137 +.. line: uassert( 13052, "only {$natural:1} order allowed for tailable cursor", order == nat1 ); + +.. error:: 13052 - :message: "$bit + :message: "only {$natural:1} order allowed for tailable cursor" :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L284` + :module: :source:`src/mongo/db/ops/query.cpp#L999` -.. error:: 10138 +.. line: uassert( 13053 , str::stream() << "help failed: " << info , _commandOnActive( "admin" , BSON( name << "1" << "help" << 1 ) , info ) ); - :message: "$bit +.. error:: 13053 + + :message: str::stream() << "help failed: " << info , _commandOnActive( "admin" , BSON( name << "1" << "help" << 1 ) , info ) ); :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L285` + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L469` -.. error:: 10139 +.. line: uassert( 13054 , (string)"write $cmd not supported in SyncClusterConnection::query for:" + cmdName , lockType <= 0 ); + +.. error:: 13054 - :message: "$bit + :message: (string)"write $cmd not supported in SyncClusterConnection::query for:" + cmdName , lockType <= 0 ); :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L293` + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L289` -.. error:: 10140 +.. line: uassert(13056, "Async flushing not supported on windows", sync); + +.. error:: 13056 - :message: "Cannot + :message: "Async flushing not supported on windows" :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L402` + :module: :source:`src/mongo/util/mmap_win.cpp#L388` -.. error:: 10141 +.. line: uassert( 13057 , "$within has to take an object or array" , e.isABSONObj() ); + +.. error:: 13057 - :message: , + :message: "$within has to take an object or array" :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L424` + :module: :source:`src/mongo/db/geo/2d.cpp#L2832` -.. error:: 10142 +.. line: throw UserException( 13058 , str::stream() << "unknown $within information : " << context << ", a shape must be specified." ); - :message: , +.. error:: 13058 + + :message: str::stream() << "unknown $within information : " << context << ", a shape must be specified." ); :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L432` + :module: :source:`src/mongo/db/geo/2d.cpp#L2856` -.. error:: 10143 +.. line: uassert( 13059 , "$center has to take an object or array" , e.isABSONObj() ); + +.. error:: 13059 - :message: , + :message: "$center has to take an object or array" :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L459` + :module: :source:`src/mongo/db/geo/2d.cpp#L2842` -.. error:: 10145 +.. line: uassert( 13060 , "$center needs 2 fields (middle,max distance)" , circle.nFields() == 2 ); + +.. error:: 13060 - :message: , + :message: "$center needs 2 fields (middle,max distance)" :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L717` + :module: :source:`src/mongo/db/geo/2d.cpp#L2503` -.. error:: 10147 +.. line: uassert( 13061 , "need a max distance >= 0 " , _maxDistance >= 0 ); + +.. error:: 13061 - :message: "Invalid + :message: "need a max distance >= 0 " , _maxDistance >= 0 ); :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L857` + :module: :source:`src/mongo/db/geo/2d.cpp#L2517` -.. error:: 10148 +.. line: uassert( 13063 , "$box needs 2 fields (bottomLeft,topRight)" , box.nFields() == 2 ); - :message: , +.. error:: 13063 + + :message: "$box needs 2 fields (bottomLeft,topRight)" :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L874` + :module: :source:`src/mongo/db/geo/2d.cpp#L2621` -.. error:: 10149 +.. line: uassert( 13064 , "need an area > 0 " , _want.area() > 0 ); + +.. error:: 13064 - :message: , + :message: "need an area > 0 " , _want.area() > 0 ); :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L877` + :module: :source:`src/mongo/db/geo/2d.cpp#L2633` -.. error:: 10150 +.. line: uassert( 13065 , "$box has to take an object or array" , e.isABSONObj() ); + +.. error:: 13065 - :message: , + :message: "$box has to take an object or array" :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L880` + :module: :source:`src/mongo/db/geo/2d.cpp#L2847` -.. error:: 10151 +.. line: massert( 13066 , "Message contains no documents", theEnd > nextjsobj ); - :message: , - :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L883` +.. error:: 13066 -.. error:: 10152 + :message: "Message contains no documents" + :severity: Info + :module: :source:`src/mongo/db/dbmessage.h#L197` - :message: , - :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L886` +.. line: uassert( 13067 , "geo field is empty" , i.more() ); -.. error:: 10153 +.. error:: 13067 - :message: , + :message: "geo field is empty" :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L889` + :module: :source:`src/mongo/db/geo/2d.cpp#L328` -.. error:: 10399 +.. line: uassert( 13068 , "geo field only has 1 element" , i.more() ); - :message: "ModSet::createNewFromMods - :severity: Info - :module: :source:`src/mongo/db/ops/update_internal.cpp#L761` +.. error:: 13068 -.. error:: 10400 + :message: "geo field only has 1 element" + :throws: UserException + :module: :source:`src/mongo/db/geo/2d.cpp#L330` - :message: "unhandled - :severity: Info - :module: :source:`src/mongo/db/ops/update_internal.cpp#L764` +.. line: uassert( 13069 , "an emit can't be more than half max bson size" , args.objsize() < ( BSONObjMaxUserSize / 2 ) ); -.. error:: 12591 +.. error:: 13069 - :message: , + :message: "an emit can't be more than half max bson size" :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L467` - -.. error:: 12592 + :module: :source:`src/mongo/db/commands/mr.cpp#L963` - :message: "$addToSet - :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L133` +.. line: uassert( 13070 , "value too large to reduce" , ee.size() < ( BSONObjMaxUserSize / 2 ) ); -.. error:: 13478 +.. error:: 13070 - :message: "can't + :message: "value too large to reduce" :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L610` + :module: :source:`src/mongo/db/commands/mr.cpp#L175` -.. error:: 13479 +.. line: uassert( 13071 , (string)"invalid hostname [" + host + "]" + errmsg , cs.isValid() ); + +.. error:: 13071 - :message: , + :message: (string)"invalid hostname [" + host + "]" + errmsg , cs.isValid() ); :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L902` + :module: :source:`src/mongo/client/connpool.cpp#L218` -.. error:: 13480 +.. line: massert(13072,(string)"JS_NewObject failed: " + w ,xx); \ - :message: , - :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L905` +.. error:: 13072 -.. error:: 13481 + :message: (string)"JS_NewObject failed: " + w ,xx); \ + :severity: Info + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L40` - :message: , - :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L908` +.. line: massert(13073, "shutting down", !inShutdown() ); -.. error:: 13482 +.. error:: 13073 - :message: , - :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L911` + :message: "shutting down" + :severity: Info + :module: :source:`src/mongo/db/instance.cpp#L687` -.. error:: 13483 +.. line: uassert( 13074 , "db name can't be empty" , ns.size() ); + +.. error:: 13074 - :message: , + :message: "db name can't be empty" :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L915` + :module: :source:`src/mongo/db/databaseholder.h#L94` -.. error:: 13484 +.. line: uassert( 13075 , "db name can't be empty" , i > 0 ); + +.. error:: 13075 - :message: , + :message: "db name can't be empty" :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L919` + :module: :source:`src/mongo/db/databaseholder.h#L97` -.. error:: 13485 +.. line: uassert( 13076 , (string)"recursive toObject" , ! has( o ) ); + +.. error:: 13076 - :message: , + :message: (string)"recursive toObject" , ! has( o ) ); :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L922` + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L151` -.. error:: 13486 +.. line: uassert(13079, "path to unix socket too long", target.size() < sizeof(as().sun_path)); - :message: , +.. error:: 13079 + + :message: "path to unix socket too long" :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L925` + :module: :source:`src/mongo/util/net/sock.cpp#L158` -.. error:: 13487 +.. line: uassert(13080, "no unix socket support on windows", false); + +.. error:: 13080 - :message: , + :message: "no unix socket support on windows" :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L929` + :module: :source:`src/mongo/util/net/sock.cpp#L156` -.. error:: 13488 +.. line: massert(13082, str::stream() << "getnameinfo error " << getAddrInfoStrError(ret), ret == 0); - :message: , - :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L932` +.. error:: 13082 -.. error:: 13489 + :message: str::stream() << "getnameinfo error " << getAddrInfoStrError(ret), ret == 0); + :severity: Info + :module: :source:`src/mongo/util/net/sock.cpp#L244` - :message: "$rename - :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L374` +.. line: uassert( 13085 , "query failed for dbwebserver" , cursor.get() ); -.. error:: 13490 +.. error:: 13085 - :message: "$rename + :message: "query failed for dbwebserver" :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L385` + :module: :source:`src/mongo/db/restapi.cpp#L150` -.. error:: 13494 +.. line: uassert( 13086, "$and/$or/$nor must be a nonempty array", e.type() == Array && e.embeddedObject().nFields() > 0 ); + +.. error:: 13086 - :message: "$rename + :message: "$and/$or/$nor must be a nonempty array" :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L894` + :module: :source:`src/mongo/db/matcher.cpp#L377` -.. error:: 13495 +.. line: uassert( 13087, "$and/$or/$nor match element must be an object", f.type() == Object ); - :message: , +.. error:: 13087 + + :message: "$and/$or/$nor match element must be an object" :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L896` + :module: :source:`src/mongo/db/matcher.cpp#L381` -.. error:: 13496 +.. line: massert( 13089 , "no current client needed for $where" , haveClient() ); - :message: , - :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L899` +.. error:: 13089 -.. error:: 15896 + :message: "no current client needed for $where" + :severity: Info + :module: :source:`src/mongo/db/matcher.cpp#L423` - :message: , - :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L871` +.. line: massert( 13091 , "how could chunk manager be null!" , cm ); -.. error:: 16069 +.. error:: 13091 - :message: "ModSet::createNewFromMods + :message: "how could chunk manager be null!" :severity: Info - :module: :source:`src/mongo/db/ops/update_internal.cpp#L739` + :module: :source:`src/mongo/s/commands_public.cpp#L911` -.. error:: 9016 +.. line: uassert(13093, "bad --replSet config string format is: [/,,...]", !setname.empty()); - :message: str::stream() +.. error:: 13093 + + :message: "bad --replSet config string format is: [/,,...]" :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L309` + :module: :source:`src/mongo/db/repl/rs.cpp#L328` -.. error:: 9017 +.. line: uassert(13095, "HostAndPort: bad port #", port > 0); - :message: str::stream() +.. error:: 13095 + + :message: "HostAndPort: bad port #" :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.cpp#L332` + :module: :source:`src/mongo/util/net/hostandport.h#L164` -.. error:: 10161 +.. line: uassert(13096, "bad --replSet command line config string - dups?", seedSet.count(m) == 0 ); + +.. error:: 13096 - :message: "Invalid + :message: "bad --replSet command line config string - dups?" :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.h#L317` + :module: :source:`src/mongo/db/repl/rs.cpp#L347` -.. error:: 12527 +.. line: uasserted(13097, string("Unsupported projection option: ") + - :message: "not - :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.h#L212` +.. error:: 13097 -.. error:: 13492 + :message: string("Unsupported projection option: ") + + :throws: UserException + :module: :source:`src/mongo/db/projection.cpp#L83` - :message: "mod - :severity: Info - :module: :source:`src/mongo/db/ops/update_internal.h#L237` +.. line: uassert(13098, "$slice only supports numbers and [skip, limit] arrays", false); -.. error:: 9015 +.. error:: 13098 - :message: ss.str() + :message: "$slice only supports numbers and [skip, limit] arrays" :throws: UserException - :module: :source:`src/mongo/db/ops/update_internal.h#L580` + :module: :source:`src/mongo/db/projection.cpp#L61` -.. error:: 10003 +.. line: uassert(13099, "$slice array wrong size", arr.nFields() == 2 ); - :message: "failing +.. error:: 13099 + + :message: "$slice array wrong size" :throws: UserException - :module: :source:`src/mongo/db/pdfile.cpp#L1080` + :module: :source:`src/mongo/db/projection.cpp#L51` -.. error:: 10083 +.. line: uassert(13100, "$slice limit must be positive", limit > 0 ); + +.. error:: 13100 - :message: "create + :message: "$slice limit must be positive" :throws: UserException - :module: :source:`src/mongo/db/pdfile.cpp#L258` + :module: :source:`src/mongo/db/projection.cpp#L56` -.. error:: 10084 +.. line: //uassert(13101, "can't use localhost in replset host list", !m.isLocalHost()); + +.. error:: 13101 - :message: "can't + :message: "can't use localhost in replset host list" :throws: UserException - :module: :source:`src/mongo/db/pdfile.cpp#L410` + :module: :source:`src/mongo/db/repl/rs.cpp#L349` -.. error:: 10085 +.. line: uassert( 13102 , "connection was returned to the pool already" , _conn ); + +.. error:: 13102 - :message: "can't + :message: "connection was returned to the pool already" :throws: UserException - :module: :source:`src/mongo/db/pdfile.cpp#L412` + :module: :source:`src/mongo/client/connpool.h#L258` -.. error:: 10086 +.. line: uassert( 13103, "too many compound keys", n <= 31 ); - :message: (string)"ns +.. error:: 13103 + + :message: "too many compound keys" :throws: UserException - :module: :source:`src/mongo/db/pdfile.cpp#L892` + :module: :source:`src/mongo/bson/ordering.h#L64` -.. error:: 10087 +.. line: throw UserException( 13104 , (string)"SyncClusterConnection::findOne prepare failed: " + errmsg ); + +.. error:: 13104 - :message: "turn + :message: (string)"SyncClusterConnection::findOne prepare failed: " + errmsg ); :throws: UserException - :module: :source:`src/mongo/db/pdfile.cpp#L900` + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L175` -.. error:: 10089 +.. line: throw UserException( 13105 , ss.str() ); - :message: "can't - :throws: UserException - :module: :source:`src/mongo/db/pdfile.cpp#L1014` +.. error:: 13105 -.. error:: 10093 + :message: ss.str() ); + :throws: UserException + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L193` - :message: "cannot - :severity: Info - :module: :source:`src/mongo/db/pdfile.cpp#L1397` +.. line: uasserted(13106, s); -.. error:: 10094 +.. error:: 13106 - :message: str::stream() + :message: s); :throws: UserException - :module: :source:`src/mongo/db/pdfile.cpp#L1398` + :module: :source:`src/mongo/client/dbclientcursor.h#L80` -.. error:: 10095 +.. line: uassert(13107, ss.str(), false); + +.. error:: 13107 - :message: "attempt + :message: ss.str(), false); :throws: UserException - :module: :source:`src/mongo/db/pdfile.cpp#L1299` + :module: :source:`src/mongo/db/repl/rs_config.cpp#L532` -.. error:: 10099 +.. line: uassert(13108, "bad replset config -- duplicate hosts in the config object?", false); + +.. error:: 13108 - :message: "_id + :message: "bad replset config -- duplicate hosts in the config object?" :throws: UserException - :module: :source:`src/mongo/db/pdfile.cpp#L1436` + :module: :source:`src/mongo/db/repl/rs_config.cpp#L542` -.. error:: 10356 +.. line: uasserted(13109, str::stream() << "multiple rows in " << rsConfigNs << " not supported host: " << h.toString()); - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/db/pdfile.cpp#L353` +.. error:: 13109 -.. error:: 10357 + :message: str::stream() << "multiple rows in " << rsConfigNs << " not supported host: " << h.toString()); + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L648` - :message: "shutdown - :severity: Info - :module: :source:`src/mongo/db/pdfile.cpp#L514` +.. line: massert(13110, "HostAndPort: host is empty", *p); -.. error:: 10358 +.. error:: 13110 - :message: "bad + :message: "HostAndPort: host is empty" :severity: Info - :module: :source:`src/mongo/db/pdfile.cpp#L515` + :module: :source:`src/mongo/util/net/hostandport.h#L160` -.. error:: 10359 +.. line: uassert(13112, "bad replset heartbeat option", heartbeatSleepMillis >= 10); - :message: "header==0 - :severity: Info - :module: :source:`src/mongo/db/pdfile.cpp#L516` +.. error:: 13112 -.. error:: 10360 + :message: "bad replset heartbeat option" + :throws: UserException + :module: :source:`src/mongo/db/repl/health.h#L41` - :message: "Extent::reset - :severity: Info - :module: :source:`src/mongo/db/pdfile.cpp#L663` +.. line: uassert(13113, "bad replset heartbeat option", heartbeatTimeoutMillis >= 10); -.. error:: 10361 +.. error:: 13113 - :message: "can't - :severity: Info - :module: :source:`src/mongo/db/pdfile.cpp#L872` + :message: "bad replset heartbeat option" + :throws: UserException + :module: :source:`src/mongo/db/repl/health.h#L42` -.. error:: 12502 +.. line: uassert(13114, "bad --replSet seed hostname", false); - :message: "can't +.. error:: 13114 + + :message: "bad --replSet seed hostname" :throws: UserException - :module: :source:`src/mongo/db/pdfile.cpp#L902` + :module: :source:`src/mongo/db/repl/rs.cpp#L345` -.. error:: 12503 +.. line: uassert(13115, "bad " + rsConfigNs + " config: version", version > 0); - :message: ss.str()); +.. error:: 13115 + + :message: "bad " + rsConfigNs + " config: version", version > 0); :throws: UserException - :module: :source:`src/mongo/db/pdfile.cpp#L940` + :module: :source:`src/mongo/db/repl/rs_config.cpp#L463` -.. error:: 12582 +.. line: uassert(13117, "bad " + rsConfigNs + " config", !_id.empty()); + +.. error:: 13117 - :message: "duplicate + :message: "bad " + rsConfigNs + " config", !_id.empty()); :throws: UserException - :module: :source:`src/mongo/db/pdfile.cpp#L1239` + :module: :source:`src/mongo/db/repl/rs_config.cpp#L549` -.. error:: 12583 +.. line: massert(13118, "unexpected or missing type value in BSON object", expr); - :message: "unexpected - :severity: Info - :module: :source:`src/mongo/db/pdfile.cpp#L1545` +.. error:: 13118 -.. error:: 12586 + :message: "unexpected or missing type value in BSON object" + :severity: Info + :module: :source:`src/mongo/bson/bsonelement.h#L477` - :message: "cannot - :throws: UserException - :module: :source:`src/mongo/db/pdfile.cpp#L111` +.. line: uassert( 13119 , (string)"SyncClusterConnection::insert obj has to have an _id: " + obj.jsonString() , -.. error:: 12587 +.. error:: 13119 - :message: "cannot + :message: (string)"SyncClusterConnection::insert obj has to have an _id: " + obj.jsonString() , :throws: UserException - :module: :source:`src/mongo/db/pdfile.cpp#L116` - -.. error:: 13143 + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L337` - :message: "can't - :throws: UserException - :module: :source:`src/mongo/db/pdfile.cpp#L1340` +.. line: uassert( 13120 , "SyncClusterConnection::update upsert query needs _id" , query.obj["_id"].type() ); -.. error:: 13440 +.. error:: 13120 - :message: ss.str()); + :message: "SyncClusterConnection::update upsert query needs _id" :throws: UserException - :module: :source:`src/mongo/db/pdfile.cpp#L393` + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L370` -.. error:: 13441 +.. line: throw UserException( 13121 , ss.str() ); - :message: ss.str()); +.. error:: 13121 + + :message: ss.str() ); :throws: UserException - :module: :source:`src/mongo/db/pdfile.cpp#L387` + :module: :source:`src/mongo/client/model.cpp#L84` -.. error:: 13596 +.. line: uassert(13122, "bad repl set config?", expr); - :message: str::stream() +.. error:: 13122 + + :message: "bad repl set config?" :throws: UserException - :module: :source:`src/mongo/db/pdfile.cpp#L1075` + :module: :source:`src/mongo/db/repl/rs_config.cpp#L566` -.. error:: 14037 +.. line: uasserted( 13123, str::stream() << "Can't modify shard key's value. field: " << field + +.. error:: 13123 - :message: "can't + :message: str::stream() << "Can't modify shard key's value. field: " << field :throws: UserException - :module: :source:`src/mongo/db/pdfile.cpp#L234` + :module: :source:`src/mongo/s/strategy_shard.cpp#L608` -.. error:: 14051 +.. line: uassert(13126, "bad Member config", expr); + +.. error:: 13126 - :message: "system.users + :message: "bad Member config" :throws: UserException - :module: :source:`src/mongo/db/pdfile.cpp#L1307` + :module: :source:`src/mongo/db/repl/rs_config.cpp#L140` -.. error:: 14052 +.. line: throw UserException( 13127 , "getMore: cursor didn't exist on server, possible restart or timeout?" ); - :message: "system.users +.. error:: 13127 + + :message: "getMore: cursor didn't exist on server, possible restart or timeout?" ); :throws: UserException - :module: :source:`src/mongo/db/pdfile.cpp#L1308` + :module: :source:`src/mongo/client/dbclientcursor.cpp#L180` -.. error:: 14053 +.. line: massert( 13128 , (string)"can't find shard for: " + ident , found.get() ); - :message: "system.users - :throws: UserException - :module: :source:`src/mongo/db/pdfile.cpp#L1309` +.. error:: 13128 -.. error:: 14054 + :message: (string)"can't find shard for: " + ident , found.get() ); + :severity: Info + :module: :source:`src/mongo/s/shard.cpp#L135` - :message: "system.users - :throws: UserException - :module: :source:`src/mongo/db/pdfile.cpp#L1310` +.. line: massert( 13129 , (string)"can't find shard for: " + mykey , i != _lookup.end() ); -.. error:: 13640 +.. error:: 13129 - :message: str::stream() + :message: (string)"can't find shard for: " + mykey , i != _lookup.end() ); :severity: Info - :module: :source:`src/mongo/db/pdfile.h#L437` + :module: :source:`src/mongo/s/shard.cpp#L117` -.. error:: 15943 +.. line: uassert( 13130 , "can't start bg index b/c in recursive lock (db.eval?)" , !Lock::nested() ); - :message: str::stream() +.. error:: 13130 + + :message: "can't start bg index b/c in recursive lock (db.eval?)" :throws: UserException - :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L28` + :module: :source:`src/mongo/db/index_update.cpp#L422` -.. error:: 16030 +.. line: uasserted(13131, "replSet error parsing (or missing) 'members' field in config object"); + +.. error:: 13131 - :message: "reserved + :message: "replSet error parsing (or missing) 'members' field in config object" :throws: UserException - :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L59` + :module: :source:`src/mongo/db/repl/rs_config.cpp#L473` -.. error:: 16031 +.. line: uassert(13132, + +.. error:: 13132 - :message: "reserved + :message: :throws: UserException - :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L60` + :module: :source:`src/mongo/db/repl/rs_config.cpp#L320` -.. error:: 16032 +.. line: uassert(13133, "replSet bad config no members", members.size() >= 1); - :message: "reserved +.. error:: 13133 + + :message: "replSet bad config no members" :throws: UserException - :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L61` + :module: :source:`src/mongo/db/repl/rs_config.cpp#L324` -.. error:: 16033 +.. line: throw UserException( 13134 , ss.str() ); + +.. error:: 13134 - :message: "reserved + :message: ss.str() ); :throws: UserException - :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L62` + :module: :source:`src/mongo/s/client_info.cpp#L60` -.. error:: 16036 +.. line: uassert(13135, ss.str(), false); + +.. error:: 13135 - :message: "reserved + :message: ss.str(), false); :throws: UserException - :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L64` + :module: :source:`src/mongo/db/repl/rs_config.cpp#L538` -.. error:: 16037 +.. line: throw UserException( 13136 , ss.str() ); + +.. error:: 13136 - :message: "reserved + :message: ss.str() ); :throws: UserException - :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L65` + :module: :source:`src/mongo/s/shard.cpp#L336` -.. error:: 16038 +.. line: uassert(13137, "Source and destination collections must be on same shard", shardFrom == shardTo); - :message: "reserved +.. error:: 13137 + + :message: "Source and destination collections must be on same shard" :throws: UserException - :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L66` + :module: :source:`src/mongo/s/commands_public.cpp#L444` -.. error:: 16039 +.. line: uassert(13138, "You can't rename a sharded collection", !confFrom->isSharded(fullnsFrom)); + +.. error:: 13138 - :message: "reserved + :message: "You can't rename a sharded collection" :throws: UserException - :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L67` + :module: :source:`src/mongo/s/commands_public.cpp#L438` -.. error:: 16040 +.. line: uassert(13139, "You can't rename to a sharded collection", !confTo->isSharded(fullnsTo)); + +.. error:: 13139 - :message: "reserved + :message: "You can't rename to a sharded collection" :throws: UserException - :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L68` + :module: :source:`src/mongo/s/commands_public.cpp#L439` -.. error:: 16041 +.. line: uassert(13140, "Don't recognize source or target DB", confFrom && confTo); + +.. error:: 13140 - :message: "reserved + :message: "Don't recognize source or target DB" :throws: UserException - :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L69` + :module: :source:`src/mongo/s/commands_public.cpp#L437` -.. error:: 16042 +.. line: massert(13141, "Chunk map pointed to incorrect chunk", false); - :message: "reserved - :throws: UserException - :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L70` +.. error:: 13141 -.. error:: 16043 + :message: "Chunk map pointed to incorrect chunk" + :severity: Info + :module: :source:`src/mongo/s/chunk.cpp#L1056` - :message: "reserved - :throws: UserException - :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L71` +.. line: uassert( 13143 , "can't create index on system.indexes" , tabletoidxns.find( ".system.indexes" ) == string::npos ); -.. error:: 16044 +.. error:: 13143 - :message: "reserved + :message: "can't create index on system.indexes" :throws: UserException - :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L72` + :module: :source:`src/mongo/db/pdfile.cpp#L1340` -.. error:: 16045 +.. line: uasserted(13144, msg); + +.. error:: 13144 - :message: "reserved + :message: msg); :throws: UserException - :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L73` + :module: :source:`src/mongo/db/repl/rs_initiate.cpp#L130` -.. error:: 16046 +.. line: uasserted(13145, "set name does not match the set name host " + i->h.toString() + " expects"); + +.. error:: 13145 - :message: "reserved + :message: "set name does not match the set name host " + i->h.toString() + " expects"); :throws: UserException - :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L74` + :module: :source:`src/mongo/db/repl/rs_initiate.cpp#L93` -.. error:: 16047 +.. line: uasserted(13256, "member " + i->h.toString() + " is already initiated"); - :message: "reserved +.. error:: 13256 + + :message: "member " + i->h.toString() + " is already initiated"); :throws: UserException - :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L75` + :module: :source:`src/mongo/db/repl/rs_initiate.cpp#L97` -.. error:: 16048 +.. line: throw UserException( 13257 , ss.str() ); + +.. error:: 13257 - :message: "reserved + :message: ss.str() ); :throws: UserException - :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L76` + :module: :source:`src/mongo/db/oplog.cpp#L349` -.. error:: 16049 +.. line: uassert( 13258 , "oids broken after resetting!" , _checkOIDs() ); - :message: "reserved - :throws: UserException - :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L77` +.. error:: 13258 -.. error:: 16000 + :message: "oids broken after resetting!" + :throws: UserException + :module: :source:`src/mongo/s/balance.cpp#L334` - :message: "$sum - :severity: Info - :module: :source:`src/mongo/db/pipeline/accumulator_sum.cpp#L74` +.. line: uasserted(13259, ss.str()); -.. error:: 15944 +.. error:: 13259 - :message: "terminating + :message: ss.str()); :throws: UserException - :module: :source:`src/mongo/db/pipeline/doc_mem_monitor.cpp#L55` + :module: :source:`src/mongo/db/repl/rs_initiate.cpp#L83` -.. error:: 16390 +.. line: //for python err# checker: uassert(13260, "", false); - :message: str::stream() +.. error:: 13260 + + :message: "", false); :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_command_shards.cpp#L95` + :module: :source:`src/mongo/db/repl/rs_config.cpp#L623` -.. error:: 16391 +.. line: uassert( 13262, "$or requires nonempty array", e.type() == Array && e.embeddedObject().nFields() > 0 ); - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/db/pipeline/document_source_command_shards.cpp#L102` - -.. error:: 16028 +.. error:: 13262 - :message: "collection + :message: "$or requires nonempty array" :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_cursor.cpp#L88` - -.. error:: 15946 + :module: :source:`src/mongo/db/queryutil.cpp#L1713` - :message: "a - :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_filter.cpp#L75` +.. line: uassert( 13263, "$or array must contain objects", f.type() == Object ); -.. error:: 15947 +.. error:: 13263 - :message: "a + :message: "$or array must contain objects" :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L163` + :module: :source:`src/mongo/db/queryutil.cpp#L1717` -.. error:: 15948 +.. line: massert( 13266, "not implemented for $or query", !_or ); - :message: "a - :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L177` +.. error:: 13266 -.. error:: 15949 + :message: "not implemented for $or query" + :severity: Info + :module: :source:`src/mongo/db/queryoptimizer.h#L614` - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L234` +.. line: massert( 13268, "invalid $or spec", -.. error:: 15950 +.. error:: 13268 - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L250` + :message: "invalid $or spec" + :severity: Info + :module: :source:`src/mongo/db/queryoptimizer.cpp#L1218` -.. error:: 15951 +.. line: massert( 13271, "no more clauses", hasMoreClauses() ); - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L255` +.. error:: 13271 -.. error:: 15952 + :message: "no more clauses" + :severity: Info + :module: :source:`src/mongo/db/queryoptimizer.h#L617` - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L274` +.. line: massert( 13273, "single data buffer expected", _buf ); -.. error:: 15953 +.. error:: 13273 - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L289` + :message: "single data buffer expected" + :severity: Info + :module: :source:`src/mongo/util/net/message.h#L169` -.. error:: 15954 +.. line: massert( 13274, "no or clause to pop", _orFound && !orRangesExhausted() ); - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L301` +.. error:: 13274 -.. error:: 15955 + :message: "no or clause to pop" + :severity: Info + :module: :source:`src/mongo/db/queryutil.cpp#L1729` - :message: "a - :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L308` +.. line: uassert( 13276 , "$in needs an array" , fe.isABSONObj() ); -.. error:: 16414 +.. error:: 13276 - :message: str::stream() + :message: "$in needs an array" :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L245` - -.. error:: 15957 + :module: :source:`src/mongo/db/matcher.cpp#L310` - :message: "the - :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_limit.cpp#L100` +.. line: uassert( 13277 , "$nin needs an array" , fe.isABSONObj() ); -.. error:: 15958 +.. error:: 13277 - :message: "the + :message: "$nin needs an array" :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_limit.cpp#L107` + :module: :source:`src/mongo/db/matcher.cpp#L321` -.. error:: 15959 +.. line: uassert(13278, "bad config: isSelf is true for multiple hosts: " + selfs.str(), me <= 1); // dups? + +.. error:: 13278 - :message: "the + :message: "bad config: isSelf is true for multiple hosts: " + selfs.str(), me <= 1); // dups? :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_match.cpp#L84` + :module: :source:`src/mongo/db/repl/rs_initiate.cpp#L58` -.. error:: 16395 +.. line: uasserted(13279, ss.str()); + +.. error:: 13279 - :message: "$where + :message: ss.str()); :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_match.cpp#L67` + :module: :source:`src/mongo/db/repl/rs_initiate.cpp#L64` -.. error:: 16424 +.. line: uassert( 13280 , (string)"invalid db name: " + ns , NamespaceString::validDBName( d ) ); - :message: "$near +.. error:: 13280 + + :message: (string)"invalid db name: " + ns , NamespaceString::validDBName( d ) ); :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_match.cpp#L70` + :module: :source:`src/mongo/db/databaseholder.h#L88` -.. error:: 16425 +.. line: uasserted(13281, "File deleted during filemd5 command"); + +.. error:: 13281 - :message: "$within + :message: "File deleted during filemd5 command" :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_match.cpp#L72` + :module: :source:`src/mongo/db/dbcommands.cpp#L1151` -.. error:: 16426 +.. line: throw MsgAssertionException( 13283 , "Missing Extra" ); - :message: "$nearSphere - :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_match.cpp#L74` +.. error:: 13283 -.. error:: 15969 + :message: "Missing Extra" ); + :throws: MsgAssertionException + :module: :source:`src/mongo/db/namespace_details-inl.h#L33` - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_project.cpp#L110` +.. line: massert( 13285, "manual matcher config not allowed", false ); -.. error:: 16402 +.. error:: 13285 - :message: "parseObject() + :message: "manual matcher config not allowed" :severity: Info - :module: :source:`src/mongo/db/pipeline/document_source_project.cpp#L127` + :module: :source:`src/mongo/db/cursor.h#L200` -.. error:: 16403 +.. line: uassert( 13286 , "sent 0 cursors to kill" , n >= 1 ); - :message: "$projection +.. error:: 13286 + + :message: "sent 0 cursors to kill" :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_project.cpp#L128` + :module: :source:`src/mongo/s/cursors.cpp#L239` -.. error:: 15956 +.. line: uassert( 13287 , "too many cursors to kill" , n < 30000 ); - :message: str::stream() +.. error:: 13287 + + :message: "too many cursors to kill" :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_skip.cpp#L119` + :module: :source:`src/mongo/s/cursors.cpp#L240` -.. error:: 15972 +.. line: uassert(13288, "replSet error write op to db before replSet initialized", str::startsWith(ns, "local.") || *opstr == 'n'); - :message: str::stream() +.. error:: 13288 + + :message: "replSet error write op to db before replSet initialized" :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_skip.cpp#L111` + :module: :source:`src/mongo/db/oplog.cpp#L54` -.. error:: 15973 +.. line: uassert(13289, "Invalid UTF8 character detected", isValidUTF8(buf)); - :message: str::stream() +.. error:: 13289 + + :message: "Invalid UTF8 character detected" :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_sort.cpp#L123` + :module: :source:`src/mongo/tools/import.cpp#L141` -.. error:: 15974 +.. line: uassert(13290, "bad replSet oplog entry?", quiet || !lastOpTimeWritten.isNull()); - :message: str::stream() +.. error:: 13290 + + :message: "bad replSet oplog entry?" :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_sort.cpp#L138` + :module: :source:`src/mongo/db/repl/rs.cpp#L443` -.. error:: 15975 +.. line: uassert( 13291, "$or may not contain 'special' query", _orSets.back().getSpecial().empty() ); - :message: str::stream() +.. error:: 13291 + + :message: "$or may not contain 'special' query" :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_sort.cpp#L143` + :module: :source:`src/mongo/db/queryutil.cpp#L1719` -.. error:: 15976 +.. line: massert( 13292, "hint eoo", !hint.eoo() ); - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_sort.cpp#L151` +.. error:: 13292 -.. error:: 15978 + :message: "hint eoo" + :severity: Info + :module: :source:`src/mongo/db/queryoptimizer.cpp#L60` - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_unwind.cpp#L97` +.. line: uasserted(13293, string("BSON representation of supplied JSON array is too large: ") + e.what()); -.. error:: 15979 +.. error:: 13293 - :message: str::stream() + :message: string("BSON representation of supplied JSON array is too large: ") + e.what()); :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_unwind.cpp#L270` + :module: :source:`src/mongo/tools/import.cpp#L162` -.. error:: 15981 +.. line: uassert(13295, "JSONArray file too large", (in->rdstate() & ios_base::eofbit)); - :message: str::stream() +.. error:: 13295 + + :message: "JSONArray file too large" :throws: UserException - :module: :source:`src/mongo/db/pipeline/document_source_unwind.cpp#L282` + :module: :source:`src/mongo/tools/import.cpp#L116` -.. error:: 15982 +.. line: massert( 13296 , "invalid chunk size is specified", (size != 0 )); - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L58` +.. error:: 13296 -.. error:: 15983 + :message: "invalid chunk size is specified" + :severity: Info + :module: :source:`src/mongo/client/gridfs.cpp#L69` - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L88` +.. line: uassert(13301, "cat() : file to big to load as a variable", sz < 1024 * 1024 * 16); -.. error:: 15990 +.. error:: 13301 - :message: str::stream() + :message: "cat() : file to big to load as a variable" :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L102` + :module: :source:`src/mongo/shell/shell_utils_extended.cpp#L138` -.. error:: 15992 +.. line: uassert( 13302, "replSet error self appears twice in the repl set configuration", me<=1 ); - :message: str::stream() +.. error:: 13302 + + :message: "replSet error self appears twice in the repl set configuration" :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L162` + :module: :source:`src/mongo/db/repl/rs.cpp#L547` -.. error:: 15993 +.. line: uassert( 13303, "combinatorial limit of $in partitioning of result set exceeded", newBuilders.size() < maxCombinations ); - :message: str::stream() +.. error:: 13303 + + :message: "combinatorial limit of $in partitioning of result set exceeded" :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L2131` + :module: :source:`src/mongo/db/queryutil.cpp#L1244` -.. error:: 15997 +.. line: uassert( 13304, "combinatorial limit of $in partitioning of result set exceeded", newBuilders.size() < maxCombinations ); - :message: str::stream() +.. error:: 13304 + + :message: "combinatorial limit of $in partitioning of result set exceeded" :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L2138` + :module: :source:`src/mongo/db/queryutil.cpp#L1254` -.. error:: 15999 +.. line: uassert( 13305, "could not convert string to long long", *endPtr == 0 && errno == 0 ); - :message: str::stream() +.. error:: 13305 + + :message: "could not convert string to long long" :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L242` + :module: :source:`src/mongo/util/text.cpp#L136` -.. error:: 16014 +.. line: uassert( 13306, "could not convert string to long long", endLen != 0 && n[ endLen ] == 0 ); - :message: str::stream() +.. error:: 13306 + + :message: "could not convert string to long long" :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L1347` + :module: :source:`src/mongo/util/text.cpp#L145` -.. error:: 16019 +.. line: uassert( 13307, "cannot convert empty string to long long", *n != 0 ); - :message: str::stream() +.. error:: 13307 + + :message: "cannot convert empty string to long long" :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L253` + :module: :source:`src/mongo/util/text.cpp#L131` -.. error:: 16020 +.. line: uassert(13308, "replSet bad config version #", version > 0); - :message: str::stream() +.. error:: 13308 + + :message: "replSet bad config version #" :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L276` + :module: :source:`src/mongo/db/repl/rs_config.cpp#L323` -.. error:: 16021 +.. line: uassert(13309, "replSet bad config maximum number of members is 12", members.size() <= 12); - :message: str::stream() +.. error:: 13309 + + :message: "replSet bad config maximum number of members is 12" :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L260` + :module: :source:`src/mongo/db/repl/rs_config.cpp#L325` -.. error:: 16022 +.. line: uassert( 13310, "could not convert string to long long", (*endPtr == 0) && (ret != _I64_MAX) && (ret != _I64_MIN) ); - :message: str::stream() +.. error:: 13310 + + :message: "could not convert string to long long" :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L290` + :module: :source:`src/mongo/util/text.cpp#L149` -.. error:: 16034 +.. line: uassert(13311, "member " + i->h.toString() + " has data already, cannot initiate set. All members except initiator must be empty.", - :message: str::stream() +.. error:: 13311 + + :message: "member " + i->h.toString() + " has data already, cannot initiate set. All members except initiator must be empty.", :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L2374` + :module: :source:`src/mongo/db/repl/rs_initiate.cpp#L136` -.. error:: 16035 +.. line: massert(13312, "replSet error : logOp() but not primary?", theReplSet->box.getState().primary()); - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L2380` +.. error:: 13312 -.. error:: 16373 + :message: "replSet error : logOp() but not primary?" + :severity: Info + :module: :source:`src/mongo/db/oplog.cpp#L145` - :message: , - :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L946` +.. line: uassert( 13314 , "can't have 2 geo fields" , _geo.size() == 0 ); -.. error:: 16374 +.. error:: 13314 - :message: "$mod + :message: "can't have 2 geo fields" :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L1757` + :module: :source:`src/mongo/db/geo/haystack.cpp#L89` -.. error:: 16375 +.. line: uassert( 13315 , "2d has to be first in index" , _other.size() == 0 ); - :message: "$multiply - :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L1858` - -.. error:: 16376 +.. error:: 13315 - :message: , + :message: "2d has to be first in index" :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L2429` - -.. error:: 16400 + :module: :source:`src/mongo/db/geo/haystack.cpp#L90` - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L1196` +.. line: uassert( 13316 , "no geo field specified" , _geo.size() ); -.. error:: 16401 +.. error:: 13316 - :message: str::stream() + :message: "no geo field specified" :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L1214` + :module: :source:`src/mongo/db/geo/haystack.cpp#L99` -.. error:: 16404 +.. line: uassert( 13317 , "no other fields specified" , _other.size() ); + +.. error:: 13317 - :message: "$expressions + :message: "no other fields specified" :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L93` + :module: :source:`src/mongo/db/geo/haystack.cpp#L100` -.. error:: 16405 +.. line: uassert( 13318 , "near needs to be an array" , n.isABSONObj() ); + +.. error:: 13318 - :message: "dotted + :message: "near needs to be an array" :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L106` + :module: :source:`src/mongo/db/geo/haystack.cpp#L298` -.. error:: 16406 +.. line: uassert( 13319 , "maxDistance needs a number" , maxDistance.isNumber() ); + +.. error:: 13319 - :message: , + :message: "maxDistance needs a number" :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L154` + :module: :source:`src/mongo/db/geo/haystack.cpp#L299` -.. error:: 16407 +.. line: uassert( 13320 , "search needs to be an object" , search.type() == Object ); - :message: "inclusion - :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L1014` +.. error:: 13320 -.. error:: 16413 + :message: "search needs to be an object" + :throws: UserException + :module: :source:`src/mongo/db/geo/haystack.cpp#L300` - :message: "$subtract - :severity: Info - :module: :source:`src/mongo/db/pipeline/expression.cpp#L2446` +.. line: uassert( 13321 , "need bucketSize" , e.isNumber() ); -.. error:: 16415 +.. error:: 13321 - :message: "$add + :message: "need bucketSize" :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L347` + :module: :source:`src/mongo/db/geo/haystack.cpp#L80` -.. error:: 16416 +.. line: uassert( 13322 , "not a number" , e.isNumber() ); + +.. error:: 13322 - :message: "$add + :message: "not a number" :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L349` + :module: :source:`src/mongo/db/geo/haystack.cpp#L106` -.. error:: 16417 +.. line: uassert( 13323 , "latlng not an array" , loc.isABSONObj() ); - :message: "$add - :severity: Info - :module: :source:`src/mongo/db/pipeline/expression.cpp#L367` +.. error:: 13323 -.. error:: 16418 + :message: "latlng not an array" + :throws: UserException + :module: :source:`src/mongo/db/geo/haystack.cpp#L141` - :message: "$multiply - :severity: Info - :module: :source:`src/mongo/db/pipeline/expression.cpp#L1872` +.. line: uassert(13325, "couldn't open file: " + where, out.is_open() ); -.. error:: 16419 +.. error:: 13325 - :message: str::stream()<<"field + :message: "couldn't open file: " + where, out.is_open() ); :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L54` + :module: :source:`src/mongo/client/gridfs.cpp#L251` -.. error:: 16420 +.. line: uassert( 13326 , "quadrant search can only have 1 other field for now" , _other.size() == 1 ); + +.. error:: 13326 - :message: "field + :message: "quadrant search can only have 1 other field for now" :throws: UserException - :module: :source:`src/mongo/db/pipeline/expression.cpp#L149` + :module: :source:`src/mongo/db/geo/haystack.cpp#L101` -.. error:: 15998 +.. line: uassert( 13327 , "Chunk ns must match server ns" , ns == _manager->getns() ); - :message: "FieldPath - :throws: UserException - :module: :source:`src/mongo/db/pipeline/field_path.cpp#L88` +.. error:: 13327 -.. error:: 16409 + :message: "Chunk ns must match server ns" + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L72` - :message: "FieldPath - :severity: Info - :module: :source:`src/mongo/db/pipeline/field_path.cpp#L28` +.. line: uassert( 13328 , _name + ": connect failed " + url.toString() + " : " + errmsg , c ); -.. error:: 16410 +.. error:: 13328 - :message: "FieldPath + :message: _name + ": connect failed " + url.toString() + " : " + errmsg , c ); :throws: UserException - :module: :source:`src/mongo/db/pipeline/field_path.cpp#L89` + :module: :source:`src/mongo/client/connpool.cpp#L198` -.. error:: 16411 +.. line: uassert(13329, "upsert mode requires update field", !update.eoo()); + +.. error:: 13329 - :message: "FieldPath + :message: "upsert mode requires update field" :throws: UserException - :module: :source:`src/mongo/db/pipeline/field_path.cpp#L90` + :module: :source:`src/mongo/db/commands/find_and_modify.cpp#L235` -.. error:: 16412 +.. line: uassert(13330, "upsert mode requires query field", !origQuery.isEmpty()); + +.. error:: 13330 - :message: "FieldPath + :message: "upsert mode requires query field" :throws: UserException - :module: :source:`src/mongo/db/pipeline/field_path.cpp#L92` + :module: :source:`src/mongo/db/commands/find_and_modify.cpp#L236` -.. error:: 15942 +.. line: uassert( 13331 , "collection's metadata is undergoing changes. Please try again." , dlk.got() ); - :message: str::stream() +.. error:: 13331 + + :message: "collection's metadata is undergoing changes. Please try again." :throws: UserException - :module: :source:`src/mongo/db/pipeline/pipeline.cpp#L160` + :module: :source:`src/mongo/s/chunk.cpp#L1197` -.. error:: 16389 +.. line: uassert( 13332 , "need a split key to split chunk" , !m.empty() ); + +.. error:: 13332 - :message: , + :message: "need a split key to split chunk" :throws: UserException - :module: :source:`src/mongo/db/pipeline/pipeline.cpp#L409` + :module: :source:`src/mongo/s/chunk.cpp#L268` -.. error:: 16001 +.. line: uassert( 13333 , "can't split a chunk in that many parts", m.size() < maxSplitPoints ); - :message: str::stream() +.. error:: 13333 + + :message: "can't split a chunk in that many parts" :throws: UserException - :module: :source:`src/mongo/db/pipeline/value.cpp#L77` + :module: :source:`src/mongo/s/chunk.cpp#L269` -.. error:: 16002 +.. line: uassert(13334, "Shard Key must be less than 512 bytes", k.objsize() < 512); - :message: str::stream() +.. error:: 13334 + + :message: "Shard Key must be less than 512 bytes" :throws: UserException - :module: :source:`src/mongo/db/pipeline/value.cpp#L184` + :module: :source:`src/mongo/s/shardkey.h#L125` -.. error:: 16003 +.. line: uasserted(13341, "member " + i->h.toString() + " has a config version >= to the new cfg version; cannot change config"); - :message: str::stream() +.. error:: 13341 + + :message: "member " + i->h.toString() + " has a config version >= to the new cfg version; cannot change config"); :throws: UserException - :module: :source:`src/mongo/db/pipeline/value.cpp#L551` + :module: :source:`src/mongo/db/repl/rs_initiate.cpp#L102` -.. error:: 16004 +.. line: uassert( 13342, "Unable to truncate lock file", ftruncate(lockFile, 0) == 0); - :message: str::stream() +.. error:: 13342 + + :message: "Unable to truncate lock file" :throws: UserException - :module: :source:`src/mongo/db/pipeline/value.cpp#L577` + :module: :source:`src/mongo/db/instance.cpp#L1221` -.. error:: 16005 +.. line: uassert(13343, "query for sharded findAndModify must have shardkey", cm->hasShardKey(filter)); - :message: str::stream() +.. error:: 13343 + + :message: "query for sharded findAndModify must have shardkey" :throws: UserException - :module: :source:`src/mongo/db/pipeline/value.cpp#L603` + :module: :source:`src/mongo/s/commands_public.cpp#L707` -.. error:: 16006 +.. line: massert( 13344 , "trying to slave off of a non-master", false ); - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/pipeline/value.cpp#L622` +.. error:: 13344 -.. error:: 16007 + :message: "trying to slave off of a non-master" + :severity: Info + :module: :source:`src/mongo/db/repl.cpp#L896` - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/pipeline/value.cpp#L709` +.. line: uassert( 13345 , os.str() , 0 ); -.. error:: 16016 +.. error:: 13345 - :message: str::stream() + :message: os.str() , 0 ); :throws: UserException - :module: :source:`src/mongo/db/pipeline/value.cpp#L811` + :module: :source:`src/mongo/s/chunk.cpp#L192` -.. error:: 16017 +.. line: massert(13347, "local.oplog.rs missing. did you drop it? if so restart server", rsOplogDetails); - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/pipeline/value.cpp#L862` +.. error:: 13347 -.. error:: 16018 + :message: "local.oplog.rs missing. did you drop it? if so restart server" + :severity: Info + :module: :source:`src/mongo/db/oplog.cpp#L183` - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/pipeline/value.cpp#L963` +.. line: void _assertIfNull() const { uassert(13348, "connection died", this); } -.. error:: 16378 +.. error:: 13348 - :message: str::stream() + :message: "connection died" :throws: UserException - :module: :source:`src/mongo/db/pipeline/value.cpp#L725` + :module: :source:`src/mongo/client/dbclientcursor.h#L235` -.. error:: 16421 +.. line: massert( 13383, "BatchIterator empty", moreInCurrentBatch() ); - :message: "Can't - :throws: UserException - :module: :source:`src/mongo/db/pipeline/value.cpp#L640` +.. error:: 13383 -.. error:: 16422 + :message: "BatchIterator empty" + :severity: Info + :module: :source:`src/mongo/client/dbclientcursor.h#L252` - :message: "gmtime - :throws: UserException - :module: :source:`src/mongo/db/pipeline/value.cpp#L661` +.. line: uassert( 13385, "combinatorial limit of $in partitioning of result set exceeded", -.. error:: 16423 +.. error:: 13385 - :message: str::stream() + :message: "combinatorial limit of $in partitioning of result set exceeded" :throws: UserException - :module: :source:`src/mongo/db/pipeline/value.cpp#L664` - -.. error:: 16427 + :module: :source:`src/mongo/db/queryutil.cpp#L1116` - :message: - :severity: Abort - :module: :source:`src/mongo/db/prefetch.cpp#L144` +.. line: uassert( 13386, "socket error for mapping query", c.get() ); -.. error:: 10053 +.. error:: 13386 - :message: "You + :message: "socket error for mapping query" :throws: UserException - :module: :source:`src/mongo/db/projection.cpp#L100` + :module: :source:`src/mongo/client/dbclient.cpp#L847` -.. error:: 10371 +.. line: massert(13389, "local.oplog.rs missing. did you drop it? if so restart server", rsOplogDetails); - :message: "can - :severity: Info - :module: :source:`src/mongo/db/projection.cpp#L26` +.. error:: 13389 -.. error:: 13097 + :message: "local.oplog.rs missing. did you drop it? if so restart server" + :severity: Info + :module: :source:`src/mongo/db/oplog.cpp#L73` - :message: string("Unsupported - :throws: UserException - :module: :source:`src/mongo/db/projection.cpp#L83` +.. line: uasserted(13390, "unrecognized command: " + commandName); -.. error:: 13098 +.. error:: 13390 - :message: "$slice + :message: "unrecognized command: " + commandName); :throws: UserException - :module: :source:`src/mongo/db/projection.cpp#L61` + :module: :source:`src/mongo/s/strategy_single.cpp#L89` -.. error:: 13099 +.. line: uassert(13393, "can't use localhost in repl set member names except when using it for all members", localhosts == 0 || localhosts == members.size()); - :message: "$slice +.. error:: 13393 + + :message: "can't use localhost in repl set member names except when using it for all members" :throws: UserException - :module: :source:`src/mongo/db/projection.cpp#L51` + :module: :source:`src/mongo/db/repl/rs_config.cpp#L548` -.. error:: 13100 +.. line: uassert( 13396 , (string)"DBConfig save failed: " + err , err.size() == 0 ); + +.. error:: 13396 - :message: "$slice + :message: (string)"DBConfig save failed: " + err , err.size() == 0 ); :throws: UserException - :module: :source:`src/mongo/db/projection.cpp#L56` + :module: :source:`src/mongo/s/config.cpp#L521` -.. error:: 16342 +.. line: throw UserException( 13397 , (string)"SyncClusterConnection::say prepare failed: " + errmsg ); + +.. error:: 13397 - :message: "elemMatch: + :message: (string)"SyncClusterConnection::say prepare failed: " + errmsg ); :throws: UserException - :module: :source:`src/mongo/db/projection.cpp#L66` + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L445` -.. error:: 16343 +.. line: uassert(13398, "cant copy to sharded DB", !confTo->isShardingEnabled()); + +.. error:: 13398 - :message: "Cannot + :message: "cant copy to sharded DB" :throws: UserException - :module: :source:`src/mongo/db/projection.cpp#L68` + :module: :source:`src/mongo/s/commands_public.cpp#L458` -.. error:: 16344 +.. line: uassert(13399, "need a fromdb argument", !fromdb.empty()); - :message: "Cannot +.. error:: 13399 + + :message: "need a fromdb argument" :throws: UserException - :module: :source:`src/mongo/db/projection.cpp#L71` + :module: :source:`src/mongo/s/commands_public.cpp#L466` -.. error:: 16345 +.. line: uassert(13400, "don't know where source DB is", confFrom); + +.. error:: 13400 - :message: "Cannot + :message: "don't know where source DB is" :throws: UserException - :module: :source:`src/mongo/db/projection.cpp#L107` + :module: :source:`src/mongo/s/commands_public.cpp#L469` -.. error:: 16346 +.. line: uassert(13401, "cant copy from sharded DB", !confFrom->isShardingEnabled()); + +.. error:: 13401 - :message: "Cannot + :message: "cant copy from sharded DB" :throws: UserException - :module: :source:`src/mongo/db/projection.cpp#L109` + :module: :source:`src/mongo/s/commands_public.cpp#L470` -.. error:: 16347 +.. line: uassert(13402, "need a todb argument", !todb.empty()); + +.. error:: 13402 - :message: "Cannot + :message: "need a todb argument" :throws: UserException - :module: :source:`src/mongo/db/projection.cpp#L111` + :module: :source:`src/mongo/s/commands_public.cpp#L455` -.. error:: 16348 +.. line: uasserted( 13403 , str::stream() << "didn't get writeback for: " << oid - :message: "matchers - :severity: Info - :module: :source:`src/mongo/db/projection.cpp#L174` +.. error:: 13403 -.. error:: 16349 + :message: str::stream() << "didn't get writeback for: " << oid + :throws: UserException + :module: :source:`src/mongo/s/writeback_listener.cpp#L126` - :message: "$elemMatch - :severity: Info - :module: :source:`src/mongo/db/projection.cpp#L184` +.. line: uasserted(13404, m); -.. error:: 16350 +.. error:: 13404 - :message: "$elemMatch - :severity: Info - :module: :source:`src/mongo/db/projection.cpp#L188` + :message: m); + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_initialsync.cpp#L44` -.. error:: 16351 +.. line: uassert(13405, str::stream() << "min value " << min << " does not have shard key", hasShardKey(min)); - :message: "$elemMatch - :severity: Info - :module: :source:`src/mongo/db/projection.cpp#L190` - -.. error:: 16352 +.. error:: 13405 - :message: mongoutils::str::stream() + :message: str::stream() << "min value " << min << " does not have shard key", hasShardKey(min)); :throws: UserException - :module: :source:`src/mongo/db/projection.cpp#L287` - -.. error:: 16353 + :module: :source:`src/mongo/s/chunk.cpp#L1136` - :message: "positional - :throws: UserException - :module: :source:`src/mongo/db/projection.cpp#L292` +.. line: uassert(13406, str::stream() << "max value " << max << " does not have shard key", hasShardKey(max)); -.. error:: 16354 +.. error:: 13406 - :message: "Positional + :message: str::stream() << "max value " << max << " does not have shard key", hasShardKey(max)); :throws: UserException - :module: :source:`src/mongo/db/projection.cpp#L343` + :module: :source:`src/mongo/s/chunk.cpp#L1137` -.. error:: 10111 +.. line: massert( 13407 , "how could chunk manager be null!" , cm ); - :message: (string)"table - :throws: UserException - :module: :source:`src/mongo/db/queryoptimizer.cpp#L357` +.. error:: 13407 -.. error:: 10112 + :message: "how could chunk manager be null!" + :severity: Info + :module: :source:`src/mongo/s/commands_public.cpp#L747` - :message: "bad - :throws: UserException - :module: :source:`src/mongo/db/queryoptimizer.cpp#L73` +.. line: uassert(13408, "keyPattern must equal shard key", cm->getShardKey().key() == keyPattern); -.. error:: 10113 +.. error:: 13408 - :message: "bad + :message: "keyPattern must equal shard key" :throws: UserException - :module: :source:`src/mongo/db/queryoptimizer.cpp#L85` + :module: :source:`src/mongo/s/commands_public.cpp#L753` -.. error:: 10363 +.. line: uassert( 13410, "replSet too much data to roll back", totSize < 300 * 1024 * 1024 ); - :message: "newCursor() - :severity: Info - :module: :source:`src/mongo/db/queryoptimizer.cpp#L292` +.. error:: 13410 -.. error:: 10364 + :message: "replSet too much data to roll back" + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_rollback.cpp#L344` - :message: "newReverseCursor() - :severity: Info - :module: :source:`src/mongo/db/queryoptimizer.cpp#L315` +.. line: uassert( 13411, "getHostName accepts no arguments", a.nFields() == 0 ); -.. error:: 10365 +.. error:: 13411 - :message: errmsg, - :severity: Info - :module: :source:`src/mongo/db/queryoptimizer.cpp#L742` + :message: "getHostName accepts no arguments" + :throws: UserException + :module: :source:`src/mongo/shell/shell_utils_extended.cpp#L204` -.. error:: 10366 +.. line: uassert( 13415, "emptying the collection is not allowed", stats.nrecords > 1 ); - :message: "natural +.. error:: 13415 + + :message: "emptying the collection is not allowed" :throws: UserException - :module: :source:`src/mongo/db/queryoptimizer.cpp#L623` + :module: :source:`src/mongo/db/cap.cpp#L352` -.. error:: 10367 +.. line: uassert( 13416, "captrunc must specify a collection", !coll.empty() ); + +.. error:: 13416 - :message: errmsg, + :message: "captrunc must specify a collection" :throws: UserException - :module: :source:`src/mongo/db/queryoptimizer.cpp#L635` + :module: :source:`src/mongo/db/dbcommands.cpp#L1817` -.. error:: 10368 +.. line: massert( 13417, "captrunc collection not found or empty", c.ok() ); + +.. error:: 13417 - :message: "Unable + :message: "captrunc collection not found or empty" :severity: Info - :module: :source:`src/mongo/db/queryoptimizer.cpp#L696` + :module: :source:`src/mongo/db/dbcommands.cpp#L1825` -.. error:: 10369 +.. line: massert( 13418, "captrunc invalid n", c.advance() ); + +.. error:: 13418 - :message: "no + :message: "captrunc invalid n" :severity: Info - :module: :source:`src/mongo/db/queryoptimizer.cpp#L1018` + :module: :source:`src/mongo/db/dbcommands.cpp#L1827` -.. error:: 13038 +.. line: uassert(13419, "priorities must be between 0.0 and 100.0", priority >= 0.0 && priority <= 100.0); - :message: (string)"can't +.. error:: 13419 + + :message: "priorities must be between 0.0 and 100.0" :throws: UserException - :module: :source:`src/mongo/db/queryoptimizer.cpp#L659` + :module: :source:`src/mongo/db/repl/rs_config.cpp#L147` -.. error:: 13040 +.. line: uasserted(13420, "initiation and reconfiguration of a replica set must be sent to a node that can become primary"); - :message: (string)"no - :severity: Info - :module: :source:`src/mongo/db/queryoptimizer.cpp#L160` +.. error:: 13420 -.. error:: 13268 + :message: "initiation and reconfiguration of a replica set must be sent to a node that can become primary" + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_initiate.cpp#L51` - :message: "invalid - :severity: Info - :module: :source:`src/mongo/db/queryoptimizer.cpp#L1218` +.. line: throw UserException( 13421 , "trying to connect to invalid ConnectionString" ); -.. error:: 13292 +.. error:: 13421 - :message: "hint - :severity: Info - :module: :source:`src/mongo/db/queryoptimizer.cpp#L60` + :message: "trying to connect to invalid ConnectionString" ); + :throws: UserException + :module: :source:`src/mongo/client/dbclient.cpp#L147` -.. error:: 16330 +.. line: uassert(13422, "DBClientCursor next() called but more() is false", batch.pos < batch.nReturned); - :message: "'special' +.. error:: 13422 + + :message: "DBClientCursor next() called but more() is false" :throws: UserException - :module: :source:`src/mongo/db/queryoptimizer.cpp#L654` + :module: :source:`src/mongo/client/dbclientcursor.cpp#L234` -.. error:: 16331 +.. line: uassert(13423, str::stream() << "replSet error in rollback can't find " << rsoplog, oplogDetails); + +.. error:: 13423 - :message: "'special' + :message: str::stream() << "replSet error in rollback can't find " << rsoplog, oplogDetails); :throws: UserException - :module: :source:`src/mongo/db/queryoptimizer.cpp#L750` + :module: :source:`src/mongo/db/repl/rs_rollback.cpp#L454` -.. error:: 13266 +.. line: massert( 13424, "collection must be capped", isCapped() ); + +.. error:: 13424 - :message: "not + :message: "collection must be capped" :severity: Info - :module: :source:`src/mongo/db/queryoptimizer.h#L614` + :module: :source:`src/mongo/db/cap.cpp#L419` -.. error:: 13271 +.. line: massert( 13425, "background index build in progress", !indexBuildInProgress ); + +.. error:: 13425 - :message: "no + :message: "background index build in progress" :severity: Info - :module: :source:`src/mongo/db/queryoptimizer.h#L617` + :module: :source:`src/mongo/db/cap.cpp#L420` -.. error:: 14809 +.. line: massert( 13426 , str::stream() << "failed during index drop: " << errmsg , res ); - :message: "Invalid +.. error:: 13426 + + :message: str::stream() << "failed during index drop: " << errmsg , res ); :severity: Info - :module: :source:`src/mongo/db/queryoptimizercursorimpl.cpp#L666` + :module: :source:`src/mongo/db/cap.cpp#L431` -.. error:: 16249 +.. line: uassert( 13428, "emptycapped must specify a collection", !coll.empty() ); - :message: - :severity: Abort - :module: :source:`src/mongo/db/queryoptimizercursorimpl.cpp#L99` +.. error:: 13428 -.. error:: 9011 + :message: "emptycapped must specify a collection" + :throws: UserException + :module: :source:`src/mongo/db/dbcommands.cpp#L1845` - :message: , - :throws: MsgAssertionException - :module: :source:`src/mongo/db/queryoptimizercursorimpl.cpp#L82` +.. line: massert( 13429, "emptycapped no such collection", nsd ); -.. error:: 14049 +.. error:: 13429 - :message: "FieldRangeSetPair + :message: "emptycapped no such collection" :severity: Info - :module: :source:`src/mongo/db/queryutil-inl.h#L138` + :module: :source:`src/mongo/db/dbcommands.cpp#L1848` -.. error:: 10370 +.. line: uassert(13430, "no _id index", idxNo>=0); + +.. error:: 13430 - :message: "$all + :message: "no _id index" :throws: UserException - :module: :source:`src/mongo/db/queryutil.cpp#L364` + :module: :source:`src/mongo/db/dbhelpers.cpp#L132` -.. error:: 12580 +.. line: uassert( 13431 , "have to have sort key in projection and removing it" , !found && begin == end ); + +.. error:: 13431 - :message: "invalid + :message: "have to have sort key in projection and removing it" :throws: UserException - :module: :source:`src/mongo/db/queryutil.cpp#L174` + :module: :source:`src/mongo/client/parallel.cpp#L514` -.. error:: 13033 +.. line: uasserted(13432, "_id may not change for members"); - :message: "can't +.. error:: 13432 + + :message: "_id may not change for members" :throws: UserException - :module: :source:`src/mongo/db/queryutil.cpp#L764` + :module: :source:`src/mongo/db/repl/rs_config.cpp#L272` -.. error:: 13034 +.. line: uassert(13433, "can't find self in new replset config", me == 1); + +.. error:: 13433 - :message: "invalid + :message: "can't find self in new replset config" :throws: UserException - :module: :source:`src/mongo/db/queryutil.cpp#L902` + :module: :source:`src/mongo/db/repl/rs_config.cpp#L289` -.. error:: 13041 +.. line: uasserted(13434, str::stream() << "unexpected field '" << e.fieldName() << "' in object"); + +.. error:: 13434 - :message: "invalid + :message: str::stream() << "unexpected field '" << e.fieldName() << "' in object"); :throws: UserException - :module: :source:`src/mongo/db/queryutil.cpp#L912` + :module: :source:`src/mongo/db/repl/rs_config.cpp#L43` -.. error:: 13050 +.. line: uassert(13435, "not master and slaveOk=false", + +.. error:: 13435 - :message: "$all + :message: "not master and slaveOk=false" :throws: UserException - :module: :source:`src/mongo/db/queryutil.cpp#L876` + :module: :source:`src/mongo/db/repl.cpp#L1556` -.. error:: 13262 +.. line: uassert(13436, - :message: "$or +.. error:: 13436 + + :message: :throws: UserException - :module: :source:`src/mongo/db/queryutil.cpp#L1713` + :module: :source:`src/mongo/db/repl.cpp#L1558` -.. error:: 13263 +.. line: uassert(13437, "slaveDelay requires priority be zero", slaveDelay == 0 || priority == 0); - :message: "$or - :throws: UserException - :module: :source:`src/mongo/db/queryutil.cpp#L1717` +.. error:: 13437 -.. error:: 13274 + :message: "slaveDelay requires priority be zero" + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L148` - :message: "no - :severity: Info - :module: :source:`src/mongo/db/queryutil.cpp#L1729` +.. line: uassert(13438, "bad slaveDelay value", slaveDelay >= 0 && slaveDelay <= 3600 * 24 * 366); -.. error:: 13291 +.. error:: 13438 - :message: "$or + :message: "bad slaveDelay value" :throws: UserException - :module: :source:`src/mongo/db/queryutil.cpp#L1719` + :module: :source:`src/mongo/db/repl/rs_config.cpp#L149` -.. error:: 13303 +.. line: uassert(13439, "priority must be 0 when hidden=true", priority == 0 || !hidden); + +.. error:: 13439 - :message: "combinatorial + :message: "priority must be 0 when hidden=true" :throws: UserException - :module: :source:`src/mongo/db/queryutil.cpp#L1244` + :module: :source:`src/mongo/db/repl/rs_config.cpp#L150` -.. error:: 13304 +.. line: uasserted(13440, ss.str()); - :message: "combinatorial +.. error:: 13440 + + :message: ss.str()); :throws: UserException - :module: :source:`src/mongo/db/queryutil.cpp#L1254` + :module: :source:`src/mongo/db/pdfile.cpp#L393` -.. error:: 13385 +.. line: uasserted(13441, ss.str()); + +.. error:: 13441 - :message: "combinatorial + :message: ss.str()); :throws: UserException - :module: :source:`src/mongo/db/queryutil.cpp#L1116` + :module: :source:`src/mongo/db/pdfile.cpp#L387` -.. error:: 13454 +.. line: uassert( 13449 , str::stream() << "collection " << _ns << " already sharded with " - :message: "invalid - :throws: UserException - :module: :source:`src/mongo/db/queryutil.cpp#L255` +.. error:: 13449 -.. error:: 14048 + :message: str::stream() << "collection " << _ns << " already sharded with " + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L997` - :message: "FieldRangeSetPair - :severity: Info - :module: :source:`src/mongo/db/queryutil.cpp#L1348` +.. line: uassert(13453, "server not started with --jsonp", callback.empty() || cmdLine.jsonp); -.. error:: 14816 +.. error:: 13453 - :message: "$and + :message: "server not started with --jsonp" :throws: UserException - :module: :source:`src/mongo/db/queryutil.cpp#L970` + :module: :source:`src/mongo/db/dbwebserver.cpp#L170` -.. error:: 14817 +.. line: uassert( 13454, "invalid regular expression operator", op == BSONObj::Equality || op == BSONObj::opREGEX ); + +.. error:: 13454 - :message: "$and/$or + :message: "invalid regular expression operator" :throws: UserException - :module: :source:`src/mongo/db/queryutil.cpp#L957` + :module: :source:`src/mongo/db/queryutil.cpp#L255` -.. error:: 15881 +.. line: uassert( 13455 , "dbexit timed out getting lock" , wlt.got() ); + +.. error:: 13455 - :message: "$elemMatch + :message: "dbexit timed out getting lock" :throws: UserException - :module: :source:`src/mongo/db/queryutil.cpp#L178` + :module: :source:`src/mongo/db/dbcommands.cpp#L358` -.. error:: 10102 +.. line: uassert(13460, "invalid $center query type: " + type, false); + +.. error:: 13460 - :message: "bad + :message: "invalid $center query type: " + type, false); :throws: UserException - :module: :source:`src/mongo/db/queryutil.h#L41` + :module: :source:`src/mongo/db/geo/2d.cpp#L2540` -.. error:: 10103 +.. line: uassert(13461, "Spherical MaxDistance > PI. Are you sure you are using radians?", _maxDistance < M_PI); - :message: "bad +.. error:: 13461 + + :message: "Spherical MaxDistance > PI. Are you sure you are using radians?" :throws: UserException - :module: :source:`src/mongo/db/queryutil.h#L42` + :module: :source:`src/mongo/db/geo/2d.cpp#L2528` -.. error:: 10104 +.. line: uassert(13462, "Spherical distance would require wrapping, which isn't implemented yet", + +.. error:: 13462 - :message: "too + :message: "Spherical distance would require wrapping, which isn't implemented yet" :throws: UserException - :module: :source:`src/mongo/db/queryutil.h#L45` + :module: :source:`src/mongo/db/geo/2d.cpp#L2535` -.. error:: 10105 +.. line: uassert(13464, string("invalid $near search type: ") + e.fieldName(), false); + +.. error:: 13464 - :message: "bad + :message: string("invalid $near search type: ") + e.fieldName(), false); :throws: UserException - :module: :source:`src/mongo/db/queryutil.h#L130` + :module: :source:`src/mongo/db/geo/2d.cpp#L2801` -.. error:: 12001 +.. line: uassert( 13468, string("can't create file already exists ") + filename, ! boost::filesystem::exists(filename) ); + +.. error:: 13468 - :message: "E12001 + :message: string("can't create file already exists ") + filename, ! boost::filesystem::exists(filename) ); :throws: UserException - :module: :source:`src/mongo/db/queryutil.h#L213` + :module: :source:`src/mongo/util/mmap.cpp#L48` -.. error:: 12002 +.. line: massert(13469, "getifaddrs failure: " + errnoWithDescription(errno), status == 0); - :message: "E12002 - :throws: UserException - :module: :source:`src/mongo/db/queryutil.h#L214` +.. error:: 13469 -.. error:: 13513 + :message: "getifaddrs failure: " + errnoWithDescription(errno), status == 0); + :severity: Info + :module: :source:`src/mongo/db/commands/isself.cpp#L49` - :message: "sort - :throws: UserException - :module: :source:`src/mongo/db/queryutil.h#L183` +.. line: massert(13472, string("getnameinfo() failed: ") + gai_strerror(status), status == 0); -.. error:: 16236 +.. error:: 13472 - :message: - :severity: Abort - :module: :source:`src/mongo/db/record.cpp#L445` + :message: string("getnameinfo() failed: ") + gai_strerror(status), status == 0); + :severity: Info + :module: :source:`src/mongo/db/commands/isself.cpp#L110` -.. error:: 10002 +.. line: uassert( 13473 , (string)"failed to save collection (" + ns + "): " + err , err.size() == 0 ); - :message: "local.sources +.. error:: 13473 + + :message: (string)"failed to save collection (" + ns + "): " + err , err.size() == 0 ); :throws: UserException - :module: :source:`src/mongo/db/repl.cpp#L398` + :module: :source:`src/mongo/s/config.cpp#L110` -.. error:: 10118 +.. line: massert( 13474, "no _getInterruptSpecCallback", _getInterruptSpecCallback ); - :message: "'host' - :throws: UserException - :module: :source:`src/mongo/db/repl.cpp#L266` +.. error:: 13474 -.. error:: 10119 + :message: "no _getInterruptSpecCallback" + :severity: Info + :module: :source:`src/mongo/scripting/engine.h#L202` + +.. line: uassert( 13475 , _error , 0 ); - :message: "only +.. error:: 13475 + + :message: _error , 0 ); :throws: UserException - :module: :source:`src/mongo/db/repl.cpp#L267` + :module: :source:`src/mongo/scripting/engine_v8.cpp#L873` -.. error:: 10120 +.. line: uasserted(13476, "buildIndexes may not change for members"); + +.. error:: 13476 - :message: "bad + :message: "buildIndexes may not change for members" :throws: UserException - :module: :source:`src/mongo/db/repl.cpp#L270` + :module: :source:`src/mongo/db/repl/rs_config.cpp#L276` -.. error:: 10123 +.. line: uassert(13477, "priority must be 0 when buildIndexes=false", buildIndexes || priority == 0); + +.. error:: 13477 - :message: "replication + :message: "priority must be 0 when buildIndexes=false" :throws: UserException - :module: :source:`src/mongo/db/repl.cpp#L1012` + :module: :source:`src/mongo/db/repl/rs_config.cpp#L151` -.. error:: 10124 +.. line: uassert( 13478 , "can't apply mod in place - shouldn't have gotten here" , 0 ); + +.. error:: 13478 - :message: e.type() + :message: "can't apply mod in place - shouldn't have gotten here" :throws: UserException - :module: :source:`src/mongo/db/repl.cpp#L1248` + :module: :source:`src/mongo/db/ops/update_internal.cpp#L610` -.. error:: 10384 +.. line: uassert( 13479, - :message: "--only - :severity: Info - :module: :source:`src/mongo/db/repl.cpp#L409` +.. error:: 13479 -.. error:: 10385 + :message: + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L902` - :message: "Unable - :severity: Info - :module: :source:`src/mongo/db/repl.cpp#L465` +.. line: uassert( 13480, -.. error:: 10386 +.. error:: 13480 - :message: "non - :severity: Info - :module: :source:`src/mongo/db/repl.cpp#L781` + :message: + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L905` -.. error:: 10389 +.. line: uassert( 13481, - :message: "Unable - :severity: Info - :module: :source:`src/mongo/db/repl.cpp#L810` +.. error:: 13481 -.. error:: 10390 + :message: + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L908` - :message: "got - :severity: Info - :module: :source:`src/mongo/db/repl.cpp#L900` +.. line: uassert( 13482, -.. error:: 10391 +.. error:: 13482 - :message: "repl: - :severity: Info - :module: :source:`src/mongo/db/repl.cpp#L905` + :message: + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L911` -.. error:: 10392 +.. line: uassert( 13483, - :message: "bad - :severity: Info - :module: :source:`src/mongo/db/repl.cpp#L1080` +.. error:: 13483 -.. error:: 10393 + :message: + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L915` - :message: "bad - :severity: Info - :module: :source:`src/mongo/db/repl.cpp#L1081` +.. line: uassert( 13484, -.. error:: 13344 +.. error:: 13484 - :message: "trying - :severity: Info - :module: :source:`src/mongo/db/repl.cpp#L896` + :message: + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L919` -.. error:: 13435 +.. line: uassert( 13485, + +.. error:: 13485 - :message: "not + :message: :throws: UserException - :module: :source:`src/mongo/db/repl.cpp#L1556` + :module: :source:`src/mongo/db/ops/update_internal.cpp#L922` -.. error:: 13436 +.. line: uassert( 13486, + +.. error:: 13486 - :message: , + :message: :throws: UserException - :module: :source:`src/mongo/db/repl.cpp#L1558` + :module: :source:`src/mongo/db/ops/update_internal.cpp#L925` -.. error:: 14032 +.. line: uassert( 13487, - :message: "Invalid - :severity: Info - :module: :source:`src/mongo/db/repl.cpp#L570` +.. error:: 13487 -.. error:: 14033 + :message: + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L929` - :message: "Unable - :severity: Info - :module: :source:`src/mongo/db/repl.cpp#L576` +.. line: uassert( 13488, -.. error:: 14034 +.. error:: 13488 - :message: "Duplicate - :severity: Info - :module: :source:`src/mongo/db/repl.cpp#L618` + :message: + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L932` -.. error:: 15914 +.. line: uassert( 13489, "$rename source field invalid", source != -1 ); - :message: "Failure +.. error:: 13489 + + :message: "$rename source field invalid" :throws: UserException - :module: :source:`src/mongo/db/repl.cpp#L629` + :module: :source:`src/mongo/db/ops/update_internal.cpp#L374` -.. error:: 1000 +.. line: uassert( 13490, "$rename target field invalid", target != -1 ); + +.. error:: 13490 - :message: "replSet + :message: "$rename target field invalid" :throws: UserException - :module: :source:`src/mongo/db/repl/bgsync.cpp#L280` + :module: :source:`src/mongo/db/ops/update_internal.cpp#L385` -.. error:: 16235 +.. line: massert( 13492, "mod must be RENAME_TO type", op == Mod::RENAME_TO ); + +.. error:: 13492 - :message: "going + :message: "mod must be RENAME_TO type" :severity: Info - :module: :source:`src/mongo/db/repl/bgsync.cpp#L519` + :module: :source:`src/mongo/db/ops/update_internal.h#L237` -.. error:: 13112 +.. line: uassert( 13494, "$rename target must be a string", f.type() == String ); + +.. error:: 13494 - :message: "bad + :message: "$rename target must be a string" :throws: UserException - :module: :source:`src/mongo/db/repl/health.h#L41` + :module: :source:`src/mongo/db/ops/update_internal.cpp#L894` -.. error:: 13113 +.. line: uassert( 13495, - :message: "bad - :throws: UserException - :module: :source:`src/mongo/db/repl/health.h#L42` +.. error:: 13495 -.. error:: 15900 + :message: + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L896` - :message: "can't - :severity: Info - :module: :source:`src/mongo/db/repl/heartbeat.cpp#L150` +.. line: uassert( 13496, -.. error:: 13093 +.. error:: 13496 - :message: "bad + :message: :throws: UserException - :module: :source:`src/mongo/db/repl/rs.cpp#L328` + :module: :source:`src/mongo/db/ops/update_internal.cpp#L899` -.. error:: 13096 +.. line: massert( 13500 , "how could chunk manager be null!" , cm ); - :message: "bad - :throws: UserException - :module: :source:`src/mongo/db/repl/rs.cpp#L347` +.. error:: 13500 -.. error:: 13101 + :message: "how could chunk manager be null!" + :severity: Info + :module: :source:`src/mongo/s/commands_public.cpp#L1016` - :message: "can't - :throws: UserException - :module: :source:`src/mongo/db/repl/rs.cpp#L349` +.. line: uassert(13501, "use geoNear command rather than $near query", false); -.. error:: 13114 +.. error:: 13501 - :message: "bad + :message: "use geoNear command rather than $near query" :throws: UserException - :module: :source:`src/mongo/db/repl/rs.cpp#L345` + :module: :source:`src/mongo/s/chunk.cpp#L1082` -.. error:: 13290 +.. line: uassert(13502, "unrecognized special query type: " + special, false); - :message: "bad +.. error:: 13502 + + :message: "unrecognized special query type: " + special, false); :throws: UserException - :module: :source:`src/mongo/db/repl/rs.cpp#L443` + :module: :source:`src/mongo/s/chunk.cpp#L1089` -.. error:: 13302 +.. line: uassert( 13503 , os.str() , 0 ); + +.. error:: 13503 - :message: "replSet + :message: os.str() , 0 ); :throws: UserException - :module: :source:`src/mongo/db/repl/rs.cpp#L547` + :module: :source:`src/mongo/s/chunk.cpp#L162` -.. error:: 13107 +.. line: uasserted(13504, string("BSON representation of supplied JSON is too large: ") + e.what()); + +.. error:: 13504 - :message: ss.str(), + :message: string("BSON representation of supplied JSON is too large: ") + e.what()); :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L532` + :module: :source:`src/mongo/tools/import.cpp#L196` -.. error:: 13108 +.. line: uasserted( 13505, str::stream() + +.. error:: 13505 - :message: "bad + :message: str::stream() :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L542` + :module: :source:`src/mongo/s/strategy_shard.cpp#L895` -.. error:: 13109 +.. line: uasserted( 13506, str::stream() + +.. error:: 13506 :message: str::stream() :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L648` + :module: :source:`src/mongo/s/strategy_shard.cpp#L750` -.. error:: 13115 +.. line: massert( 13507 , str::stream() << "no chunks found between bounds " << min << " and " << max , it != _chunkRanges.ranges().end() ); - :message: "bad - :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L463` +.. error:: 13507 -.. error:: 13117 + :message: str::stream() << "no chunks found between bounds " << min << " and " << max , it != _chunkRanges.ranges().end() ); + :severity: Info + :module: :source:`src/mongo/s/chunk.cpp#L1143` - :message: "bad - :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L549` +.. line: uasserted( 13509 , "can't migrate from 1.5.x release to the current one; need to upgrade to 1.6.x first"); -.. error:: 13122 +.. error:: 13509 - :message: "bad + :message: "can't migrate from 1.5.x release to the current one; need to upgrade to 1.6.x first" :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L566` + :module: :source:`src/mongo/s/config.cpp#L454` -.. error:: 13126 +.. line: uasserted(13510, "arbiterOnly may not change for members"); + +.. error:: 13510 - :message: "bad + :message: "arbiterOnly may not change for members" :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L140` + :module: :source:`src/mongo/db/repl/rs_config.cpp#L282` -.. error:: 13131 +.. line: uassert( 13511 , "document to insert can't have $ fields" , e.fieldName()[0] != '$' ); - :message: "replSet +.. error:: 13511 + + :message: "document to insert can't have $ fields" :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L473` + :module: :source:`src/mongo/db/instance.cpp#L757` -.. error:: 13132 +.. line: uasserted(13513, "sort must be an object or array"); + +.. error:: 13513 - :message: , + :message: "sort must be an object or array" :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L320` + :module: :source:`src/mongo/db/queryutil.h#L183` -.. error:: 13133 +.. line: fassertFailed( 13514 ); - :message: "replSet - :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L324` +.. error:: 13514 -.. error:: 13135 + :message: + :severity: Abort + :module: :source:`src/mongo/util/logfile.cpp#L251` - :message: ss.str(), - :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L538` +.. line: fassertFailed( 13515 ); -.. error:: 13260 +.. error:: 13515 - :message: "", - :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L623` + :message: + :severity: Abort + :module: :source:`src/mongo/util/logfile.cpp#L237` -.. error:: 13308 +.. line: uasserted(13516, str::stream() << "couldn't open file " << name << " for writing " << errnoWithDescription()); + +.. error:: 13516 - :message: "replSet + :message: str::stream() << "couldn't open file " << name << " for writing " << errnoWithDescription()); :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L323` + :module: :source:`src/mongo/util/logfile.cpp#L175` -.. error:: 13309 +.. line: uasserted(13517, str::stream() << "error appending to file " << _name << ' ' << _len << ' ' << toWrite << ' ' << errnoWithDescription(e)); - :message: "replSet +.. error:: 13517 + + :message: str::stream() << "error appending to file " << _name << ' ' << _len << ' ' << toWrite << ' ' << errnoWithDescription(e)); :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L325` + :module: :source:`src/mongo/util/logfile.cpp#L127` -.. error:: 13393 +.. line: uasserted(13518, str::stream() << "couldn't open file " << name << " for writing " << errnoWithDescription(e)); + +.. error:: 13518 - :message: "can't + :message: str::stream() << "couldn't open file " << name << " for writing " << errnoWithDescription(e)); :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L548` + :module: :source:`src/mongo/util/logfile.cpp#L71` -.. error:: 13419 +.. line: msgasserted(13519, "error 87 appending to file - invalid parameter"); - :message: "priorities - :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L147` +.. error:: 13519 -.. error:: 13432 + :message: "error 87 appending to file - invalid parameter" + :severity: Info + :module: :source:`src/mongo/util/logfile.cpp#L125` - :message: "_id - :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L272` +.. line: uassert(13520, str::stream() << "MongoMMF only supports filenames in a certain format " << f, ok); -.. error:: 13433 +.. error:: 13520 - :message: "can't + :message: str::stream() << "MongoMMF only supports filenames in a certain format " << f, ok); :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L289` + :module: :source:`src/mongo/db/mongommf.cpp#L162` -.. error:: 13434 +.. line: uasserted( 13522 , str::stream() << "unknown out specifier [" << t << "]" ); - :message: str::stream() +.. error:: 13522 + + :message: str::stream() << "unknown out specifier [" << t << "]" ); :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L43` + :module: :source:`src/mongo/db/commands/mr.cpp#L262` -.. error:: 13437 +.. line: massert(13524, "out of memory AlignedBuilder", res == 0); - :message: "slaveDelay - :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L148` +.. error:: 13524 -.. error:: 13438 + :message: "out of memory AlignedBuilder" + :severity: Info + :module: :source:`src/mongo/util/alignedbuilder.cpp#L109` - :message: "bad - :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L149` +.. line: uassert( 13529 , "sparse only works for single field keys" , ! _sparse || _nFields ); -.. error:: 13439 +.. error:: 13529 - :message: "priority + :message: "sparse only works for single field keys" :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L150` + :module: :source:`src/mongo/db/indexkey.cpp#L82` -.. error:: 13476 +.. line: uasserted(13530, "bad or malformed command request?"); + +.. error:: 13530 - :message: "buildIndexes + :message: "bad or malformed command request?" :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L276` + :module: :source:`src/mongo/db/ops/query.cpp#L937` -.. error:: 13477 +.. line: uasserted(13531, str::stream() << "unexpected files in journal directory " << dir.string() << " : " << fileName); + +.. error:: 13531 - :message: "priority + :message: str::stream() << "unexpected files in journal directory " << dir.string() << " : " << fileName); :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L151` + :module: :source:`src/mongo/db/dur_recover.cpp#L79` -.. error:: 13510 +.. line: uasserted(13532, - :message: "arbiterOnly +.. error:: 13532 + + :message: :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L282` + :module: :source:`src/mongo/db/dur_recover.cpp#L86` -.. error:: 13612 +.. line: massert(13533, "problem processing journal file during recovery", _lastDbName[len] == '\0'); - :message: "replSet - :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L332` +.. error:: 13533 -.. error:: 13613 + :message: "problem processing journal file during recovery" + :severity: Info + :module: :source:`src/mongo/db/dur_recover.cpp#L162` - :message: "replSet - :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L333` +.. line: uasserted(13535, "recover abrupt journal file end"); -.. error:: 13645 +.. error:: 13535 - :message: "hosts + :message: "recover abrupt journal file end" :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L266` + :module: :source:`src/mongo/db/dur_recover.cpp#L467` -.. error:: 14046 +.. line: uasserted(13536, str::stream() << "journal version number mismatch " << h._version); + +.. error:: 13536 - :message: "getLastErrorMode + :message: str::stream() << "journal version number mismatch " << h._version); :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L382` + :module: :source:`src/mongo/db/dur_recover.cpp#L394` -.. error:: 14827 +.. line: uassert(13537, - :message: "arbiters +.. error:: 13537 + + :message: :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L524` + :module: :source:`src/mongo/db/dur_recover.cpp#L385` -.. error:: 14828 +.. line: // help the assert# control uasserted( 13538 , s.c_str() ); - :message: str::stream() +.. error:: 13538 + + :message: s.c_str() ); :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L394` + :module: :source:`src/mongo/util/processinfo_linux2.cpp#L48` -.. error:: 14829 +.. line: uassert( 13542 , str::stream() << "collection doesn't have a key: " << collectionDoc , ! e.eoo() && e.isABSONObj() ); - :message: "getLastErrorMode +.. error:: 13542 + + :message: str::stream() << "collection doesn't have a key: " << collectionDoc , ! e.eoo() && e.isABSONObj() ); :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L389` + :module: :source:`src/mongo/s/d_chunk_manager.cpp#L183` -.. error:: 14831 +.. line: massert(13544, str::stream() << "recover error couldn't open " << journalfile.string(), p); - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/repl/rs_config.cpp#L399` +.. error:: 13544 -.. error:: 13404 + :message: str::stream() << "recover error couldn't open " << journalfile.string(), p); + :severity: Info + :module: :source:`src/mongo/db/dur_recover.cpp#L449` - :message: m); +.. line: uasserted(13545, str::stream() << "--durOptions " << (int) CmdLine::DurScanOnly << " (scan only) specified"); + +.. error:: 13545 + + :message: str::stream() << "--durOptions " << (int) CmdLine::DurScanOnly << " (scan only) specified"); :throws: UserException - :module: :source:`src/mongo/db/repl/rs_initialsync.cpp#L44` + :module: :source:`src/mongo/db/dur_recover.cpp#L474` -.. error:: 16233 +.. line: massert(13546, (str::stream() << "journal recover: unrecognized opcode in journal " << opcode), false); - :message: - :severity: Abort - :module: :source:`src/mongo/db/repl/rs_initialsync.cpp#L66` +.. error:: 13546 -.. error:: 13144 + :message: (str::stream() << "journal recover: unrecognized opcode in journal " << opcode), false); + :severity: Info + :module: :source:`src/mongo/db/durop.cpp#L53` - :message: msg); - :throws: UserException - :module: :source:`src/mongo/db/repl/rs_initiate.cpp#L130` +.. line: massert(13547, str::stream() << "recover couldn't create file " << full, f.is_open()); -.. error:: 13145 +.. error:: 13547 - :message: "set - :throws: UserException - :module: :source:`src/mongo/db/repl/rs_initiate.cpp#L93` + :message: str::stream() << "recover couldn't create file " << full, f.is_open()); + :severity: Info + :module: :source:`src/mongo/db/durop.cpp#L144` -.. error:: 13256 +.. line: uassert(13584, "out of memory AlignedBuilder", _p._allocationAddress); - :message: "member +.. error:: 13584 + + :message: "out of memory AlignedBuilder" :throws: UserException - :module: :source:`src/mongo/db/repl/rs_initiate.cpp#L97` + :module: :source:`src/mongo/util/alignedbuilder.cpp#L27` -.. error:: 13259 +.. line: uasserted( 13585 , str::stream() << "version " << version.toString() << " not greater than " << _version.toString() ); - :message: ss.str()); +.. error:: 13585 + + :message: str::stream() << "version " << version.toString() << " not greater than " << _version.toString() ); :throws: UserException - :module: :source:`src/mongo/db/repl/rs_initiate.cpp#L83` + :module: :source:`src/mongo/s/d_chunk_manager.cpp#L344` -.. error:: 13278 +.. line: uasserted( 13586 , str::stream() << "couldn't find chunk " << min << "->" << max ); + +.. error:: 13586 - :message: "bad + :message: str::stream() << "couldn't find chunk " << min << "->" << max ); :throws: UserException - :module: :source:`src/mongo/db/repl/rs_initiate.cpp#L58` + :module: :source:`src/mongo/s/d_chunk_manager.cpp#L312` -.. error:: 13279 +.. line: uasserted( 13587 , os.str() ); - :message: ss.str()); +.. error:: 13587 + + :message: os.str() ); :throws: UserException - :module: :source:`src/mongo/db/repl/rs_initiate.cpp#L64` + :module: :source:`src/mongo/s/d_chunk_manager.cpp#L320` -.. error:: 13311 +.. line: uasserted( 13588 , os.str() ); + +.. error:: 13588 - :message: "member + :message: os.str() ); :throws: UserException - :module: :source:`src/mongo/db/repl/rs_initiate.cpp#L136` + :module: :source:`src/mongo/s/d_chunk_manager.cpp#L380` -.. error:: 13341 +.. line: uassert( 13590 , str::stream() << "setting version to " << version.toString() << " on removing last chunk", ! version.isSet() ); + +.. error:: 13590 - :message: "member + :message: str::stream() << "setting version to " << version.toString() << " on removing last chunk", ! version.isSet() ); :throws: UserException - :module: :source:`src/mongo/db/repl/rs_initiate.cpp#L102` + :module: :source:`src/mongo/s/d_chunk_manager.cpp#L334` -.. error:: 13420 +.. line: uassert( 13591 , "version can't be set to zero" , version.isSet() ); - :message: "initiation +.. error:: 13591 + + :message: "version can't be set to zero" :throws: UserException - :module: :source:`src/mongo/db/repl/rs_initiate.cpp#L51` + :module: :source:`src/mongo/s/d_chunk_manager.cpp#L366` -.. error:: 13410 +.. line: msgasserted(13594, "journal checksum doesn't match"); - :message: "replSet - :throws: UserException - :module: :source:`src/mongo/db/repl/rs_rollback.cpp#L344` +.. error:: 13594 -.. error:: 13423 + :message: "journal checksum doesn't match" + :severity: Info + :module: :source:`src/mongo/db/dur_recover.cpp#L358` - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/db/repl/rs_rollback.cpp#L454` +.. line: uassert( 13596 , str::stream() << "cannot change _id of a document old:" << objOld << " new:" << objNew , ! changedId ); -.. error:: 15909 +.. error:: 13596 - :message: str::stream() + :message: str::stream() << "cannot change _id of a document old:" << objOld << " new:" << objNew , ! changedId ); :throws: UserException - :module: :source:`src/mongo/db/repl/rs_rollback.cpp#L397` + :module: :source:`src/mongo/db/pdfile.cpp#L1075` -.. error:: 12000 +.. line: uasserted(13597, "can't start without --journal enabled when journal/ files are present"); - :message: "rs +.. error:: 13597 + + :message: "can't start without --journal enabled when journal/ files are present" :throws: UserException - :module: :source:`src/mongo/db/repl/rs_sync.cpp#L442` + :module: :source:`src/mongo/db/instance.cpp#L1213` -.. error:: 15915 +.. line: uassert( 13598 , str::stream() << "couldn't compile code for: " << _type , _func ); - :message: - :severity: Abort - :module: :source:`src/mongo/db/repl/rs_sync.cpp#L138` +.. error:: 13598 -.. error:: 16113 + :message: str::stream() << "couldn't compile code for: " << _type , _func ); + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L54` - :message: - :severity: Abort - :module: :source:`src/mongo/db/repl/rs_sync.cpp#L624` +.. line: massert(13599, "Written data does not match in-memory view. Missing WriteIntent?", false); -.. error:: 16359 +.. error:: 13599 - :message: - :severity: Abort - :module: :source:`src/mongo/db/repl/rs_sync.cpp#L114` + :message: "Written data does not match in-memory view. Missing WriteIntent?" + :severity: Info + :module: :source:`src/mongo/db/dur.cpp#L424` -.. error:: 16360 +.. line: /*uassert(13600, + +.. error:: 13600 :message: - :severity: Abort - :module: :source:`src/mongo/db/repl/rs_sync.cpp#L118` + :throws: UserException + :module: :source:`src/mongo/util/paths.h#L59` -.. error:: 16361 +.. line: uassert( 13602 , "outType is no longer a valid option" , cmdObj["outType"].eoo() ); - :message: - :severity: Abort - :module: :source:`src/mongo/db/repl/rs_sync.cpp#L154` +.. error:: 13602 -.. error:: 16397 + :message: "outType is no longer a valid option" + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L234` - :message: - :severity: Abort - :module: :source:`src/mongo/db/repl/rs_sync.cpp#L177` +.. line: uassert( 13604 , "too much data for in memory map/reduce" , _size < BSONObjMaxUserSize ); -.. error:: 14830 +.. error:: 13604 - :message: str::stream() + :message: "too much data for in memory map/reduce" :throws: UserException - :module: :source:`src/mongo/db/repl_block.cpp#L164` + :module: :source:`src/mongo/db/commands/mr.cpp#L430` -.. error:: 16250 +.. line: uasserted( 13606 , "'out' has to be a string or an object" ); + +.. error:: 13606 - :message: "w + :message: "'out' has to be a string or an object" :throws: UserException - :module: :source:`src/mongo/db/repl_block.cpp#L150` + :module: :source:`src/mongo/db/commands/mr.cpp#L276` -.. error:: 10107 +.. line: uassert( 13608 , "query has to be blank or an Object" , ! q.trueValue() ); + +.. error:: 13608 - :message: "not + :message: "query has to be blank or an Object" :throws: UserException - :module: :source:`src/mongo/db/replutil.h#L82` + :module: :source:`src/mongo/db/commands/mr.cpp#L316` -.. error:: 13085 +.. line: uassert( 13609 , "sort has to be blank or an Object" , ! s.trueValue() ); - :message: "query +.. error:: 13609 + + :message: "sort has to be blank or an Object" :throws: UserException - :module: :source:`src/mongo/db/restapi.cpp#L150` + :module: :source:`src/mongo/db/commands/mr.cpp#L323` -.. error:: 16172 +.. line: massert( 13610 , "ConfigChangeHook already specified" , _hook == 0 ); - :message: "couldn't - :throws: UserException - :module: :source:`src/mongo/db/restapi.cpp#L241` +.. error:: 13610 -.. error:: 16173 + :message: "ConfigChangeHook already specified" + :severity: Info + :module: :source:`src/mongo/client/dbclient_rs.cpp#L345` - :message: "couldn't - :throws: UserException - :module: :source:`src/mongo/db/restapi.cpp#L254` +.. line: uasserted(13611, str::stream() << "can't read lsn file in journal directory : " << e.what()); -.. error:: 16174 +.. error:: 13611 - :message: "couldn't + :message: str::stream() << "can't read lsn file in journal directory : " << e.what()); :throws: UserException - :module: :source:`src/mongo/db/restapi.cpp#L263` + :module: :source:`src/mongo/db/dur_journal.cpp#L563` -.. error:: 15925 +.. line: uassert(13612, "replSet bad config maximum number of voting members is 7", voters <= 7); - :message: "cannot - :throws: UserException - :module: :source:`src/mongo/db/scanandorder.cpp#L39` +.. error:: 13612 -.. error:: 16355 + :message: "replSet bad config maximum number of voting members is 7" + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L332` - :message: "positional - :severity: Info - :module: :source:`src/mongo/db/scanandorder.cpp#L78` +.. line: uassert(13613, "replSet bad config no voting members", voters > 0); -.. error:: 15889 +.. error:: 13613 - :message: "key + :message: "replSet bad config no voting members" :throws: UserException - :module: :source:`src/mongo/db/security.cpp#L120` - -.. error:: 16232 + :module: :source:`src/mongo/db/repl/rs_config.cpp#L333` - :message: - :severity: Abort - :module: :source:`src/mongo/db/security.cpp#L35` +.. line: uassert(13614, str::stream() << "unexpected version number of lsn file in journal/ directory got: " << ver , ver == 0); -.. error:: 12528 +.. error:: 13614 - :message: (string)"should + :message: str::stream() << "unexpected version number of lsn file in journal/ directory got: " << ver , ver == 0); :throws: UserException - :module: :source:`src/mongo/dbtests/jsobjtests.cpp#L2026` + :module: :source:`src/mongo/db/dur_journal.cpp#L530` -.. error:: 12529 +.. line: massert( 13615 , "JS allocation failed, either memory leak or using too much memory" , newthing ) - :message: (string)"should - :throws: UserException - :module: :source:`src/mongo/dbtests/jsobjtests.cpp#L2033` +.. error:: 13615 -.. error:: 13258 + :message: "JS allocation failed, either memory leak or using too much memory" + :severity: Info + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L44` - :message: "oids - :throws: UserException - :module: :source:`src/mongo/s/balance.cpp#L334` +.. line: massert(13616, "can't disable durability with pending writes", !commitJob.hasWritten()); -.. error:: 16356 +.. error:: 13616 - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/s/balance.cpp#L236` + :message: "can't disable durability with pending writes" + :severity: Info + :module: :source:`src/mongo/db/dur.cpp#L200` -.. error:: 10163 +.. line: massert(13617, "MongoFile : multiple opens of same filename", ptf == 0); - :message: "can - :throws: UserException - :module: :source:`src/mongo/s/chunk.cpp#L129` +.. error:: 13617 -.. error:: 10165 + :message: "MongoFile : multiple opens of same filename" + :severity: Info + :module: :source:`src/mongo/util/mmap.cpp#L198` - :message: "can't - :throws: UserException - :module: :source:`src/mongo/s/chunk.cpp#L267` +.. line: uasserted(13618, "can't start without --journal enabled when journal/ files are present"); -.. error:: 10167 +.. error:: 13618 - :message: "can't + :message: "can't start without --journal enabled when journal/ files are present" :throws: UserException - :module: :source:`src/mongo/s/chunk.cpp#L305` - -.. error:: 10169 + :module: :source:`src/mongo/db/instance.cpp#L1238` - :message: "datasize - :throws: UserException - :module: :source:`src/mongo/s/chunk.cpp#L454` +.. line: uassert( 13619, "fuzzFile takes 2 arguments", args.nFields() == 2 ); -.. error:: 10170 +.. error:: 13619 - :message: "Chunk + :message: "fuzzFile takes 2 arguments" :throws: UserException - :module: :source:`src/mongo/s/chunk.cpp#L71` + :module: :source:`src/mongo/shell/shell_utils_extended.cpp#L189` -.. error:: 10171 +.. line: uassert( 13620, "couldn't open file to fuzz", !f->bad() && f->is_open() ); + +.. error:: 13620 - :message: "Chunk + :message: "couldn't open file to fuzz" :throws: UserException - :module: :source:`src/mongo/s/chunk.cpp#L74` + :module: :source:`src/mongo/shell/shell_utils_extended.cpp#L192` -.. error:: 10172 +.. line: massert(13622, "Trying to write past end of file in WRITETODATAFILES", _recovering); - :message: "Chunk - :throws: UserException - :module: :source:`src/mongo/s/chunk.cpp#L76` +.. error:: 13622 -.. error:: 10173 + :message: "Trying to write past end of file in WRITETODATAFILES" + :severity: Info + :module: :source:`src/mongo/db/dur_recover.cpp#L255` - :message: "Chunk - :throws: UserException - :module: :source:`src/mongo/s/chunk.cpp#L77` +.. line: uassert( 13625, "Unable to truncate lock file", _chsize(lockFile, 0) == 0); -.. error:: 10174 +.. error:: 13625 - :message: "config + :message: "Unable to truncate lock file" :throws: UserException - :module: :source:`src/mongo/s/chunk.cpp#L1199` - -.. error:: 10412 + :module: :source:`src/mongo/db/instance.cpp#L1217` - :message: , - :severity: Info - :module: :source:`src/mongo/s/chunk.cpp#L423` +.. line: uasserted( 13627 , str::stream() << "Unable to create/open lock file: " << name << ' ' << m << ". Is a mongod instance already running?" ); -.. error:: 13003 +.. error:: 13627 - :message: "can't + :message: str::stream() << "Unable to create/open lock file: " << name << ' ' << m << ". Is a mongod instance already running?" ); :throws: UserException - :module: :source:`src/mongo/s/chunk.cpp#L270` - -.. error:: 13141 + :module: :source:`src/mongo/db/instance.cpp#L1126` - :message: "Chunk - :severity: Info - :module: :source:`src/mongo/s/chunk.cpp#L1056` +.. line: massert(13628, str::stream() << "recover failure writing file " << full, !f.bad() ); -.. error:: 13282 +.. error:: 13628 - :message: "Couldn't + :message: str::stream() << "recover failure writing file " << full, !f.bad() ); :severity: Info - :module: :source:`src/mongo/s/chunk.cpp#L676` + :module: :source:`src/mongo/db/durop.cpp#L158` -.. error:: 13327 +.. line: uassert( 13629 , "can't have undefined in a query expression" , e.type() != Undefined ); + +.. error:: 13629 - :message: "Chunk + :message: "can't have undefined in a query expression" :throws: UserException - :module: :source:`src/mongo/s/chunk.cpp#L72` + :module: :source:`src/mongo/db/matcher.cpp#L438` -.. error:: 13331 +.. line: uasserted( 13630 , str::stream() << "userCreateNS failed for mr tempLong ns: " << _config.tempLong << " err: " << errmsg ); + +.. error:: 13630 - :message: "collection's + :message: str::stream() << "userCreateNS failed for mr tempLong ns: " << _config.tempLong << " err: " << errmsg ); :throws: UserException - :module: :source:`src/mongo/s/chunk.cpp#L1197` + :module: :source:`src/mongo/db/commands/mr.cpp#L360` -.. error:: 13332 +.. line: uasserted( 13631 , str::stream() << "userCreateNS failed for mr incLong ns: " << _config.incLong << " err: " << err ); + +.. error:: 13631 - :message: "need + :message: str::stream() << "userCreateNS failed for mr incLong ns: " << _config.incLong << " err: " << err ); :throws: UserException - :module: :source:`src/mongo/s/chunk.cpp#L268` + :module: :source:`src/mongo/db/commands/mr.cpp#L346` -.. error:: 13333 +.. line: massert( 13632 , "couldn't get updated shard list from config server" , c.get() ); - :message: "can't - :throws: UserException - :module: :source:`src/mongo/s/chunk.cpp#L269` +.. error:: 13632 -.. error:: 13345 + :message: "couldn't get updated shard list from config server" + :severity: Info + :module: :source:`src/mongo/s/shard.cpp#L44` - :message: os.str() - :throws: UserException - :module: :source:`src/mongo/s/chunk.cpp#L192` +.. line: massert( 13633 , str::stream() << "error querying server: " << server , cursor.get() ); -.. error:: 13405 +.. error:: 13633 - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/s/chunk.cpp#L1136` + :message: str::stream() << "error querying server: " << server , cursor.get() ); + :severity: Info + :module: :source:`src/mongo/client/parallel.cpp#L144` -.. error:: 13406 +.. line: uasserted( 13639 , str::stream() << "can't connect to new replica set master [" << _masterHost.toString() << "] err: " << errmsg ); - :message: str::stream() +.. error:: 13639 + + :message: str::stream() << "can't connect to new replica set master [" << _masterHost.toString() << "] err: " << errmsg ); :throws: UserException - :module: :source:`src/mongo/s/chunk.cpp#L1137` + :module: :source:`src/mongo/client/dbclient_rs.cpp#L1302` -.. error:: 13449 +.. line: massert(13640, str::stream() << "DataFileHeader looks corrupt at file open filelength:" << filelength << " fileno:" << fileno, false); - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/s/chunk.cpp#L997` +.. error:: 13640 -.. error:: 13501 + :message: str::stream() << "DataFileHeader looks corrupt at file open filelength:" << filelength << " fileno:" << fileno, false); + :severity: Info + :module: :source:`src/mongo/db/pdfile.h#L437` - :message: "use - :throws: UserException - :module: :source:`src/mongo/s/chunk.cpp#L1082` +.. line: uassert( 13641 , str::stream() << "can't parse host [" << conn.getServerAddress() << "]" , cs.isValid() ); -.. error:: 13502 +.. error:: 13641 - :message: "unrecognized + :message: str::stream() << "can't parse host [" << conn.getServerAddress() << "]" , cs.isValid() ); :throws: UserException - :module: :source:`src/mongo/s/chunk.cpp#L1089` + :module: :source:`src/mongo/s/writeback_listener.cpp#L69` -.. error:: 13503 +.. line: uassert( 13642 , "need at least 1 node for a replica set" , servers.size() > 0 ); - :message: os.str() +.. error:: 13642 + + :message: "need at least 1 node for a replica set" :throws: UserException - :module: :source:`src/mongo/s/chunk.cpp#L162` + :module: :source:`src/mongo/client/dbclient_rs.cpp#L232` -.. error:: 13507 +.. line: massert( 13643 , mongoutils::str::stream() << "backgroundjob already started: " << name() , status->state == NotStarted ); - :message: str::stream() +.. error:: 13643 + + :message: mongoutils::str::stream() << "backgroundjob already started: " << name() , status->state == NotStarted ); :severity: Info - :module: :source:`src/mongo/s/chunk.cpp#L1143` + :module: :source:`src/mongo/util/background.cpp#L55` -.. error:: 14022 +.. line: uassert( 13644 , "can't use 'local' database through mongos" , ! str::startsWith( getns() , "local." ) ); - :message: str::stream() +.. error:: 13644 + + :message: "can't use 'local' database through mongos" :throws: UserException - :module: :source:`src/mongo/s/chunk.cpp#L1194` + :module: :source:`src/mongo/s/request.cpp#L80` -.. error:: 15903 +.. line: uasserted(13645, "hosts cannot switch between localhost and hostname"); - :message: ss - :severity: Info - :module: :source:`src/mongo/s/chunk.cpp#L1023` +.. error:: 13645 -.. error:: 16068 + :message: "hosts cannot switch between localhost and hostname" + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L266` - :message: "no - :severity: Info - :module: :source:`src/mongo/s/chunk.cpp#L1128` +.. line: uasserted(13646, str::stream() << "stat() failed for file: " << path << " " << errnoWithDescription()); -.. error:: 16338 +.. error:: 13646 - :message: ss.str() + :message: str::stream() << "stat() failed for file: " << path << " " << errnoWithDescription()); :throws: UserException - :module: :source:`src/mongo/s/chunk.cpp#L1234` + :module: :source:`src/mongo/util/paths.h#L88` -.. error:: 8070 +.. line: massert( 13647 , str::stream() << "context should be empty here, is: " << cc().getContext()->ns() , cc().getContext() == 0 ); - :message: , - :severity: Info - :module: :source:`src/mongo/s/chunk.cpp#L1060` +.. error:: 13647 -.. error:: 8071 + :message: str::stream() << "context should be empty here, is: " << cc().getContext()->ns() , cc().getContext() == 0 ); + :severity: Info + :module: :source:`src/mongo/s/d_state.cpp#L592` - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/s/chunk.cpp#L1256` +.. line: uassert( 13648 , str::stream() << "can't shard collection because not all config servers are up" , configServer.allUp() ); -.. error:: 13134 +.. error:: 13648 - :message: ss.str() + :message: str::stream() << "can't shard collection because not all config servers are up" , configServer.allUp() ); :throws: UserException - :module: :source:`src/mongo/s/client_info.cpp#L60` + :module: :source:`src/mongo/s/config.cpp#L167` -.. error:: 10420 +.. line: uassert(13649, "no operation yet", le); - :message: "how - :severity: Info - :module: :source:`src/mongo/s/commands_public.cpp#L846` +.. error:: 13649 -.. error:: 12594 + :message: "no operation yet" + :throws: UserException + :module: :source:`src/mongo/db/lasterror.cpp#L93` - :message: "how - :severity: Info - :module: :source:`src/mongo/s/commands_public.cpp#L579` +.. line: massert(13650, str::stream() << "Couldn't open directory '" << dir.string() << "' for flushing: " << errnoWithDescription(), fd >= 0); -.. error:: 13002 +.. error:: 13650 - :message: "shard + :message: str::stream() << "Couldn't open directory '" << dir.string() << "' for flushing: " << errnoWithDescription(), fd >= 0); :severity: Info - :module: :source:`src/mongo/s/commands_public.cpp#L704` + :module: :source:`src/mongo/util/paths.h#L116` -.. error:: 13091 +.. line: massert(13651, str::stream() << "Couldn't fsync directory '" << dir.string() << "': " << errnoWithDescription(e), false); + +.. error:: 13651 - :message: "how + :message: str::stream() << "Couldn't fsync directory '" << dir.string() << "': " << errnoWithDescription(e), false); :severity: Info - :module: :source:`src/mongo/s/commands_public.cpp#L911` + :module: :source:`src/mongo/util/paths.h#L120` -.. error:: 13137 +.. line: // massert(13652, str::stream() << "Couldn't find parent dir for file: " << file.string(), ); - :message: "Source - :throws: UserException - :module: :source:`src/mongo/s/commands_public.cpp#L444` +.. error:: 13652 -.. error:: 13138 + :message: str::stream() << "Couldn't find parent dir for file: " << file.string(), ); + :severity: Info + :module: :source:`src/mongo/util/paths.h#L104` - :message: "You - :throws: UserException - :module: :source:`src/mongo/s/commands_public.cpp#L438` +.. line: uassert( 13654, str::stream() << "location object expected, location array not in correct format", -.. error:: 13139 +.. error:: 13654 - :message: "You + :message: str::stream() << "location object expected, location array not in correct format", :throws: UserException - :module: :source:`src/mongo/s/commands_public.cpp#L439` + :module: :source:`src/mongo/db/geo/2d.cpp#L249` -.. error:: 13140 +.. line: massert( 13655 , msg.c_str(),false); - :message: "Don't - :throws: UserException - :module: :source:`src/mongo/s/commands_public.cpp#L437` +.. error:: 13655 -.. error:: 13343 + :message: msg.c_str(),false); + :severity: Info + :module: :source:`src/mongo/bson/bson-inl.h#L593` - :message: "query - :throws: UserException - :module: :source:`src/mongo/s/commands_public.cpp#L707` +.. line: uassert( 13656 , "the first field of $center object must be a location object" , center.isABSONObj() ); -.. error:: 13398 +.. error:: 13656 - :message: "cant + :message: "the first field of $center object must be a location object" :throws: UserException - :module: :source:`src/mongo/s/commands_public.cpp#L458` + :module: :source:`src/mongo/db/geo/2d.cpp#L2508` -.. error:: 13399 +.. line: massert( 13658 , str::stream() << "bad kill cursors size: " << m.dataSize() , m.dataSize() == 8 + ( 8 * n ) ); - :message: "need - :throws: UserException - :module: :source:`src/mongo/s/commands_public.cpp#L466` +.. error:: 13658 -.. error:: 13400 + :message: str::stream() << "bad kill cursors size: " << m.dataSize() , m.dataSize() == 8 + ( 8 * n ) ); + :severity: Info + :module: :source:`src/mongo/db/instance.cpp#L499` - :message: "don't - :throws: UserException - :module: :source:`src/mongo/s/commands_public.cpp#L469` +.. line: uassert( 13659 , "sent 0 cursors to kill" , n != 0 ); -.. error:: 13401 +.. error:: 13659 - :message: "cant + :message: "sent 0 cursors to kill" :throws: UserException - :module: :source:`src/mongo/s/commands_public.cpp#L470` - -.. error:: 13402 + :module: :source:`src/mongo/db/instance.cpp#L498` - :message: "need - :throws: UserException - :module: :source:`src/mongo/s/commands_public.cpp#L455` +.. line: massert( 13660, str::stream() << "namespace " << ns << " does not exist", d ); -.. error:: 13407 +.. error:: 13660 - :message: "how + :message: str::stream() << "namespace " << ns << " does not exist", d ); :severity: Info - :module: :source:`src/mongo/s/commands_public.cpp#L747` - -.. error:: 13408 + :module: :source:`src/mongo/db/compact.cpp#L316` - :message: "keyPattern - :throws: UserException - :module: :source:`src/mongo/s/commands_public.cpp#L753` +.. line: massert( 13661, "cannot compact capped collection", !d->isCapped() ); -.. error:: 13500 +.. error:: 13661 - :message: "how + :message: "cannot compact capped collection" :severity: Info - :module: :source:`src/mongo/s/commands_public.cpp#L1016` + :module: :source:`src/mongo/db/compact.cpp#L317` -.. error:: 15920 +.. line: uassert(13678, str::stream() << "Could not communicate with server " << server.toString() << " in cluster " << cluster.toString() << " to change skew by " << *i, success ); + +.. error:: 13678 - :message: "Cannot + :message: str::stream() << "Could not communicate with server " << server.toString() << " in cluster " << cluster.toString() << " to change skew by " << *i, success ); :throws: UserException - :module: :source:`src/mongo/s/commands_public.cpp#L1214` + :module: :source:`src/mongo/client/distlock_test.cpp#L386` -.. error:: 16246 +.. line: uassert( 14022, str::stream() << "Error locking distributed lock for chunk drop." << causedBy( e ), false); + +.. error:: 14022 - :message: "Shard + :message: str::stream() << "Error locking distributed lock for chunk drop." << causedBy( e ), false); :throws: UserException - :module: :source:`src/mongo/s/commands_public.cpp#L975` + :module: :source:`src/mongo/s/chunk.cpp#L1194` -.. error:: 16260 +.. line: uassert( 14023, str::stream() << "remote time in cluster " << _conn.toString() << " is now skewed, cannot force lock.", !isRemoteTimeSkewed() ); - :message: "skip +.. error:: 14023 + + :message: str::stream() << "remote time in cluster " << _conn.toString() << " is now skewed, cannot force lock.", !isRemoteTimeSkewed() ); :throws: UserException - :module: :source:`src/mongo/s/commands_public.cpp#L518` + :module: :source:`src/mongo/client/distlock.cpp#L617` -.. error:: 10178 +.. line: uassert(14024, "compact error out of space during compaction", !loc.isNull()); + +.. error:: 14024 - :message: "no + :message: "compact error out of space during compaction" :throws: UserException - :module: :source:`src/mongo/s/config.cpp#L147` + :module: :source:`src/mongo/db/compact.cpp#L115` -.. error:: 10181 +.. line: uassert(14025, "compact error no space available to allocate", !allocateSpaceForANewRecord(ns, d, Record::HeaderSize+1, false).isNull()); + +.. error:: 14025 - :message: (string)"not + :message: "compact error no space available to allocate" :throws: UserException - :module: :source:`src/mongo/s/config.cpp#L310` + :module: :source:`src/mongo/db/compact.cpp#L247` -.. error:: 10184 +.. line: uasserted(14026, + +.. error:: 14026 - :message: "_dropShardedCollections + :message: :throws: UserException - :module: :source:`src/mongo/s/config.cpp#L677` + :module: :source:`src/mongo/db/db.cpp#L307` -.. error:: 10187 - - :message: "need - :throws: UserException - :module: :source:`src/mongo/s/config.cpp#L722` - -.. error:: 10189 - - :message: "should - :throws: UserException - :module: :source:`src/mongo/s/config.cpp#L897` - -.. error:: 13396 - - :message: (string)"DBConfig - :throws: UserException - :module: :source:`src/mongo/s/config.cpp#L521` - -.. error:: 13473 +.. line: massert( 14027, "can't compact a system namespace", !str::contains(ns, ".system.") ); // items in system.indexes cannot be moved there are pointers to those disklocs in NamespaceDetails - :message: (string)"failed - :throws: UserException - :module: :source:`src/mongo/s/config.cpp#L110` - -.. error:: 13509 +.. error:: 14027 - :message: "can't - :throws: UserException - :module: :source:`src/mongo/s/config.cpp#L454` + :message: "can't compact a system namespace" + :severity: Info + :module: :source:`src/mongo/db/compact.cpp#L308` -.. error:: 13648 +.. line: massert( 14028, "bad ns", NamespaceString::normal(ns.c_str()) ); - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/s/config.cpp#L167` +.. error:: 14028 -.. error:: 14822 + :message: "bad ns" + :severity: Info + :module: :source:`src/mongo/db/compact.cpp#L307` - :message: (string)"state - :throws: UserException - :module: :source:`src/mongo/s/config.cpp#L394` +.. line: uassert( 14029 , "$polygon has to take an object or array" , e.isABSONObj() ); -.. error:: 15883 +.. error:: 14029 - :message: str::stream() + :message: "$polygon has to take an object or array" :throws: UserException - :module: :source:`src/mongo/s/config.cpp#L426` - -.. error:: 15885 + :module: :source:`src/mongo/db/geo/2d.cpp#L2852` - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/s/config.cpp#L341` +.. line: uassert( 14030, "polygon must be defined by three points or more", _poly.size() >= 3 ); -.. error:: 8042 +.. error:: 14030 - :message: "db + :message: "polygon must be defined by three points or more" :throws: UserException - :module: :source:`src/mongo/s/config.cpp#L166` - -.. error:: 8043 + :module: :source:`src/mongo/db/geo/2d.cpp#L2716` - :message: "collection - :throws: UserException - :module: :source:`src/mongo/s/config.cpp#L175` +.. line: uassert(14031, "Can't take a write lock while out of disk space", false); -.. error:: 10190 +.. error:: 14031 - :message: "ConfigServer + :message: "Can't take a write lock while out of disk space" :throws: UserException - :module: :source:`src/mongo/s/config.h#L220` + :module: :source:`src/mongo/db/client.cpp#L302` -.. error:: 8041 +.. line: massert( 14032, "Invalid 'ts' in remote log", ts.type() == Date || ts.type() == Timestamp ); - :message: (string)"no - :throws: UserException - :module: :source:`src/mongo/s/config.h#L163` +.. error:: 14032 -.. error:: 10191 + :message: "Invalid 'ts' in remote log" + :severity: Info + :module: :source:`src/mongo/db/repl.cpp#L570` - :message: "cursor - :throws: UserException - :module: :source:`src/mongo/s/cursors.cpp#L91` +.. line: massert( 14033, "Unable to get database list", ok ); -.. error:: 13286 +.. error:: 14033 - :message: "sent - :throws: UserException - :module: :source:`src/mongo/s/cursors.cpp#L239` + :message: "Unable to get database list" + :severity: Info + :module: :source:`src/mongo/db/repl.cpp#L576` -.. error:: 13287 +.. line: massert( 14034, "Duplicate database names present after attempting to delete duplicates", - :message: "too - :throws: UserException - :module: :source:`src/mongo/s/cursors.cpp#L240` +.. error:: 14034 -.. error:: 13542 + :message: "Duplicate database names present after attempting to delete duplicates" + :severity: Info + :module: :source:`src/mongo/db/repl.cpp#L618` - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/s/d_chunk_manager.cpp#L183` +.. line: uassert(14035, errnoWithPrefix("couldn't write to file"), ret); -.. error:: 13585 +.. error:: 14035 - :message: str::stream() + :message: errnoWithPrefix("couldn't write to file"), ret); :throws: UserException - :module: :source:`src/mongo/s/d_chunk_manager.cpp#L344` + :module: :source:`src/mongo/tools/dump.cpp#L78` -.. error:: 13586 +.. line: massert(14036, errnoWithPrefix("couldn't write to log file"), - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/s/d_chunk_manager.cpp#L312` +.. error:: 14036 -.. error:: 13587 + :message: errnoWithPrefix("couldn't write to log file"), + :severity: Info + :module: :source:`src/mongo/util/log.cpp#L112` - :message: os.str() - :throws: UserException - :module: :source:`src/mongo/s/d_chunk_manager.cpp#L320` +.. line: uasserted(14037, "can't create user databases on a --configsvr instance"); -.. error:: 13588 +.. error:: 14037 - :message: os.str() + :message: "can't create user databases on a --configsvr instance" :throws: UserException - :module: :source:`src/mongo/s/d_chunk_manager.cpp#L380` + :module: :source:`src/mongo/db/pdfile.cpp#L234` -.. error:: 13590 +.. line: massert( 14038, "invalid _findingStartMode", false ); - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/s/d_chunk_manager.cpp#L334` +.. error:: 14038 -.. error:: 13591 + :message: "invalid _findingStartMode" + :severity: Info + :module: :source:`src/mongo/db/oplog.cpp#L474` - :message: "version - :throws: UserException - :module: :source:`src/mongo/s/d_chunk_manager.cpp#L366` +.. line: uasserted( 14039 , str::stream() << "version " << version.toString() << " not greater than " << _version.toString() ); .. error:: 14039 - :message: str::stream() + :message: str::stream() << "version " << version.toString() << " not greater than " << _version.toString() ); :throws: UserException :module: :source:`src/mongo/s/d_chunk_manager.cpp#L407` +.. line: uasserted( 14040 , str::stream() << "can split " << min << " -> " << max << " on " << *it ); + .. error:: 14040 - :message: str::stream() + :message: str::stream() << "can split " << min << " -> " << max << " on " << *it ); :throws: UserException :module: :source:`src/mongo/s/d_chunk_manager.cpp#L414` -.. error:: 16181 - - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/s/d_chunk_manager.cpp#L128` +.. line: uassert(14042, ss.str(), success); -.. error:: 16229 +.. error:: 14042 - :message: , + :message: ss.str(), success); :throws: UserException - :module: :source:`src/mongo/s/d_chunk_manager.cpp#L161` + :module: :source:`src/mongo/shell/shell_utils_launcher.cpp#L376` -.. error:: 10422 +.. line: massert(14045, "missing Extra", e); - :message: "write +.. error:: 14045 + + :message: "missing Extra" :severity: Info - :module: :source:`src/mongo/s/d_logic.cpp#L110` + :module: :source:`src/mongo/db/namespace_details-inl.h#L34` -.. error:: 9517 +.. line: uassert(14046, "getLastErrorMode rules must be objects", rule.type() == mongo::Object); - :message: "writeback" - :throws: UserException - :module: :source:`src/mongo/s/d_logic.cpp#L104` +.. error:: 14046 -.. error:: 13593 + :message: "getLastErrorMode rules must be objects" + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_config.cpp#L382` - :message: ss.str() - :severity: Info - :module: :source:`src/mongo/s/d_split.cpp#L718` +.. line: massert( 14048, "FieldRangeSetPair invalid index specified", idxNo >= 0 && idxNo < d->nIndexes ); -.. error:: 13298 +.. error:: 14048 - :message: ss.str() + :message: "FieldRangeSetPair invalid index specified" :severity: Info - :module: :source:`src/mongo/s/d_state.cpp#L79` - -.. error:: 13299 + :module: :source:`src/mongo/db/queryutil.cpp#L1348` - :message: ss.str() - :severity: Info - :module: :source:`src/mongo/s/d_state.cpp#L101` +.. line: massert( 14049, "FieldRangeSetPair invalid index specified", idxNo >= -1 ); -.. error:: 13647 +.. error:: 14049 - :message: str::stream() + :message: "FieldRangeSetPair invalid index specified" :severity: Info - :module: :source:`src/mongo/s/d_state.cpp#L592` - -.. error:: 10185 + :module: :source:`src/mongo/db/queryutil-inl.h#L138` - :message: "can't - :throws: UserException - :module: :source:`src/mongo/s/grid.cpp#L118` +.. line: uassert( 14050 , "List1: item to orphan not in list", n ); -.. error:: 10186 +.. error:: 14050 - :message: "removeDB + :message: "List1: item to orphan not in list" :throws: UserException - :module: :source:`src/mongo/s/grid.cpp#L138` - -.. error:: 10421 + :module: :source:`src/mongo/util/concurrency/list.h#L84` - :message: , - :severity: Info - :module: :source:`src/mongo/s/grid.cpp#L540` +.. line: uassert( 14051 , "system.users entry needs 'user' field to be a string" , t["user"].type() == String ); -.. error:: 15918 +.. error:: 14051 - :message: , + :message: "system.users entry needs 'user' field to be a string" :throws: UserException - :module: :source:`src/mongo/s/grid.cpp#L44` + :module: :source:`src/mongo/db/pdfile.cpp#L1307` -.. error:: 10194 +.. line: uassert( 14052 , "system.users entry needs 'pwd' field to be a string" , t["pwd"].type() == String ); + +.. error:: 14052 - :message: "can't + :message: "system.users entry needs 'pwd' field to be a string" :throws: UserException - :module: :source:`src/mongo/s/request.cpp#L109` + :module: :source:`src/mongo/db/pdfile.cpp#L1308` -.. error:: 13644 +.. line: uassert( 14053 , "system.users entry needs 'user' field to be non-empty" , t["user"].String().size() ); + +.. error:: 14053 - :message: "can't + :message: "system.users entry needs 'user' field to be non-empty" :throws: UserException - :module: :source:`src/mongo/s/request.cpp#L80` + :module: :source:`src/mongo/db/pdfile.cpp#L1309` -.. error:: 15845 +.. line: uassert( 14054 , "system.users entry needs 'pwd' field to be non-empty" , t["pwd"].String().size() ); - :message: , +.. error:: 14054 + + :message: "system.users entry needs 'pwd' field to be non-empty" :throws: UserException - :module: :source:`src/mongo/s/request.cpp#L62` + :module: :source:`src/mongo/db/pdfile.cpp#L1310` -.. error:: 8060 +.. line: uasserted(14800, str::stream() << "unsupported index version " << v); + +.. error:: 14800 - :message: "can't + :message: str::stream() << "unsupported index version " << v); :throws: UserException - :module: :source:`src/mongo/s/request.cpp#L105` + :module: :source:`src/mongo/db/btreecursor.cpp#L216` -.. error:: 15890 +.. line: uassert(14802, "index v field should be Integer type", v == 0); + +.. error:: 14802 - :message: "key + :message: "index v field should be Integer type" :throws: UserException - :module: :source:`src/mongo/s/security.cpp#L35` + :module: :source:`src/mongo/db/index.h#L193` -.. error:: 10197 +.. line: uassert(14803, str::stream() << "this version of mongod cannot build new indexes of version number " << vv, + +.. error:: 14803 - :message: "createDirectClient + :message: str::stream() << "this version of mongod cannot build new indexes of version number " << vv, :throws: UserException - :module: :source:`src/mongo/s/server.cpp#L188` + :module: :source:`src/mongo/db/index.cpp#L394` -.. error:: 15849 +.. line: uassert( 14808, str::stream() << "point " << p.toString() << " must be in earth-like bounds of long : [-180, 180], lat : [-90, 90] ", - :message: "client - :severity: Info - :module: :source:`src/mongo/s/server.cpp#L90` +.. error:: 14808 -.. error:: 13128 + :message: str::stream() << "point " << p.toString() << " must be in earth-like bounds of long : [-180, 180], lat : [-90, 90] ", + :throws: UserException + :module: :source:`src/mongo/db/geo/core.h#L509` - :message: (string)"can't - :severity: Info - :module: :source:`src/mongo/s/shard.cpp#L135` +.. line: massert( 14809, "Invalid access for cursor that is not ok()", !_currLoc().isNull() ); -.. error:: 13129 +.. error:: 14809 - :message: (string)"can't + :message: "Invalid access for cursor that is not ok()" :severity: Info - :module: :source:`src/mongo/s/shard.cpp#L117` + :module: :source:`src/mongo/db/queryoptimizercursorimpl.cpp#L666` -.. error:: 13136 +.. line: uasserted(14810, "couldn't allocate space (suitableFile)"); // callers don't check for null return code - :message: ss.str() - :throws: UserException - :module: :source:`src/mongo/s/shard.cpp#L336` +.. error:: 14810 -.. error:: 13632 + :message: "couldn't allocate space (suitableFile)" + :throws: UserException + :module: :source:`src/mongo/db/database.cpp#L341` - :message: "couldn't - :severity: Info - :module: :source:`src/mongo/s/shard.cpp#L44` +.. line: uasserted( 14811 , str::stream() << "invalid bench dynamic piece: " << f.fieldName() ); -.. error:: 15847 +.. error:: 14811 - :message: str::stream() + :message: str::stream() << "invalid bench dynamic piece: " << f.fieldName() ); :throws: UserException - :module: :source:`src/mongo/s/shard.cpp#L400` + :module: :source:`src/mongo/scripting/bench.cpp#L308` -.. error:: 15907 +.. line: uassert(14812, str::stream() << "Error running command on server: " << _server, finished); - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/s/shard.cpp#L418` +.. error:: 14812 -.. error:: 10428 + :message: str::stream() << "Error running command on server: " << _server, finished); + :throws: UserException + :module: :source:`src/mongo/client/parallel.cpp#L1662` - :message: "need_authoritative - :severity: Info - :module: :source:`src/mongo/s/shard_version.cpp#L246` +.. line: massert(14813, "Command returned nothing", _cursor->more()); -.. error:: 10429 +.. error:: 14813 - :message: errmsg + :message: "Command returned nothing" :severity: Info - :module: :source:`src/mongo/s/shard_version.cpp#L279` + :module: :source:`src/mongo/client/parallel.cpp#L1663` -.. error:: 15904 +.. line: uassert( 14816, "$and expression must be a nonempty array", - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/s/shard_version.cpp#L79` +.. error:: 14816 -.. error:: 15905 + :message: "$and expression must be a nonempty array" + :throws: UserException + :module: :source:`src/mongo/db/queryutil.cpp#L970` - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/s/shard_version.cpp#L84` +.. line: uassert( 14817, "$and/$or elements must be objects", clause.type() == Object ); -.. error:: 15906 +.. error:: 14817 - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/s/shard_version.cpp#L87` + :message: "$and/$or elements must be objects" + :throws: UserException + :module: :source:`src/mongo/db/queryutil.cpp#L957` -.. error:: 16334 +.. line: massert(14821, "No client or lazy client specified, cannot store multi-host connection.", false); - :message: str::stream() +.. error:: 14821 + + :message: "No client or lazy client specified, cannot store multi-host connection." :severity: Info - :module: :source:`src/mongo/s/shard_version.cpp#L90` + :module: :source:`src/mongo/client/dbclientcursor.cpp#L300` -.. error:: 10198 +.. line: uassert( 14822 , (string)"state changed in the middle: " + ns , ci.isSharded() ); - :message: str::stream() +.. error:: 14822 + + :message: (string)"state changed in the middle: " + ns , ci.isSharded() ); :throws: UserException - :module: :source:`src/mongo/s/shardkey.cpp#L47` + :module: :source:`src/mongo/s/config.cpp#L394` -.. error:: 10199 +.. line: throw MsgAssertionException( 14823 , "missing extra" ); - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/s/shardkey.cpp#L50` +.. error:: 14823 -.. error:: 13334 + :message: "missing extra" ); + :throws: MsgAssertionException + :module: :source:`src/mongo/db/namespace_details-inl.h#L41` - :message: "Shard - :throws: UserException - :module: :source:`src/mongo/s/shardkey.h#L125` +.. line: massert(14824, "missing Extra", e); -.. error:: 10200 +.. error:: 14824 - :message: "mongos: - :throws: UserException - :module: :source:`src/mongo/s/strategy.cpp#L72` + :message: "missing Extra" + :severity: Info + :module: :source:`src/mongo/db/namespace_details-inl.h#L42` -.. error:: 10201 +.. line: throw MsgAssertionException( 14825 , ErrorMsg("error in applyOperation : unknown opType ", *opType) ); - :message: "invalid - :throws: UserException - :module: :source:`src/mongo/s/strategy_shard.cpp#L765` +.. error:: 14825 -.. error:: 10203 + :message: ErrorMsg("error in applyOperation : unknown opType ", *opType) ); + :throws: MsgAssertionException + :module: :source:`src/mongo/db/oplog.cpp#L849` - :message: "bad - :throws: UserException - :module: :source:`src/mongo/s/strategy_shard.cpp#L921` +.. line: uassert(14827, "arbiters cannot have tags", !m.arbiterOnly || m.tags.empty() ); -.. error:: 10204 +.. error:: 14827 - :message: "dbgrid: + :message: "arbiters cannot have tags" :throws: UserException - :module: :source:`src/mongo/s/strategy_shard.cpp#L204` + :module: :source:`src/mongo/db/repl/rs_config.cpp#L524` -.. error:: 10205 +.. line: uassert(14828, str::stream() << "getLastErrorMode criteria must be greater than 0: " << clauseElem, value > 0); - :message: (string)"can't +.. error:: 14828 + + :message: str::stream() << "getLastErrorMode criteria must be greater than 0: " << clauseElem, value > 0); :throws: UserException - :module: :source:`src/mongo/s/strategy_shard.cpp#L1029` + :module: :source:`src/mongo/db/repl/rs_config.cpp#L394` -.. error:: 12376 +.. line: uassert(14829, "getLastErrorMode criteria must be numeric", clauseElem.isNumber()); + +.. error:: 14829 - :message: , + :message: "getLastErrorMode criteria must be numeric" :throws: UserException - :module: :source:`src/mongo/s/strategy_shard.cpp#L664` + :module: :source:`src/mongo/db/repl/rs_config.cpp#L389` -.. error:: 13123 +.. line: uassert(14830, str::stream() << "unrecognized getLastError mode: " << wStr, - :message: str::stream() +.. error:: 14830 + + :message: str::stream() << "unrecognized getLastError mode: " << wStr, :throws: UserException - :module: :source:`src/mongo/s/strategy_shard.cpp#L608` + :module: :source:`src/mongo/db/repl_block.cpp#L164` -.. error:: 13505 +.. line: uassert(14831, str::stream() << "mode " << clauseObj << " requires " - :message: str::stream() +.. error:: 14831 + + :message: str::stream() << "mode " << clauseObj << " requires " :throws: UserException - :module: :source:`src/mongo/s/strategy_shard.cpp#L895` + :module: :source:`src/mongo/db/repl/rs_config.cpp#L399` -.. error:: 13506 +.. line: uassert(14832, "specify size: when capped is true", !cmdObj["capped"].trueValue() || cmdObj["size"].isNumber() || cmdObj.hasField("$nExtents")); - :message: str::stream() +.. error:: 14832 + + :message: "specify size: when capped is true" :throws: UserException - :module: :source:`src/mongo/s/strategy_shard.cpp#L750` + :module: :source:`src/mongo/db/dbcommands.cpp#L841` -.. error:: 16055 +.. line: uassert(14833, "auth error", str::equals(ns, cc->ns().c_str())); - :message: str::stream() +.. error:: 14833 + + :message: "auth error" :throws: UserException - :module: :source:`src/mongo/s/strategy_shard.cpp#L446` + :module: :source:`src/mongo/db/ops/query.cpp#L103` -.. error:: 16056 +.. line: uassert( 14844, "$atomic specifier must be a top level field", !nested ); - :message: str::stream() +.. error:: 14844 + + :message: "$atomic specifier must be a top level field" :throws: UserException - :module: :source:`src/mongo/s/strategy_shard.cpp#L447` + :module: :source:`src/mongo/db/matcher.cpp#L516` -.. error:: 16064 +.. line: uassert( 14853 , "type not supported for appendMaxElementForType" , false ); - :message: , +.. error:: 14853 + + :message: "type not supported for appendMaxElementForType" :throws: UserException - :module: :source:`src/mongo/s/strategy_shard.cpp#L600` + :module: :source:`src/mongo/db/jsobj.cpp#L1201` -.. error:: 16065 +.. line: uassert( 15845 , + +.. error:: 15845 - :message: "multi-updates + :message: :throws: UserException - :module: :source:`src/mongo/s/strategy_shard.cpp#L651` + :module: :source:`src/mongo/s/request.cpp#L62` -.. error:: 16336 +.. line: uassert( 15847, str::stream() << "can't authenticate to server " + +.. error:: 15847 - :message: , + :message: str::stream() << "can't authenticate to server " :throws: UserException - :module: :source:`src/mongo/s/strategy_shard.cpp#L191` + :module: :source:`src/mongo/s/shard.cpp#L400` -.. error:: 8010 +.. line: massert( 15848, "sync cluster of sync clusters?", - :message: "something - :throws: UserException - :module: :source:`src/mongo/s/strategy_shard.cpp#L58` +.. error:: 15848 -.. error:: 8011 + :message: "sync cluster of sync clusters?" + :severity: Info + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L218` - :message: , - :throws: UserException - :module: :source:`src/mongo/s/strategy_shard.cpp#L382` +.. line: massert(15849, "client info not defined", c); -.. error:: 8012 +.. error:: 15849 - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/s/strategy_shard.cpp#L723` + :message: "client info not defined" + :severity: Info + :module: :source:`src/mongo/s/server.cpp#L90` -.. error:: 8013 +.. line: throw UserException(15850, "keyAt bucket deleted"); - :message: , +.. error:: 15850 + + :message: "keyAt bucket deleted"); :throws: UserException - :module: :source:`src/mongo/s/strategy_shard.cpp#L639` + :module: :source:`src/mongo/db/btreecursor.cpp#L62` -.. error:: 8014 +.. line: uassert( 15852 , "stopMongoByPid needs a number" , a.firstElement().isNumber() ); - :message: str::stream() +.. error:: 15852 + + :message: "stopMongoByPid needs a number" :throws: UserException - :module: :source:`src/mongo/s/strategy_shard.cpp#L687` + :module: :source:`src/mongo/shell/shell_utils_launcher.cpp#L712` -.. error:: 8015 +.. line: uassert( 15853 , "stopMongo needs a number" , a.firstElement().isNumber() ); - :message: str::stream() +.. error:: 15853 + + :message: "stopMongo needs a number" :throws: UserException - :module: :source:`src/mongo/s/strategy_shard.cpp#L909` + :module: :source:`src/mongo/shell/shell_utils_launcher.cpp#L703` -.. error:: 8016 +.. line: uassert (15854, "CSV file ends while inside quoted field", line[0] != '\0'); + +.. error:: 15854 - :message: "can't + :message: "CSV file ends while inside quoted field" :throws: UserException - :module: :source:`src/mongo/s/strategy_shard.cpp#L1012` + :module: :source:`src/mongo/tools/import.cpp#L223` -.. error:: 8050 +.. line: uassert( 15855 , str::stream() << "Ambiguous field name found in array (do not use numeric field names in embedded elements in an array), field: '" << arrField.fieldName() << "' for array: " << arr, !haveObjField || !haveArrField ); + +.. error:: 15855 - :message: "can't + :message: str::stream() << "Ambiguous field name found in array (do not use numeric field names in embedded elements in an array), field: '" << arrField.fieldName() << "' for array: " << arr, !haveObjField || !haveArrField ); :throws: UserException - :module: :source:`src/mongo/s/strategy_shard.cpp#L1050` + :module: :source:`src/mongo/db/indexkey.cpp#L299` -.. error:: 8051 +.. line: massert( 15861 , "can't create SSL" , ssl ); + +.. error:: 15861 + + :message: "can't create SSL" + :severity: Info + :module: :source:`src/mongo/util/net/sock.cpp#L483` - :message: "can't +.. line: uasserted( 15862 , "no ssl support" ); + +.. error:: 15862 + + :message: "no ssl support" :throws: UserException - :module: :source:`src/mongo/s/strategy_shard.cpp#L1053` + :module: :source:`src/mongo/util/net/httpclient.cpp#L108` -.. error:: 8052 +.. line: massert( 15863 , str::stream() << "listen(): invalid socket? " << errnoWithDescription() , sock >= 0 ); + +.. error:: 15863 + + :message: str::stream() << "listen(): invalid socket? " << errnoWithDescription() , sock >= 0 ); + :severity: Info + :module: :source:`src/mongo/util/net/listen.cpp#L134` + +.. line: massert( 15864 , mongoutils::str::stream() << "can't create SSL Context: " << ERR_error_string(ERR_get_error(), NULL) , _context ); + +.. error:: 15864 + + :message: mongoutils::str::stream() << "can't create SSL Context: " << ERR_error_string(ERR_get_error(), NULL) , _context ); + :severity: Info + :module: :source:`src/mongo/util/net/sock.cpp#L433` + +.. line: massert( 15865 , + +.. error:: 15865 + + :message: + :severity: Info + :module: :source:`src/mongo/util/net/sock.cpp#L441` + +.. line: massert( 15866 , + +.. error:: 15866 + + :message: + :severity: Info + :module: :source:`src/mongo/util/net/sock.cpp#L447` + +.. line: massert( 15869, "Invalid index version for key generation.", false ); + +.. error:: 15869 + + :message: "Invalid index version for key generation." + :severity: Info + :module: :source:`src/mongo/db/indexkey.cpp#L415` + +.. line: msgasserted(15874, "couldn't uncompress journal section"); + +.. error:: 15874 + + :message: "couldn't uncompress journal section" + :severity: Info + :module: :source:`src/mongo/db/dur_recover.cpp#L114` + +.. line: massert( 15875 , "DBClientCursor::initLazy called on a client that doesn't support lazy" , _client->lazySupported() ); + +.. error:: 15875 + + :message: "DBClientCursor::initLazy called on a client that doesn't support lazy" + :severity: Info + :module: :source:`src/mongo/client/dbclientcursor.cpp#L81` + +.. line: uassert( 15876, str::stream() << "could not create cursor over " << config.ns << " to hold data while prepping m/r", temp.get() ); + +.. error:: 15876 - :message: "handleIndexWrite + :message: str::stream() << "could not create cursor over " << config.ns << " to hold data while prepping m/r", temp.get() ); :throws: UserException - :module: :source:`src/mongo/s/strategy_shard.cpp#L1057` + :module: :source:`src/mongo/db/commands/mr.cpp#L1042` -.. error:: 13390 +.. line: uassert( 15877, str::stream() << "could not create m/r holding client cursor over " << config.ns, holdCursor.get() ); + +.. error:: 15877 - :message: "unrecognized + :message: str::stream() << "could not create m/r holding client cursor over " << config.ns, holdCursor.get() ); :throws: UserException - :module: :source:`src/mongo/s/strategy_single.cpp#L89` + :module: :source:`src/mongo/db/commands/mr.cpp#L1044` -.. error:: 10427 +.. line: massert(15880, "no ram log for warnings?" , rl); - :message: "invalid +.. error:: 15880 + + :message: "no ram log for warnings?" :severity: Info - :module: :source:`src/mongo/s/writeback_listener.cpp#L187` + :module: :source:`src/mongo/db/dbcommands.cpp#L676` -.. error:: 13403 +.. line: uassert( 15881, "$elemMatch not allowed within $in", - :message: str::stream() +.. error:: 15881 + + :message: "$elemMatch not allowed within $in" :throws: UserException - :module: :source:`src/mongo/s/writeback_listener.cpp#L126` + :module: :source:`src/mongo/db/queryutil.cpp#L178` -.. error:: 13641 +.. line: uassert( 15882, "$elemMatch not allowed within $in", - :message: str::stream() +.. error:: 15882 + + :message: "$elemMatch not allowed within $in" :throws: UserException - :module: :source:`src/mongo/s/writeback_listener.cpp#L69` + :module: :source:`src/mongo/db/matcher.cpp#L207` -.. error:: 14041 +.. line: uassert( 15883 , str::stream() << "not sharded after chunk manager reset : " << ns , ci.isSharded() ); - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/s/writeback_listener.cpp#L104` +.. error:: 15883 + + :message: str::stream() << "not sharded after chunk manager reset : " << ns , ci.isSharded() ); + :throws: UserException + :module: :source:`src/mongo/s/config.cpp#L426` + +.. line: uassert( 15884, str::stream() .. error:: 15884 @@ -6072,455 +6414,2303 @@ MongoDB Error and Message Codes :throws: UserException :module: :source:`src/mongo/s/writeback_listener.cpp#L364` -.. error:: 14811 +.. line: uassert( 15885 , str::stream() << "not sharded after reloading from chunks : " << ns , ci.isSharded() ); - :message: str::stream() +.. error:: 15885 + + :message: str::stream() << "not sharded after reloading from chunks : " << ns , ci.isSharded() ); :throws: UserException - :module: :source:`src/mongo/scripting/bench.cpp#L308` + :module: :source:`src/mongo/s/config.cpp#L341` -.. error:: 15931 +.. line: uassert(15888, "must pass name of collection to create", cmdObj.firstElement().valuestrsafe()[0] != '\0'); + +.. error:: 15888 - :message: "Authenticating + :message: "must pass name of collection to create" :throws: UserException - :module: :source:`src/mongo/scripting/bench.cpp#L389` + :module: :source:`src/mongo/db/dbcommands.cpp#L838` -.. error:: 15932 +.. line: uassert(15889, "key file must be used to log in with internal user", cmdLine.keyFile); + +.. error:: 15889 - :message: "Authenticating + :message: "key file must be used to log in with internal user" :throws: UserException - :module: :source:`src/mongo/scripting/bench.cpp#L684` + :module: :source:`src/mongo/db/security.cpp#L120` + +.. line: uassert(15890, "key file must be used to log in with internal user", cmdLine.keyFile); + +.. error:: 15890 + + :message: "key file must be used to log in with internal user" + :throws: UserException + :module: :source:`src/mongo/s/security.cpp#L35` + +.. line: uassert(15891, "can't backfill array to larger than 1,500,000 elements", upTo <= maxElems); + +.. error:: 15891 + + :message: "can't backfill array to larger than 1,500,000 elements" + :throws: UserException + :module: :source:`src/mongo/bson/bsonobjbuilder.h#L836` + +.. line: uassert( 15895 , "nonAtomic option cannot be used with this output type", (outType == REDUCE || outType == MERGE) ); + +.. error:: 15895 + + :message: "nonAtomic option cannot be used with this output type" + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L272` + +.. line: uassert( 15896, + +.. error:: 15896 + + :message: + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L871` + +.. line: massert(15899, str::stream() << "No suitable secondary found for slaveOk query" + +.. error:: 15899 + + :message: str::stream() << "No suitable secondary found for slaveOk query" + :severity: Info + :module: :source:`src/mongo/client/dbclient_rs.cpp#L480` + +.. line: massert(15900, "can't heartbeat: too much lock", + +.. error:: 15900 + + :message: "can't heartbeat: too much lock" + :severity: Info + :module: :source:`src/mongo/db/repl/heartbeat.cpp#L150` + +.. line: uassert(15902 , "$where expression has an unexpected type", e.type() == String || e.type() == CodeWScope || e.type() == Code ); + +.. error:: 15902 + + :message: "$where expression has an unexpected type" + :throws: UserException + :module: :source:`src/mongo/db/matcher.cpp#L420` + +.. line: massert( 15904, str::stream() << "cannot set version on invalid connection " << conn->toString(), false ); + +.. error:: 15904 + + :message: str::stream() << "cannot set version on invalid connection " << conn->toString(), false ); + :severity: Info + :module: :source:`src/mongo/s/shard_version.cpp#L79` + +.. line: massert( 15905, str::stream() << "cannot set version or shard on pair connection " << conn->toString(), false ); + +.. error:: 15905 + + :message: str::stream() << "cannot set version or shard on pair connection " << conn->toString(), false ); + :severity: Info + :module: :source:`src/mongo/s/shard_version.cpp#L84` + +.. line: massert( 15906, str::stream() << "cannot set version or shard on sync connection " << conn->toString(), false ); + +.. error:: 15906 + + :message: str::stream() << "cannot set version or shard on sync connection " << conn->toString(), false ); + :severity: Info + :module: :source:`src/mongo/s/shard_version.cpp#L87` + +.. line: uassert( 15907, str::stream() << "could not initialize sharding on connection " << (*conn).toString() << + +.. error:: 15907 + + :message: str::stream() << "could not initialize sharding on connection " << (*conn).toString() << + :throws: UserException + :module: :source:`src/mongo/s/shard.cpp#L418` + +.. line: uassert(15908, errmsg, conn->connect(host, errmsg) && replAuthenticate(conn)); + +.. error:: 15908 + + :message: errmsg, conn->connect(host, errmsg) && replAuthenticate(conn)); + :throws: UserException + :module: :source:`src/mongo/db/cloner.cpp#L244` + +.. line: uassert(15909, str::stream() << "replSet rollback error resyncing collection " << ns << ' ' << errmsg, ok); + +.. error:: 15909 + + :message: str::stream() << "replSet rollback error resyncing collection " << ns << ' ' << errmsg, ok); + :throws: UserException + :module: :source:`src/mongo/db/repl/rs_rollback.cpp#L397` + +.. line: uassert( 15910, "Doesn't have cursor for reading oplog", cursor.get() ); + +.. error:: 15910 + + :message: "Doesn't have cursor for reading oplog" + :throws: UserException + :module: :source:`src/mongo/db/oplogreader.h#L83` + +.. line: uassert( 15911, "Doesn't have cursor for reading oplog", cursor.get() ); + +.. error:: 15911 + + :message: "Doesn't have cursor for reading oplog" + :throws: UserException + :module: :source:`src/mongo/db/oplogreader.h#L88` + +.. line: msgasserted( 15912 , "out of memory StackAllocator::Realloc" ); + +.. error:: 15912 + + :message: "out of memory StackAllocator::Realloc" + :severity: Info + :module: :source:`src/mongo/bson/util/builder.h#L83` + +.. line: msgasserted( 15913 , "out of memory BufBuilder::reset" ); + +.. error:: 15913 + + :message: "out of memory BufBuilder::reset" + :severity: Info + :module: :source:`src/mongo/bson/util/builder.h#L133` + +.. line: uassert(15914, "Failure retrying initial sync update", !applyOperation_inlock(op)); + +.. error:: 15914 + + :message: "Failure retrying initial sync update" + :throws: UserException + :module: :source:`src/mongo/db/repl.cpp#L629` + +.. line: fassert(15915, st->syncApply(*it)); + +.. error:: 15915 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/repl/rs_sync.cpp#L138` + +.. line: uassert(15916, str::stream() << "Can no longer connect to initial sync source: " << hn, missingObjReader.connect(hn)); + +.. error:: 15916 + + :message: str::stream() << "Can no longer connect to initial sync source: " << hn, missingObjReader.connect(hn)); + :throws: UserException + :module: :source:`src/mongo/db/oplog.cpp#L679` + +.. line: uassert(15917, "Got bad disk location when attempting to insert", !d.isNull()); + +.. error:: 15917 + + :message: "Got bad disk location when attempting to insert" + :throws: UserException + :module: :source:`src/mongo/db/oplog.cpp#L713` + +.. line: uassert( 15918, + +.. error:: 15918 + + :message: + :throws: UserException + :module: :source:`src/mongo/s/grid.cpp#L44` + +.. line: uassert( 15920 , "Cannot output to a non-sharded collection, a sharded collection exists" , !confOut->isSharded(finalColLong) ); + +.. error:: 15920 + + :message: "Cannot output to a non-sharded collection, a sharded collection exists" + :throws: UserException + :module: :source:`src/mongo/s/commands_public.cpp#L1214` + +.. line: uasserted( 15921 , str::stream() << "splitVector failed: " << res ); + +.. error:: 15921 + + :message: str::stream() << "splitVector failed: " << res ); + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L414` + +.. line: uasserted(15922, mongoutils::str::stream() << "couldn't get file length when opening mapping " << filename << ' ' << e.what() ); + +.. error:: 15922 + + :message: mongoutils::str::stream() << "couldn't get file length when opening mapping " << filename << ' ' << e.what() ); + :throws: UserException + :module: :source:`src/mongo/util/mmap.cpp#L72` + +.. line: uasserted(15923, mongoutils::str::stream() << "couldn't get file length when opening mapping " << filename << ' ' << e.what() ); + +.. error:: 15923 + + :message: mongoutils::str::stream() << "couldn't get file length when opening mapping " << filename << ' ' << e.what() ); + :throws: UserException + :module: :source:`src/mongo/util/mmap.cpp#L82` + +.. line: massert( 15924 , str::stream() << "getFile(): bad file number value " << n << " (corrupt db?): run repair", false); + +.. error:: 15924 + + :message: str::stream() << "getFile(): bad file number value " << n << " (corrupt db?): run repair", false); + :severity: Info + :module: :source:`src/mongo/db/database.cpp#L190` + +.. line: uasserted( 15925, "cannot sort with keys that are parallel arrays" ); + +.. error:: 15925 + + :message: "cannot sort with keys that are parallel arrays" + :throws: UserException + :module: :source:`src/mongo/db/scanandorder.cpp#L39` + +.. line: throw UserException(15926, "Insufficient free space for journals"); + +.. error:: 15926 + + :message: "Insufficient free space for journals"); + :throws: UserException + :module: :source:`src/mongo/db/dur_journal.cpp#L375` + +.. line: massert(15927, "can't open database in a read lock. if db was just closed, consider retrying the query. might otherwise indicate an internal error", !cant); + +.. error:: 15927 + + :message: "can't open database in a read lock. if db was just closed, consider retrying the query. might otherwise indicate an internal error" + :severity: Info + :module: :source:`src/mongo/db/database.cpp#L434` + +.. line: uasserted(15928, str::stream() << "can't open a database from a nested read lock " << ns); + +.. error:: 15928 + + :message: str::stream() << "can't open a database from a nested read lock " << ns); + :throws: UserException + :module: :source:`src/mongo/db/client.cpp#L247` + +.. line: uassert( 15929, "client access to index backing namespace prohibited", NamespaceString::normal( _ns.c_str() ) ); + +.. error:: 15929 + + :message: "client access to index backing namespace prohibited" + :throws: UserException + :module: :source:`src/mongo/db/client.cpp#L352` + +.. line: uasserted(15931, "Authenticating to connection for _benchThread failed: " + errmsg); + +.. error:: 15931 + + :message: "Authenticating to connection for _benchThread failed: " + errmsg); + :throws: UserException + :module: :source:`src/mongo/scripting/bench.cpp#L389` + +.. line: uasserted(15932, "Authenticating to connection for benchThread failed: " + errmsg); + +.. error:: 15932 + + :message: "Authenticating to connection for benchThread failed: " + errmsg); + :throws: UserException + :module: :source:`src/mongo/scripting/bench.cpp#L684` + +.. line: uassert(15933, "Couldn't open file: " + outputFile.string(), file.is_open()); + +.. error:: 15933 + + :message: "Couldn't open file: " + outputFile.string(), file.is_open()); + :throws: UserException + :module: :source:`src/mongo/tools/dump.cpp#L141` + +.. line: uassert(15934, "JSON object size didn't match file size", objSize == fileSize); + +.. error:: 15934 + + :message: "JSON object size didn't match file size" + :throws: UserException + :module: :source:`src/mongo/tools/restore.cpp#L389` + +.. line: uassert(15935, "user does not have write access", authLevel == Auth::WRITE); + +.. error:: 15935 + + :message: "user does not have write access" + :throws: UserException + :module: :source:`src/mongo/tools/restore.cpp#L83` + +.. line: uasserted(15936, "Creating collection " + _curns + " failed. Errmsg: " + info["errmsg"].String()); + +.. error:: 15936 + + :message: "Creating collection " + _curns + " failed. Errmsg: " + info["errmsg"].String()); + :throws: UserException + :module: :source:`src/mongo/tools/restore.cpp#L453` + +.. line: uassert(15942, str::stream() << "pipeline element " << + +.. error:: 15942 + + :message: str::stream() << "pipeline element " << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/pipeline.cpp#L160` + +.. line: uassert(15943, str::stream() << "group accumulator " << + +.. error:: 15943 + + :message: str::stream() << "group accumulator " << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L28` + +.. line: uassert(15944, "terminating request: request heap use exceeded 10% of physical RAM", (totalUsed <= errorLimit)); + +.. error:: 15944 + + :message: "terminating request: request heap use exceeded 10% of physical RAM" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/doc_mem_monitor.cpp#L55` + +.. line: uassert(15946, "a document filter expression must be an object", + +.. error:: 15946 + + :message: "a document filter expression must be an object" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_filter.cpp#L75` + +.. line: uassert(15947, "a group's fields must be specified in an object", + +.. error:: 15947 + + :message: "a group's fields must be specified in an object" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L163` + +.. line: uassert(15948, "a group's _id may only be specified once", + +.. error:: 15948 + + :message: "a group's _id may only be specified once" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L177` + +.. line: uassert(15949, str::stream() << + +.. error:: 15949 + + :message: str::stream() << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L234` + +.. line: uassert(15950, str::stream() << + +.. error:: 15950 + + :message: str::stream() << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L250` + +.. line: uassert(15951, str::stream() << + +.. error:: 15951 + + :message: str::stream() << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L255` + +.. line: uassert(15952, str::stream() << + +.. error:: 15952 + + :message: str::stream() << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L274` + +.. line: uassert(15953, str::stream() << + +.. error:: 15953 + + :message: str::stream() << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L289` + +.. line: uassert(15954, str::stream() << + +.. error:: 15954 + + :message: str::stream() << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L301` + +.. line: uassert(15955, "a group specification must include an _id", idSet); + +.. error:: 15955 + + :message: "a group specification must include an _id" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L308` + +.. line: uassert(15956, str::stream() << DocumentSourceSkip::skipName << + +.. error:: 15956 + + :message: str::stream() << DocumentSourceSkip::skipName << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_skip.cpp#L119` + +.. line: uassert(15957, "the limit must be specified as a number", + +.. error:: 15957 + + :message: "the limit must be specified as a number" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_limit.cpp#L100` + +.. line: uassert(15958, "the limit must be positive", + +.. error:: 15958 + + :message: "the limit must be positive" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_limit.cpp#L107` + +.. line: uassert(15959, "the match filter must be an expression in an object", + +.. error:: 15959 + + :message: "the match filter must be an expression in an object" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_match.cpp#L84` + +.. line: massert(15962, "need to specify namespace" , !nss.db.empty() ); + +.. error:: 15962 + + :message: "need to specify namespace" + :severity: Info + :module: :source:`src/mongo/db/commands.cpp#L36` + +.. line: massert(15966, str::stream() << "dbname not ok in Command::parseNsFullyQualified: " << dbname , dbname == nss.db || dbname == "admin" ); + +.. error:: 15966 + + :message: str::stream() << "dbname not ok in Command::parseNsFullyQualified: " << dbname , dbname == nss.db || dbname == "admin" ); + :severity: Info + :module: :source:`src/mongo/db/commands.cpp#L37` + +.. line: uassert(15967,"invalid collection name: " + target, NamespaceString::validCollectionName(target.c_str())); + +.. error:: 15967 + + :message: "invalid collection name: " + target, NamespaceString::validCollectionName(target.c_str())); + :throws: UserException + :module: :source:`src/mongo/db/cloner.cpp#L741` + +.. line: uassert(15969, str::stream() << projectName << + +.. error:: 15969 + + :message: str::stream() << projectName << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_project.cpp#L110` + +.. line: uassert(15972, str::stream() << DocumentSourceSkip::skipName << + +.. error:: 15972 + + :message: str::stream() << DocumentSourceSkip::skipName << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_skip.cpp#L111` + +.. line: uassert(15973, str::stream() << " the " << + +.. error:: 15973 + + :message: str::stream() << " the " << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_sort.cpp#L123` + +.. line: uassert(15974, str::stream() << sortName << + +.. error:: 15974 + + :message: str::stream() << sortName << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_sort.cpp#L138` + +.. line: uassert(15975, str::stream() << sortName << + +.. error:: 15975 + + :message: str::stream() << sortName << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_sort.cpp#L143` + +.. line: uassert(15976, str::stream() << sortName << + +.. error:: 15976 + + :message: str::stream() << sortName << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_sort.cpp#L151` + +.. line: uassert(15978, str::stream() << (string)DocumentSourceUnwind::unwindName + +.. error:: 15978 + + :message: str::stream() << (string)DocumentSourceUnwind::unwindName + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_unwind.cpp#L97` + +.. line: uassert(15979, str::stream() << unwindName << "can't unwind more than one path", + +.. error:: 15979 + + :message: str::stream() << unwindName << "can't unwind more than one path", + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_unwind.cpp#L270` + +.. line: uassert(15981, str::stream() << "the " << unwindName << + +.. error:: 15981 + + :message: str::stream() << "the " << unwindName << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_unwind.cpp#L282` + +.. line: uassert(15982, str::stream() << + +.. error:: 15982 + + :message: str::stream() << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L58` + +.. line: uassert(15983, str::stream() << + +.. error:: 15983 + + :message: str::stream() << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L88` + +.. line: uassert( 15986, "too many retries in total", _totalTries < 10 ); + +.. error:: 15986 + + :message: "too many retries in total" + :throws: UserException + :module: :source:`src/mongo/client/parallel.cpp#L822` + +.. line: uassert( 15987, str::stream() << "could not fully initialize cursor on shard " + +.. error:: 15987 + + :message: str::stream() << "could not fully initialize cursor on shard " + :throws: UserException + :module: :source:`src/mongo/client/parallel.cpp#L944` + +.. line: uassert( 15988, "error querying server", false ); + +.. error:: 15988 + + :message: "error querying server" + :throws: UserException + :module: :source:`src/mongo/client/parallel.cpp#L1081` + +.. line: uassert( 15989, "database not found for parallel cursor request", config ); + +.. error:: 15989 + + :message: "database not found for parallel cursor request" + :throws: UserException + :module: :source:`src/mongo/client/parallel.cpp#L788` + +.. line: uassert(15990, str::stream() << "this object is already an operator expression, and can't be used as a document expression (at '" << + +.. error:: 15990 + + :message: str::stream() << "this object is already an operator expression, and can't be used as a document expression (at '" << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L102` + +.. line: uassert(15992, str::stream() << + +.. error:: 15992 + + :message: str::stream() << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L162` + +.. line: uassert(15993, str::stream() << getOpName() << + +.. error:: 15993 + + :message: str::stream() << getOpName() << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L2131` + +.. line: uassert(15997, str::stream() << getOpName() << + +.. error:: 15997 + + :message: str::stream() << getOpName() << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L2138` + +.. line: uassert(15998, "FieldPath field names may not be empty strings.", fieldName.length() > 0); + +.. error:: 15998 + + :message: "FieldPath field names may not be empty strings." + :throws: UserException + :module: :source:`src/mongo/db/pipeline/field_path.cpp#L88` + +.. line: uassert(15999, str::stream() << "invalid operator '" << + +.. error:: 15999 + + :message: str::stream() << "invalid operator '" << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L242` + +.. line: massert(16000, "$sum resulted in a non-numeric type", false); + +.. error:: 16000 + + :message: "$sum resulted in a non-numeric type" + :severity: Info + :module: :source:`src/mongo/db/pipeline/accumulator_sum.cpp#L74` + +.. line: uassert(16001, str::stream() << + +.. error:: 16001 + + :message: str::stream() << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/value.cpp#L77` + +.. line: uassert(16002, str::stream() << + +.. error:: 16002 + + :message: str::stream() << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/value.cpp#L184` + +.. line: uassert(16003, str::stream() << + +.. error:: 16003 + + :message: str::stream() << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/value.cpp#L551` + +.. line: uassert(16004, str::stream() << + +.. error:: 16004 + + :message: str::stream() << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/value.cpp#L577` + +.. line: uassert(16005, str::stream() << + +.. error:: 16005 + + :message: str::stream() << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/value.cpp#L603` + +.. line: uassert(16006, str::stream() << + +.. error:: 16006 + + :message: str::stream() << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/value.cpp#L622` + +.. line: uassert(16007, str::stream() << + +.. error:: 16007 + + :message: str::stream() << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/value.cpp#L709` + +.. line: uassert(16014, str::stream() << + +.. error:: 16014 + + :message: str::stream() << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L1347` + +.. line: uassert(16016, str::stream() << + +.. error:: 16016 + + :message: str::stream() << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/value.cpp#L811` + +.. line: uassert(16017, str::stream() << + +.. error:: 16017 + + :message: str::stream() << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/value.cpp#L862` + +.. line: uassert(16018, str::stream() << + +.. error:: 16018 + + :message: str::stream() << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/value.cpp#L963` + +.. line: uassert(16019, str::stream() << "the " << pOp->pName << + +.. error:: 16019 + + :message: str::stream() << "the " << pOp->pName << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L253` + +.. line: uassert(16020, str::stream() << "the " << pOp->pName << + +.. error:: 16020 + + :message: str::stream() << "the " << pOp->pName << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L276` + +.. line: uassert(16021, str::stream() << "the " << pOp->pName << + +.. error:: 16021 + + :message: str::stream() << "the " << pOp->pName << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L260` + +.. line: uassert(16022, str::stream() << "the " << pOp->pName << + +.. error:: 16022 + + :message: str::stream() << "the " << pOp->pName << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L290` + +.. line: uassert( 16028, "collection or database disappeared when cursor yielded", cursorOk ); + +.. error:: 16028 + + :message: "collection or database disappeared when cursor yielded" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_cursor.cpp#L88` + +.. line: uassert(16030, "reserved error", false); + +.. error:: 16030 + + :message: "reserved error" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L59` + +.. line: uassert(16031, "reserved error", false); + +.. error:: 16031 + + :message: "reserved error" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L60` + +.. line: uassert(16032, "reserved error", false); + +.. error:: 16032 + + :message: "reserved error" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L61` + +.. line: uassert(16033, "reserved error", false); + +.. error:: 16033 + + :message: "reserved error" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L62` + +.. line: uassert(16034, str::stream() << getOpName() << + +.. error:: 16034 + + :message: str::stream() << getOpName() << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L2374` + +.. line: uassert(16035, str::stream() << getOpName() << + +.. error:: 16035 + + :message: str::stream() << getOpName() << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L2380` + +.. line: uassert(16036, "reserved error", false); + +.. error:: 16036 + + :message: "reserved error" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L64` + +.. line: uassert(16037, "reserved error", false); + +.. error:: 16037 + + :message: "reserved error" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L65` + +.. line: uassert(16038, "reserved error", false); + +.. error:: 16038 + + :message: "reserved error" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L66` + +.. line: uassert(16039, "reserved error", false); + +.. error:: 16039 + + :message: "reserved error" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L67` + +.. line: uassert(16040, "reserved error", false); + +.. error:: 16040 + + :message: "reserved error" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L68` + +.. line: uassert(16041, "reserved error", false); + +.. error:: 16041 + + :message: "reserved error" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L69` + +.. line: uassert(16042, "reserved error", false); + +.. error:: 16042 + + :message: "reserved error" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L70` + +.. line: uassert(16043, "reserved error", false); + +.. error:: 16043 + + :message: "reserved error" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L71` + +.. line: uassert(16044, "reserved error", false); + +.. error:: 16044 + + :message: "reserved error" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L72` + +.. line: uassert(16045, "reserved error", false); + +.. error:: 16045 + + :message: "reserved error" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L73` + +.. line: uassert(16046, "reserved error", false); + +.. error:: 16046 + + :message: "reserved error" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L74` + +.. line: uassert(16047, "reserved error", false); + +.. error:: 16047 + + :message: "reserved error" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L75` + +.. line: uassert(16048, "reserved error", false); + +.. error:: 16048 + + :message: "reserved error" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L76` + +.. line: uassert(16049, "reserved error", false); + +.. error:: 16049 + + :message: "reserved error" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/accumulator.cpp#L77` + +.. line: uassert( 16052, str::stream() << "could not create cursor over " << config.ns << " for query : " << config.filter << " sort : " << config.sort, temp.get() ); + +.. error:: 16052 + + :message: str::stream() << "could not create cursor over " << config.ns << " for query : " << config.filter << " sort : " << config.sort, temp.get() ); + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L1093` + +.. line: uassert( 16053, str::stream() << "could not create client cursor over " << config.ns << " for query : " << config.filter << " sort : " << config.sort, cursor.get() ); + +.. error:: 16053 + + :message: str::stream() << "could not create client cursor over " << config.ns << " for query : " << config.filter << " sort : " << config.sort, cursor.get() ); + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L1095` + +.. line: massert(16054, "shardedFirstPass should only use replace outType", outType == REPLACE); + +.. error:: 16054 + + :message: "shardedFirstPass should only use replace outType" + :severity: Info + :module: :source:`src/mongo/db/commands/mr.cpp#L281` + +.. line: uassert( 16055, str::stream() << "too many retries during bulk insert, " << insertsRemaining.size() << " inserts remaining", retries < 30 ); + +.. error:: 16055 + + :message: str::stream() << "too many retries during bulk insert, " << insertsRemaining.size() << " inserts remaining", retries < 30 ); + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L446` + +.. line: uassert( 16056, str::stream() << "shutting down server during bulk insert, " << insertsRemaining.size() << " inserts remaining", ! inShutdown() ); + +.. error:: 16056 + + :message: str::stream() << "shutting down server during bulk insert, " << insertsRemaining.size() << " inserts remaining", ! inShutdown() ); + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L447` + +.. line: uassert( 16060, str::stream() << "cannot query locks collection on config server " << conn.getHost(), c.get() ); + +.. error:: 16060 + + :message: str::stream() << "cannot query locks collection on config server " << conn.getHost(), c.get() ); + :throws: UserException + :module: :source:`src/mongo/client/distlock.cpp#L130` + +.. line: uassert(16062, "fstatfs failed: " + errnoWithDescription(), ret == 0); + +.. error:: 16062 + + :message: "fstatfs failed: " + errnoWithDescription(), ret == 0); + :throws: UserException + :module: :source:`src/mongo/util/file_allocator.cpp#L142` + +.. line: uassert(16063, "ftruncate failed: " + errnoWithDescription(), ret == 0); + +.. error:: 16063 + + :message: "ftruncate failed: " + errnoWithDescription(), ret == 0); + :throws: UserException + :module: :source:`src/mongo/util/file_allocator.cpp#L160` + +.. line: uassert( 16064, + +.. error:: 16064 + + :message: + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L600` + +.. line: uassert( 16065, "multi-updates require $ops rather than replacement object", ! multi ); + +.. error:: 16065 + + :message: "multi-updates require $ops rather than replacement object" + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L651` + +.. line: massert( 16068, "no chunk ranges available", !_chunkRanges.ranges().empty() ); + +.. error:: 16068 + + :message: "no chunk ranges available" + :severity: Info + :module: :source:`src/mongo/s/chunk.cpp#L1128` + +.. line: massert( 16069 , "ModSet::createNewFromMods - " + +.. error:: 16069 + + :message: "ModSet::createNewFromMods - " + :severity: Info + :module: :source:`src/mongo/db/ops/update_internal.cpp#L739` + +.. line: msgasserted( 16070 , "out of memory BufBuilder::grow_reallocate" ); + +.. error:: 16070 + + :message: "out of memory BufBuilder::grow_reallocate" + :severity: Info + :module: :source:`src/mongo/bson/util/builder.h#L224` + +.. line: massert( 16083, "reserve 16083", true ); // Reserve 16083. + +.. error:: 16083 + + :message: "reserve 16083" + :severity: Info + :module: :source:`src/mongo/db/ops/query.h#L46` + +.. line: massert( 16089, + +.. error:: 16089 + + :message: + :severity: Info + :module: :source:`src/mongo/db/clientcursor.cpp#L796` + +.. line: uassert( 16090, "socket error for mapping query", c.get() ); + +.. error:: 16090 + + :message: "socket error for mapping query" + :throws: UserException + :module: :source:`src/mongo/client/dbclient.cpp#L819` + +.. line: massert( 16093, "after yield cursor deleted" , cc->prepareToYield( yieldData ) ); + +.. error:: 16093 + + :message: "after yield cursor deleted" + :severity: Info + :module: :source:`src/mongo/db/index_update.cpp#L377` + +.. line: massert(16098, str::stream() << "can't dblock:" << db << " when local or admin is already locked", ls.nestableCount() == 0); + +.. error:: 16098 + + :message: str::stream() << "can't dblock:" << db << " when local or admin is already locked", ls.nestableCount() == 0); + :severity: Info + :module: :source:`src/mongo/db/d_concurrency.cpp#L521` + +.. line: massert(16099, str::stream() << "internal error tried to lock two databases at the same time. old:" << ls.otherName() << " new:" << db, db == ls.otherName() ); + +.. error:: 16099 + + :message: str::stream() << "internal error tried to lock two databases at the same time. old:" << ls.otherName() << " new:" << db, db == ls.otherName() ); + :severity: Info + :module: :source:`src/mongo/db/d_concurrency.cpp#L708` + +.. line: massert(16100, str::stream() << "can't dblock:" << db << " when local or admin is already locked", ls.nestableCount() == 0); + +.. error:: 16100 + + :message: str::stream() << "can't dblock:" << db << " when local or admin is already locked", ls.nestableCount() == 0); + :severity: Info + :module: :source:`src/mongo/db/d_concurrency.cpp#L713` + +.. line: massert(16103, str::stream() << "can't lock_R, threadState=" << (int) ls.threadState(), ls.threadState() == 0); + +.. error:: 16103 + + :message: str::stream() << "can't lock_R, threadState=" << (int) ls.threadState(), ls.threadState() == 0); + :severity: Info + :module: :source:`src/mongo/db/d_concurrency.cpp#L124` + +.. line: massert(16106, str::stream() << "internal error tried to lock two databases at the same time. old:" << ls.otherName() << " new:" << db , db == ls.otherName() ); + +.. error:: 16106 + + :message: str::stream() << "internal error tried to lock two databases at the same time. old:" << ls.otherName() << " new:" << db , db == ls.otherName() ); + :severity: Info + :module: :source:`src/mongo/db/d_concurrency.cpp#L516` + +.. line: massert( 16107 , str::stream() << "Don't have a lock on: " << _ns , Lock::atLeastReadLocked( _ns ) ); + +.. error:: 16107 + + :message: str::stream() << "Don't have a lock on: " << _ns , Lock::atLeastReadLocked( _ns ) ); + :severity: Info + :module: :source:`src/mongo/db/client.cpp#L308` + +.. line: fassertFailed( 16110 ); + +.. error:: 16110 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/dur.cpp#L261` + +.. line: fassert( 16112, _view_private == old ); + +.. error:: 16112 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/mongommf.cpp#L46` + +.. line: fassert(16113, !Lock::isLocked()); + +.. error:: 16113 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/repl/rs_sync.cpp#L624` + +.. line: fassert(16114,false); + +.. error:: 16114 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L133` + +.. line: fassert(16115, _scopedLk == 0); + +.. error:: 16115 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/lockstate.cpp#L171` + +.. line: fassert( 16116, ls.recursiveCount() == 1 ); + +.. error:: 16116 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L340` + +.. line: fassert( 16117, ls.threadState() != 0 ); + +.. error:: 16117 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L341` + +.. line: fassert( 16118, scopedLk ); + +.. error:: 16118 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L344` + +.. line: fassert( 16119, scopedLk ); + +.. error:: 16119 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L354` + +.. line: fassert( 16120 , ls.threadState() == 0 ); + +.. error:: 16120 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L355` + +.. line: fassert(16121, !noop); + +.. error:: 16121 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L362` + +.. line: fassert(16122, ts != 'R'); // indicates downgraded; not allowed with temprelease + +.. error:: 16122 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L364` + +.. line: fassert(16123, ts == 'W'); + +.. error:: 16123 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L365` + +.. line: fassert(16125, !noop); + +.. error:: 16125 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L369` + +.. line: fassert(16126, ts == 0); + +.. error:: 16126 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L371` + +.. line: fassert(16127, !noop); + +.. error:: 16127 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L377` + +.. line: fassert(16128, ts == 'R'); + +.. error:: 16128 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L379` + +.. line: fassert(16129, !noop); + +.. error:: 16129 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L383` + +.. line: fassert(16130, ts == 0); + +.. error:: 16130 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L385` + +.. line: fassert(16131,false); + +.. error:: 16131 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L483` + +.. line: fassert(16132,_weLocked==0); + +.. error:: 16132 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L488` + +.. line: fassert(16133,_weLocked==0); + +.. error:: 16133 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L502` + +.. line: fassert(16134,_weLocked==0); + +.. error:: 16134 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L536` + +.. line: fassert(16135,_weLocked==0); + +.. error:: 16135 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L727` + +.. line: fassert(16137, r.n > 0); + +.. error:: 16137 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L319` + +.. line: fassert(16138, w.n > 0); + +.. error:: 16138 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L325` + +.. line: fassert(16139, R.n > 0); + +.. error:: 16139 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L336` + +.. line: fassert(16140, W.n == 1); + +.. error:: 16140 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L343` + +.. line: massert( 16141, str::stream() << "cannot translate opcode " << op, !op ); + +.. error:: 16141 + + :message: str::stream() << "cannot translate opcode " << op, !op ); + :severity: Info + :module: :source:`src/mongo/util/net/message.h#L58` + +.. line: fassert( 16142, _fd >= 0 ); + +.. error:: 16142 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/logfile.cpp#L224` + +.. line: fassert( 16143, reinterpret_cast( buf ) % g_minOSPageSizeBytes == 0 ); // aligned + +.. error:: 16143 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/logfile.cpp#L225` + +.. line: fassert( 16144, charsToWrite >= 0 ); + +.. error:: 16144 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/logfile.cpp#L223` + +.. line: fassert( 16145, s ); + +.. error:: 16145 + + :message: + :severity: Abort + :module: :source:`src/mongo/unittest/unittest.cpp#L204` + +.. line: fassert(16146,false); + +.. error:: 16146 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/lockstat.cpp#L76` + +.. line: massert( 16147, "Already finished.", _numUnstartedWorkers + _numActiveWorkers > 0 ); + +.. error:: 16147 + + :message: "Already finished." + :severity: Info + :module: :source:`src/mongo/scripting/bench.cpp#L223` + +.. line: fassert( 16148, newPrivateView == oldPrivateAddr ); + +.. error:: 16148 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/mmap_win.cpp#L325` + +.. line: uassert( 16149 , "cannot run map reduce without the js engine", globalScriptEngine ); + +.. error:: 16149 + + :message: "cannot run map reduce without the js engine" + :throws: UserException + :module: :source:`src/mongo/db/commands/mr.cpp#L1025` + +.. line: uassert(16150, s.str(), full != true); + +.. error:: 16150 + + :message: s.str(), full != true); + :throws: UserException + :module: :source:`src/mongo/bson/bson-inl.h#L680` + +.. line: fassertFailed( 16151 ); + +.. error:: 16151 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/client.cpp#L86` + +.. line: massert( 16153, "namespace does not exist", nsd ); + +.. error:: 16153 + + :message: "namespace does not exist" + :severity: Info + :module: :source:`src/mongo/db/commands/touch.cpp#L96` + +.. line: uassert( 16154, "namespace does not exist", nsd ); + +.. error:: 16154 + + :message: "namespace does not exist" + :throws: UserException + :module: :source:`src/mongo/util/touch_pages.cpp#L45` + +.. line: uassert( 16157, errorMessage, connectionString.isValid() ); + +.. error:: 16157 + + :message: errorMessage, connectionString.isValid() ); + :throws: UserException + :module: :source:`src/mongo/scripting/bench.cpp#L200` + +.. line: uassert( 16158, errorMessage, connection != NULL ); + +.. error:: 16158 + + :message: errorMessage, connection != NULL ); + :throws: UserException + :module: :source:`src/mongo/scripting/bench.cpp#L202` + +.. line: massert( 16159, "manual keyFieldsOnly config not allowed", false ); + +.. error:: 16159 + + :message: "manual keyFieldsOnly config not allowed" + :severity: Info + :module: :source:`src/mongo/db/cursor.h#L211` + +.. line: fassert(16160, !clock_gettime(CLOCK_MONOTONIC, &the_time)); + +.. error:: 16160 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/timer-posixclock-inl.h#L36` + +.. line: fassert(16161, QueryPerformanceCounter(&i)); + +.. error:: 16161 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/timer-win32-inl.h#L37` + +.. line: fassert(16162, !clock_gettime(CLOCK_MONOTONIC, &the_time)); + +.. error:: 16162 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/timer.cpp#L54` + +.. line: fassert(16163, static_cast(the_time.tv_sec) < maxSecs); + +.. error:: 16163 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/timer.cpp#L55` + +.. line: uassert(16164, "loopCommands config not supported", args["loopCommands"].eoo()); + +.. error:: 16164 + + :message: "loopCommands config not supported" + :throws: UserException + :module: :source:`src/mongo/scripting/bench.cpp#L168` + +.. line: fassertFailed( 16165 ); + +.. error:: 16165 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/mmap_win.cpp#L117` + +.. line: fassertFailed( 16166 ); + +.. error:: 16166 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/mmap_win.cpp#L209` + +.. line: fassertFailed( 16167 ); + +.. error:: 16167 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/mmap_win.cpp#L288` + +.. line: fassertFailed( 16168 ); + +.. error:: 16168 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/mmap_win.cpp#L308` + +.. line: fassert( 16169 , _threadState != 0 ); + +.. error:: 16169 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/lockstate.cpp#L84` + +.. line: fassert( 16170 , _otherCount == 0 ); + +.. error:: 16170 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/lockstate.cpp#L206` + +.. line: fassert( 16171 , prevCount != 1 || what == this ); + +.. error:: 16171 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L295` + +.. line: uassert( 16172 , "couldn't get readlock to open admin db" , rl.got() ); + +.. error:: 16172 + + :message: "couldn't get readlock to open admin db" + :throws: UserException + :module: :source:`src/mongo/db/restapi.cpp#L241` + +.. line: uassert( 16173 , "couldn't get read lock to get admin auth credentials" , rl.got() ); + +.. error:: 16173 + + :message: "couldn't get read lock to get admin auth credentials" + :throws: UserException + :module: :source:`src/mongo/db/restapi.cpp#L254` + +.. line: uassert( 16174 , "couldn't get read lock to check admin user" , rl.got() ); + +.. error:: 16174 + + :message: "couldn't get read lock to check admin user" + :throws: UserException + :module: :source:`src/mongo/db/restapi.cpp#L263` + +.. line: fassert(16175, rotateLogs()); + +.. error:: 16175 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/dbcommands_generic.cpp#L347` + +.. line: fassert(16176, rotateLogs()); + +.. error:: 16176 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/cmdline.cpp#L526` + +.. line: massert( 16177 , "not codeWScope" , type() == CodeWScope ); + +.. error:: 16177 + + :message: "not codeWScope" + :severity: Info + :module: :source:`src/mongo/bson/bsonelement.h#L265` + +.. line: massert( 16178 , "not codeWScope" , type() == CodeWScope ); + +.. error:: 16178 + + :message: "not codeWScope" + :severity: Info + :module: :source:`src/mongo/bson/bsonelement.h#L272` + +.. line: uassert( 16181, str::stream() << "could not initialize cursor to config server chunks collection for ns " << ns, cursor.get() ); + +.. error:: 16181 + + :message: str::stream() << "could not initialize cursor to config server chunks collection for ns " << ns, cursor.get() ); + :throws: UserException + :module: :source:`src/mongo/s/d_chunk_manager.cpp#L128` + +.. line: uassert( 16185 , errorString.str(), false ); + +.. error:: 16185 + + :message: errorString.str(), false ); + :throws: UserException + :module: :source:`src/mongo/db/database.cpp#L85` + +.. line: massert( 16186 , "can't get a DBWrite while having a read lock" , ! ls.hasAnyReadLock() ); + +.. error:: 16186 + + :message: "can't get a DBWrite while having a read lock" + :severity: Info + :module: :source:`src/mongo/db/d_concurrency.cpp#L559` + +.. line: fassert( 16187, lockState().threadState() == 'w' ); + +.. error:: 16187 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L733` + +.. line: fassert( 16188, lockState().threadState() == 'W' ); + +.. error:: 16188 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L747` + +.. line: fassert( 16189, lockState().threadState() == 'w' ); + +.. error:: 16189 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L753` + +.. line: # define MONGO_dassert(x) fassert(16199, (x)) + +.. error:: 16199 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/assert_util.h#L200` + +.. line: default : fassertFailed(16200); + +.. error:: 16200 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L116` + +.. line: fassert(16201, W.n == 0); + +.. error:: 16201 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L122` + +.. line: fassert( 16202, W.n == 1 ); + +.. error:: 16202 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L207` + +.. line: fassert(16203, W.n == 1); + +.. error:: 16203 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L218` + +.. line: fassert(16204, R.n == 0); + +.. error:: 16204 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L219` + +.. line: fassert(16205, U.n == 0); + +.. error:: 16205 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L220` + +.. line: fassert(16206, R.n > 0); + +.. error:: 16206 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L238` + +.. line: fassert(16207, W.n == 0); + +.. error:: 16207 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L239` + +.. line: fassert(16208, U.n == 0); + +.. error:: 16208 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L240` + +.. line: fassert(16209, R.n == 1); + +.. error:: 16209 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L251` + +.. line: fassert(16210, W.n == 0); + +.. error:: 16210 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L252` + +.. line: fassert(16211, U.n == 1); + +.. error:: 16211 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L253` + +.. line: fassert( 16212, w.n > 0 ); + +.. error:: 16212 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L263` + +.. line: fassert( 16214, X_legal() ); + +.. error:: 16214 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L274` + +.. line: fassert( 16215, w.n == 0 ); + +.. error:: 16215 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L275` + +.. line: fassert( 16216, R.n == 0 ); + +.. error:: 16216 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L284` + +.. line: fassert( 16217, w.n > 0 ); + +.. error:: 16217 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L285` + +.. line: fassert( 16219, W.n == 0 ); + +.. error:: 16219 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L292` + +.. line: fassert( 16220, R.n == 0 ); + +.. error:: 16220 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L293` + +.. line: fassert( 16221, w.n == 0 ); + +.. error:: 16221 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L294` + +.. line: fassert( 16222, X.n > 0 ); + +.. error:: 16222 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/concurrency/qlock.h#L295` + +.. line: fassertFailed( 16225 ); + +.. error:: 16225 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/mmap_win.cpp#L186` + +.. line: fassert(16226, strftime(buf, sizeof(buf), fmt, &t) == 19); + +.. error:: 16226 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/time_support.cpp#L60` + +.. line: fassert(16227, strftime(buf, sizeof(buf), fmt, &t) == 20); + +.. error:: 16227 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/time_support.cpp#L70` + +.. line: fassert(16228, s <= 0xffffffff ); + +.. error:: 16228 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/time_support.cpp#L102` + +.. line: uassert( 16229, + +.. error:: 16229 + + :message: + :throws: UserException + :module: :source:`src/mongo/s/d_chunk_manager.cpp#L161` + +.. line: fassert( 16231 , _otherCount == 0 ); + +.. error:: 16231 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/lockstate.cpp#L201` + +.. line: fassert( 16232, !_usingTempAuth ); + +.. error:: 16232 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/security.cpp#L35` + +.. line: fassert( 16233, failedAttempts < maxFailedAttempts); + +.. error:: 16233 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/repl/rs_initialsync.cpp#L66` + +.. line: msgasserted(16234, "Invalid call to appendNull in BSONObj Builder."); + +.. error:: 16234 + + :message: "Invalid call to appendNull in BSONObj Builder." + :severity: Info + :module: :source:`src/mongo/bson/bsonobjbuilder.h#L417` + +.. line: massert(16235, "going to start syncing, but buffer is not empty", _buffer.empty()); + +.. error:: 16235 + + :message: "going to start syncing, but buffer is not empty" + :severity: Info + :module: :source:`src/mongo/db/repl/bgsync.cpp#L519` + +.. line: DEV fassert( 16236 , ! inConstructorChain(true) ); + +.. error:: 16236 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/record.cpp#L445` + +.. line: massert( 16237, str::stream() << "readahead failed on fd " << fd -.. error:: 16147 +.. error:: 16237 - :message: "Already + :message: str::stream() << "readahead failed on fd " << fd :severity: Info - :module: :source:`src/mongo/scripting/bench.cpp#L223` + :module: :source:`src/mongo/util/touch_pages.cpp#L75` -.. error:: 16152 +.. line: massert( 16238, "can't fetch extent file structure", mdf ); - :message: mongoutils::str::stream() +.. error:: 16238 + + :message: "can't fetch extent file structure" :severity: Info - :module: :source:`src/mongo/scripting/bench.cpp#L233` + :module: :source:`src/mongo/util/touch_pages.cpp#L49` -.. error:: 16157 +.. line: uassert( 16241 , "Currently only single field hashed index supported." , - :message: errorMessage, +.. error:: 16241 + + :message: "Currently only single field hashed index supported." :throws: UserException - :module: :source:`src/mongo/scripting/bench.cpp#L200` + :module: :source:`src/mongo/db/hashindex.cpp#L34` -.. error:: 16158 +.. line: uassert( 16242 , "Currently hashed indexes cannot guarantee uniqueness. Use a regular index." , + +.. error:: 16242 - :message: errorMessage, + :message: "Currently hashed indexes cannot guarantee uniqueness. Use a regular index." :throws: UserException - :module: :source:`src/mongo/scripting/bench.cpp#L202` + :module: :source:`src/mongo/db/hashindex.cpp#L36` -.. error:: 16164 +.. line: massert( 16243 , "error: no hashed index field" , - :message: "loopCommands - :throws: UserException - :module: :source:`src/mongo/scripting/bench.cpp#L168` +.. error:: 16243 -.. error:: 10206 + :message: "error: no hashed index field" + :severity: Info + :module: :source:`src/mongo/db/hashindex.cpp#L56` - :message: temp.str() - :throws: UserException - :module: :source:`src/mongo/scripting/engine.cpp#L85` +.. line: uassert( 16244 , "Error: hashed indexes do not currently support array values" , fieldVal.type() != Array ); -.. error:: 10207 +.. error:: 16244 - :message: "compile + :message: "Error: hashed indexes do not currently support array values" :throws: UserException - :module: :source:`src/mongo/scripting/engine.cpp#L92` + :module: :source:`src/mongo/db/hashindex.cpp#L75` -.. error:: 10208 +.. line: massert( 16245 , "Only HashVersion 0 has been defined" , v == 0 ); - :message: "need - :throws: UserException - :module: :source:`src/mongo/scripting/engine.cpp#L178` +.. error:: 16245 -.. error:: 10209 + :message: "Only HashVersion 0 has been defined" + :severity: Info + :module: :source:`src/mongo/db/hashindex.cpp#L161` - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/scripting/engine.cpp#L199` +.. line: uassert(16246, "Shard " + conf->getName() + " is too old to support GridFS sharded by {files_id:1, n:1}", -.. error:: 10210 +.. error:: 16246 - :message: "value + :message: "Shard " + conf->getName() + " is too old to support GridFS sharded by {files_id:1, n:1}", :throws: UserException - :module: :source:`src/mongo/scripting/engine.cpp#L200` - -.. error:: 10430 + :module: :source:`src/mongo/s/commands_public.cpp#L975` - :message: "invalid - :severity: Info - :module: :source:`src/mongo/scripting/engine.cpp#L170` +.. line: massert(16247, "md5 state not correct size", len == sizeof(st)); -.. error:: 10448 +.. error:: 16247 - :message: "invalid + :message: "md5 state not correct size" :severity: Info - :module: :source:`src/mongo/scripting/engine.cpp#L161` + :module: :source:`src/mongo/db/dbcommands.cpp#L1090` -.. error:: 13474 +.. line: fassert( 16249, queryPlan().matcher() ); - :message: "no - :severity: Info - :module: :source:`src/mongo/scripting/engine.h#L202` +.. error:: 16249 -.. error:: 9004 + :message: + :severity: Abort + :module: :source:`src/mongo/db/queryoptimizercursorimpl.cpp#L99` - :message: (string)"invoke - :throws: UserException - :module: :source:`src/mongo/scripting/engine.h#L92` +.. line: uassert( 16250 , "w has to be a string or a number" , w.type() == String ); -.. error:: 9005 +.. error:: 16250 - :message: (string)"invoke + :message: "w has to be a string or a number" :throws: UserException - :module: :source:`src/mongo/scripting/engine.h#L101` - -.. error:: 10212 + :module: :source:`src/mongo/db/repl_block.cpp#L150` - :message: "holder - :throws: UserException - :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L81` +.. line: fassert( 16252, !db.empty() ); -.. error:: 10214 +.. error:: 16252 - :message: "not - :throws: UserException - :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L230` + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L509` -.. error:: 10215 +.. line: fassert( 16253, !ns.empty() ); - :message: "not - :throws: UserException - :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L318` +.. error:: 16253 -.. error:: 10216 + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L550` - :message: "not - :throws: UserException - :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L327` +.. line: fassert( 16254, !ns.empty() ); -.. error:: 10217 +.. error:: 16254 - :message: (string)"can't - :throws: UserException - :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L384` + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L586` -.. error:: 10218 +.. line: fassert( 16255, !db.empty() ); - :message: "not - :throws: UserException - :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L718` +.. error:: 16255 -.. error:: 10219 + :message: + :severity: Abort + :module: :source:`src/mongo/db/d_concurrency.cpp#L701` - :message: "object - :throws: UserException - :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L745` +.. line: uassert( 16256, str::stream() << "Invalid ns [" << ns << "]", nsString.isValid() ); -.. error:: 10220 +.. error:: 16256 - :message: "don't + :message: str::stream() << "Invalid ns [" << ns << "]", nsString.isValid() ); :throws: UserException - :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L845` - -.. error:: 10221 + :module: :source:`src/mongo/db/ops/query.cpp#L911` - :message: "JS_NewRuntime - :throws: UserException - :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1374` +.. line: uassert( 16257, str::stream() << "Invalid ns [" << ns << "]", false ); -.. error:: 10223 +.. error:: 16257 - :message: "deleted + :message: str::stream() << "Invalid ns [" << ns << "]", false ); :throws: UserException - :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1457` - -.. error:: 10224 + :module: :source:`src/mongo/db/instance.cpp#L427` - :message: "already - :throws: UserException - :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1503` +.. line: uassert( 16258, str::stream() << "Invalid ns [" << ns << "]", nsString.isValid() ); -.. error:: 10225 +.. error:: 16258 - :message: "already + :message: str::stream() << "Invalid ns [" << ns << "]", nsString.isValid() ); :throws: UserException - :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1513` - -.. error:: 10226 + :module: :source:`src/mongo/db/instance.cpp#L660` - :message: "connected - :throws: UserException - :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1515` +.. line: uassert( 16259, -.. error:: 10227 +.. error:: 16259 - :message: "unknown + :message: :throws: UserException - :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1584` - -.. error:: 10228 + :module: :source:`src/mongo/scripting/utils.cpp#L49` - :message: mongoutils::str::stream() - :throws: UserException - :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1755` +.. line: uassert( 16260 , "skip has to be positive" , skip >= 0 ); -.. error:: 10431 +.. error:: 16260 - :message: "JS_NewContext - :severity: Info - :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1433` + :message: "skip has to be positive" + :throws: UserException + :module: :source:`src/mongo/s/commands_public.cpp#L518` -.. error:: 10432 +.. line: mongo::fassert( 16265, connectionString.isValid() ); - :message: "JS_NewObject - :severity: Info - :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1440` +.. error:: 16265 -.. error:: 10433 + :message: + :severity: Abort + :module: :source:`src/mongo/tools/loadgenerator.cpp#L111` - :message: "js - :severity: Info - :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1442` +.. line: mongo::fassert( 16266, connection != NULL ); -.. error:: 13072 +.. error:: 16266 - :message: (string)"JS_NewObject - :severity: Info - :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L40` + :message: + :severity: Abort + :module: :source:`src/mongo/tools/loadgenerator.cpp#L113` -.. error:: 13076 +.. line: mongo::fassert( 16267, connection->getLastError().empty() ); - :message: (string)"recursive - :throws: UserException - :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L151` +.. error:: 16267 -.. error:: 13615 + :message: + :severity: Abort + :module: :source:`src/mongo/tools/loadgenerator.cpp#L130` - :message: "JS - :severity: Info - :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L44` +.. line: uasserted( 16268, "error converting UTF-16 string to UTF-8" ); .. error:: 16268 - :message: "error + :message: "error converting UTF-16 string to UTF-8" :throws: UserException :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L201` +.. line: fassertFailed( 16269 ); + .. error:: 16269 :message: :severity: Abort :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L306` +.. line: uassert( 16270, "conversion from string to JavaScript value failed", false ); + .. error:: 16270 - :message: "conversion + :message: "conversion from string to JavaScript value failed" :throws: UserException :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L526` +.. line: fassertFailed( 16271 ); + .. error:: 16271 :message: :severity: Abort :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L799` +.. line: fassertFailed( 16272 ); + .. error:: 16272 :message: :severity: Abort :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L856` +.. line: fassertFailed( 16273 ); + .. error:: 16273 :message: :severity: Abort :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L880` +.. line: fassertFailed( 16274 ); + .. error:: 16274 :message: :severity: Abort :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L931` +.. line: fassertFailed( 16275 ); + .. error:: 16275 :message: :severity: Abort :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L956` +.. line: fassertFailed( 16276 ); + .. error:: 16276 :message: :severity: Abort :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L978` +.. line: fassertFailed( 16277 ); + .. error:: 16277 :message: :severity: Abort :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1082` +.. line: fassertFailed( 16278 ); + .. error:: 16278 :message: :severity: Abort :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1113` +.. line: fassertFailed( 16279 ); + .. error:: 16279 :message: :severity: Abort :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1144` +.. line: fassertFailed( 16280 ); + .. error:: 16280 :message: :severity: Abort :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1172` +.. line: fassertFailed( 16281 ); + .. error:: 16281 :message: :severity: Abort :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1221` +.. line: fassertFailed( 16282 ); + .. error:: 16282 :message: :severity: Abort :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1284` +.. line: fassertFailed( 16283 ); + .. error:: 16283 :message: :severity: Abort :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1306` -.. error:: 16284 - - :message: - :severity: Abort - :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1357` - -.. error:: 16285 - - :message: - :severity: Abort - :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1788` - -.. error:: 16286 - - :message: - :severity: Abort - :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1817` - -.. error:: 16287 - - :message: - :severity: Abort - :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1968` - -.. error:: 10230 - - :message: "can't - :throws: UserException - :module: :source:`src/mongo/scripting/engine_v8.cpp#L646` - -.. error:: 10231 - - :message: "not - :throws: UserException - :module: :source:`src/mongo/scripting/engine_v8.cpp#L691` - -.. error:: 10232 - - :message: "not - :throws: UserException - :module: :source:`src/mongo/scripting/engine_v8.cpp#L753` - -.. error:: 10233 - - :message: _error - :throws: UserException - :module: :source:`src/mongo/scripting/engine_v8.cpp#L863` - -.. error:: 10234 - - :message: _error - :throws: UserException - :module: :source:`src/mongo/scripting/engine_v8.cpp#L890` - -.. error:: 12509 - - :message: (string)"don't - :throws: UserException - :module: :source:`src/mongo/scripting/engine_v8.cpp#L654` - -.. error:: 12510 - - :message: "externalSetup - :throws: UserException - :module: :source:`src/mongo/scripting/engine_v8.cpp#L955` - -.. error:: 12511 - - :message: "localConnect - :throws: UserException - :module: :source:`src/mongo/scripting/engine_v8.cpp#L959` - -.. error:: 12512 - - :message: "localConnect - :throws: UserException - :module: :source:`src/mongo/scripting/engine_v8.cpp#L978` - -.. error:: 13475 - - :message: _error - :throws: UserException - :module: :source:`src/mongo/scripting/engine_v8.cpp#L873` +.. line: fassertFailed( 16284 ); -.. error:: 10235 +.. error:: 16284 - :message: "no - :throws: UserException - :module: :source:`src/mongo/scripting/sm_db.cpp#L75` + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1357` -.. error:: 10236 +.. line: fassertFailed( 16285 ); - :message: "no - :throws: UserException - :module: :source:`src/mongo/scripting/sm_db.cpp#L81` +.. error:: 16285 -.. error:: 10239 + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1788` - :message: "no - :throws: UserException - :module: :source:`src/mongo/scripting/sm_db.cpp#L279` +.. line: fassertFailed( 16286 ); -.. error:: 10245 +.. error:: 16286 - :message: "no - :throws: UserException - :module: :source:`src/mongo/scripting/sm_db.cpp#L452` + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1817` -.. error:: 10248 +.. line: fassertFailed( 16287 ); - :message: "no - :throws: UserException - :module: :source:`src/mongo/scripting/sm_db.cpp#L492` +.. error:: 16287 -.. error:: 10251 + :message: + :severity: Abort + :module: :source:`src/mongo/scripting/engine_spidermonkey.cpp#L1968` - :message: "no - :throws: UserException - :module: :source:`src/mongo/scripting/sm_db.cpp#L554` +.. line: fassertFailed( 16288 ); .. error:: 16288 @@ -6528,1204 +8718,1380 @@ MongoDB Error and Message Codes :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L92` +.. line: fassertFailed( 16289 ); + .. error:: 16289 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L112` +.. line: fassertFailed( 16290 ); + .. error:: 16290 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L129` +.. line: fassertFailed( 16291 ); + .. error:: 16291 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L148` +.. line: fassertFailed( 16292 ); + .. error:: 16292 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L173` +.. line: fassertFailed( 16293 ); + .. error:: 16293 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L219` +.. line: fassertFailed( 16294 ); + .. error:: 16294 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L257` +.. line: fassertFailed( 16295 ); + .. error:: 16295 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L272` +.. line: fassertFailed( 16296 ); + .. error:: 16296 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L298` +.. line: fassertFailed( 16297 ); + .. error:: 16297 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L349` +.. line: fassertFailed( 16298 ); + .. error:: 16298 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L434` +.. line: fassertFailed( 16299 ); + .. error:: 16299 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L475` +.. line: fassertFailed( 16300 ); + .. error:: 16300 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L537` +.. line: fassertFailed( 16301 ); + .. error:: 16301 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L578` +.. line: fassertFailed( 16302 ); + .. error:: 16302 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L617` +.. line: fassertFailed( 16303 ); + .. error:: 16303 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L662` +.. line: fassertFailed( 16304 ); + .. error:: 16304 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L729` +.. line: fassertFailed( 16305 ); + .. error:: 16305 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L768` +.. line: fassertFailed( 16306 ); + .. error:: 16306 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L816` +.. line: fassertFailed( 16307 ); + .. error:: 16307 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L857` +.. line: fassertFailed( 16308 ); + .. error:: 16308 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L902` +.. line: fassertFailed( 16309 ); + .. error:: 16309 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L1025` +.. line: fassertFailed( 16310 ); + .. error:: 16310 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L1053` +.. line: fassertFailed( 16311 ); + .. error:: 16311 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L1078` +.. line: fassertFailed( 16312 ); + .. error:: 16312 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L1109` +.. line: fassertFailed( 16313 ); + .. error:: 16313 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L1129` +.. line: fassertFailed( 16314 ); + .. error:: 16314 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L1174` +.. line: fassertFailed( 16315 ); + .. error:: 16315 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L1197` +.. line: fassertFailed( 16316 ); + .. error:: 16316 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L1253` +.. line: fassertFailed( 16317 ); + .. error:: 16317 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L1305` +.. line: fassertFailed( 16318 ); + .. error:: 16318 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L1323` +.. line: fassertFailed( 16319 ); + .. error:: 16319 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L1355` +.. line: fassertFailed( 16320 ); + .. error:: 16320 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L1414` +.. line: fassertFailed( 16321 ); + .. error:: 16321 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L1432` +.. line: fassertFailed( 16322 ); + .. error:: 16322 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L1456` +.. line: fassertFailed( 16323 ); + .. error:: 16323 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L1540` +.. line: fassertFailed( 16324 ); + .. error:: 16324 :message: :severity: Abort :module: :source:`src/mongo/scripting/sm_db.cpp#L1567` -.. error:: 16396 +.. line: fassert( 16325, minOSPageSizeBytes > 0 ); + +.. error:: 16325 :message: :severity: Abort - :module: :source:`src/mongo/scripting/sm_db.cpp#L384` + :module: :source:`src/mongo/util/mmap.cpp#L35` -.. error:: 10261 +.. line: fassert( 16326, minOSPageSizeBytes < 1000000 ); + +.. error:: 16326 - :message: , + :message: + :severity: Abort + :module: :source:`src/mongo/util/mmap.cpp#L36` + +.. line: fassert( 16327, (minOSPageSizeBytes & (minOSPageSizeBytes - 1)) == 0); + +.. error:: 16327 + + :message: + :severity: Abort + :module: :source:`src/mongo/util/mmap.cpp#L38` + +.. line: uassert( 16328 , str::stream() << "document is larger than capped size " + +.. error:: 16328 + + :message: str::stream() << "document is larger than capped size " :throws: UserException - :module: :source:`src/mongo/scripting/utils.cpp#L27` + :module: :source:`src/mongo/db/cap.cpp#L200` -.. error:: 16259 +.. line: uassert(16329, str::stream() << "read error, or input line too long (max length: " + +.. error:: 16329 - :message: , + :message: str::stream() << "read error, or input line too long (max length: " :throws: UserException - :module: :source:`src/mongo/scripting/utils.cpp#L49` + :module: :source:`src/mongo/tools/import.cpp#L127` -.. error:: 10258 +.. line: uassert( 16330, "'special' query operator not allowed", _allowSpecial ); + +.. error:: 16330 - :message: "processinfo + :message: "'special' query operator not allowed" :throws: UserException - :module: :source:`src/mongo/shell/shell_utils.cpp#L80` + :module: :source:`src/mongo/db/queryoptimizer.cpp#L654` -.. error:: 12513 +.. line: uassert( 16331, "'special' plan hint not allowed", + +.. error:: 16331 - :message: "connect + :message: "'special' plan hint not allowed" :throws: UserException - :module: :source:`src/mongo/shell/shell_utils.cpp#L151` + :module: :source:`src/mongo/db/queryoptimizer.cpp#L750` -.. error:: 12514 +.. line: uassert( 16332 , "can't have an empty ns" , ns[0] ); - :message: "login +.. error:: 16332 + + :message: "can't have an empty ns" :throws: UserException - :module: :source:`src/mongo/shell/shell_utils.cpp#L154` + :module: :source:`src/mongo/db/ops/query.cpp#L900` -.. error:: 12518 +.. line: massert( 16333 , + +.. error:: 16333 + + :message: + :severity: Info + :module: :source:`src/mongo/db/dbhelpers.cpp#L244` + +.. line: massert( 16334, str::stream() << "cannot set version or shard on custom connection " << conn->toString(), false ); + +.. error:: 16334 + + :message: str::stream() << "cannot set version or shard on custom connection " << conn->toString(), false ); + :severity: Info + :module: :source:`src/mongo/s/shard_version.cpp#L90` + +.. line: uassert( 16335, "custom connection to " + this->toString() + + +.. error:: 16335 - :message: "srand + :message: "custom connection to " + this->toString() + :throws: UserException - :module: :source:`src/mongo/shell/shell_utils.cpp#L97` + :module: :source:`src/mongo/client/dbclient.cpp#L134` -.. error:: 12519 +.. line: uasserted( 16336, + +.. error:: 16336 - :message: "rand + :message: :throws: UserException - :module: :source:`src/mongo/shell/shell_utils.cpp#L108` + :module: :source:`src/mongo/s/strategy_shard.cpp#L191` -.. error:: 12597 +.. line: uassert( 16337, "Unknown read preference", false ); + +.. error:: 16337 - :message: "need + :message: "Unknown read preference" :throws: UserException - :module: :source:`src/mongo/shell/shell_utils.cpp#L55` + :module: :source:`src/mongo/client/dbclient_rs.cpp#L1112` -.. error:: 13006 +.. line: uasserted( 16338, ss.str() ); + +.. error:: 16338 - :message: "isWindows + :message: ss.str() ); :throws: UserException - :module: :source:`src/mongo/shell/shell_utils.cpp#L119` + :module: :source:`src/mongo/s/chunk.cpp#L1234` -.. error:: 10257 +.. line: fassertFailed(16339); + +.. error:: 16339 + + :message: + :severity: Abort + :module: :source:`src/mongo/db/lockstat.cpp#L87` + +.. line: uassert( 16340, str::stream() << "No replica set monitor active and no cached seed " + +.. error:: 16340 + + :message: str::stream() << "No replica set monitor active and no cached seed " + :throws: UserException + :module: :source:`src/mongo/client/dbclient_rs.cpp#L1270` + +.. line: massert( 16341 , + +.. error:: 16341 + + :message: + :severity: Info + :module: :source:`src/mongo/db/dbhelpers.cpp#L238` + +.. line: uassert( 16342, "elemMatch: invalid argument. object required.", + +.. error:: 16342 + + :message: "elemMatch: invalid argument. object required." + :throws: UserException + :module: :source:`src/mongo/db/projection.cpp#L66` + +.. line: uassert( 16343, "Cannot specify positional operator and $elemMatch" + +.. error:: 16343 + + :message: "Cannot specify positional operator and $elemMatch" + :throws: UserException + :module: :source:`src/mongo/db/projection.cpp#L68` + +.. line: uassert( 16344, "Cannot use $elemMatch projection on a nested field" + +.. error:: 16344 + + :message: "Cannot use $elemMatch projection on a nested field" + :throws: UserException + :module: :source:`src/mongo/db/projection.cpp#L71` + +.. line: uassert( 16345, "Cannot exclude array elements with the positional operator" + +.. error:: 16345 + + :message: "Cannot exclude array elements with the positional operator" + :throws: UserException + :module: :source:`src/mongo/db/projection.cpp#L107` + +.. line: uassert( 16346, "Cannot specify more than one positional array element per query" + +.. error:: 16346 + + :message: "Cannot specify more than one positional array element per query" + :throws: UserException + :module: :source:`src/mongo/db/projection.cpp#L109` + +.. line: uassert( 16347, "Cannot specify positional operator and $elemMatch" + +.. error:: 16347 + + :message: "Cannot specify positional operator and $elemMatch" + :throws: UserException + :module: :source:`src/mongo/db/projection.cpp#L111` + +.. line: massert( 16348, "matchers are only supported for $elemMatch", + +.. error:: 16348 + + :message: "matchers are only supported for $elemMatch" + :severity: Info + :module: :source:`src/mongo/db/projection.cpp#L174` + +.. line: massert( 16349, "$elemMatch specified, but projection field not found.", + +.. error:: 16349 + + :message: "$elemMatch specified, but projection field not found." + :severity: Info + :module: :source:`src/mongo/db/projection.cpp#L184` + +.. line: massert( 16350, "$elemMatch called on document element with eoo", + +.. error:: 16350 + + :message: "$elemMatch called on document element with eoo" + :severity: Info + :module: :source:`src/mongo/db/projection.cpp#L188` + +.. line: massert( 16351, "$elemMatch called on array element with eoo", + +.. error:: 16351 + + :message: "$elemMatch called on array element with eoo" + :severity: Info + :module: :source:`src/mongo/db/projection.cpp#L190` + +.. line: uassert( 16352, mongoutils::str::stream() << "positional operator (" + +.. error:: 16352 + + :message: mongoutils::str::stream() << "positional operator (" + :throws: UserException + :module: :source:`src/mongo/db/projection.cpp#L287` + +.. line: uassert( 16353, "positional operator element mismatch", + +.. error:: 16353 + + :message: "positional operator element mismatch" + :throws: UserException + :module: :source:`src/mongo/db/projection.cpp#L292` + +.. line: uasserted( 16354, "Positional operator does not match the query specifier." ); + +.. error:: 16354 + + :message: "Positional operator does not match the query specifier." + :throws: UserException + :module: :source:`src/mongo/db/projection.cpp#L343` + +.. line: massert( 16355, "positional operator specified, but no array match", + +.. error:: 16355 + + :message: "positional operator specified, but no array match" + :severity: Info + :module: :source:`src/mongo/db/scanandorder.cpp#L78` + +.. line: uassert( 16356 , str::stream() << "tag ranges not valid for: " << ns , + +.. error:: 16356 - :message: "need + :message: str::stream() << "tag ranges not valid for: " << ns , :throws: UserException - :module: :source:`src/mongo/shell/shell_utils_extended.cpp#L45` + :module: :source:`src/mongo/s/balance.cpp#L236` -.. error:: 12581 +.. line: uassert(16357, "Tags should be a BSON object", nextTag.isABSONObj()); - :message: msg.c_str(), +.. error:: 16357 + + :message: "Tags should be a BSON object" :throws: UserException - :module: :source:`src/mongo/shell/shell_utils_extended.cpp#L54` + :module: :source:`src/mongo/client/dbclient_rs.cpp#L1813` -.. error:: 13301 +.. line: uassert(16358, "Tags should be a BSON object", nextTag.isABSONObj()); + +.. error:: 16358 - :message: "cat() + :message: "Tags should be a BSON object" :throws: UserException - :module: :source:`src/mongo/shell/shell_utils_extended.cpp#L138` + :module: :source:`src/mongo/client/dbclient_rs.cpp#L1220` -.. error:: 13411 +.. line: fassert(16359, st->syncApply(*it)); - :message: "getHostName - :throws: UserException - :module: :source:`src/mongo/shell/shell_utils_extended.cpp#L204` +.. error:: 16359 -.. error:: 13619 + :message: + :severity: Abort + :module: :source:`src/mongo/db/repl/rs_sync.cpp#L114` - :message: "fuzzFile - :throws: UserException - :module: :source:`src/mongo/shell/shell_utils_extended.cpp#L189` +.. line: fassertFailed(16360); -.. error:: 13620 +.. error:: 16360 - :message: "couldn't - :throws: UserException - :module: :source:`src/mongo/shell/shell_utils_extended.cpp#L192` + :message: + :severity: Abort + :module: :source:`src/mongo/db/repl/rs_sync.cpp#L118` -.. error:: 14042 +.. line: fassertFailed(16361); - :message: ss.str(), - :throws: UserException - :module: :source:`src/mongo/shell/shell_utils_launcher.cpp#L376` +.. error:: 16361 -.. error:: 15852 + :message: + :severity: Abort + :module: :source:`src/mongo/db/repl/rs_sync.cpp#L154` - :message: "stopMongoByPid - :throws: UserException - :module: :source:`src/mongo/shell/shell_utils_launcher.cpp#L712` +.. line: fassertFailed( 16362 ); -.. error:: 15853 +.. error:: 16362 - :message: "stopMongo - :throws: UserException - :module: :source:`src/mongo/shell/shell_utils_launcher.cpp#L703` + :message: + :severity: Abort + :module: :source:`src/mongo/util/mmap_win.cpp#L264` + +.. line: uassert( 16363, "_id is not a number", args["_id"].isNumber() ); .. error:: 16363 - :message: "_id + :message: "_id is not a number" :throws: UserException :module: :source:`src/mongo/tools/docgenerator.cpp#L27` +.. line: uassert( 16364, "blob is not a string", (args["blob"].type() == String) ); + .. error:: 16364 - :message: "blob + :message: "blob is not a string" :throws: UserException :module: :source:`src/mongo/tools/docgenerator.cpp#L30` +.. line: uassert( 16365, "nestedDoc is not an object", (args["nestedDoc"].type() == Object) ); + .. error:: 16365 - :message: "nestedDoc + :message: "nestedDoc is not an object" :throws: UserException :module: :source:`src/mongo/tools/docgenerator.cpp#L33` +.. line: uassert( 16366, "list is not an array", args["list"].type() == Array ); + .. error:: 16366 - :message: "list + :message: "list is not an array" :throws: UserException :module: :source:`src/mongo/tools/docgenerator.cpp#L36` +.. line: uassert( 16367, "list member is not a string", list[i].type() == String ); + .. error:: 16367 - :message: "list + :message: "list member is not a string" :throws: UserException :module: :source:`src/mongo/tools/docgenerator.cpp#L39` +.. line: uassert( 16368, "counter is not a number", args["counter"].isNumber() ); + .. error:: 16368 - :message: "counter + :message: "counter is not a number" :throws: UserException :module: :source:`src/mongo/tools/docgenerator.cpp#L43` -.. error:: 10262 - - :message: errnoWithPrefix("couldn't - :throws: UserException - :module: :source:`src/mongo/tools/dump.cpp#L126` - -.. error:: 14035 - - :message: errnoWithPrefix("couldn't - :throws: UserException - :module: :source:`src/mongo/tools/dump.cpp#L78` +.. line: uassert( 16369, str::stream() << "No good nodes available for set: " -.. error:: 15933 +.. error:: 16369 - :message: "Couldn't + :message: str::stream() << "No good nodes available for set: " :throws: UserException - :module: :source:`src/mongo/tools/dump.cpp#L141` - -.. error:: 10263 + :module: :source:`src/mongo/client/dbclient_rs.cpp#L1343` - :message: "unknown - :throws: UserException - :module: :source:`src/mongo/tools/import.cpp#L131` +.. line: uasserted(16370, str::stream() << "Failed to do query, no good nodes in " -.. error:: 13289 +.. error:: 16370 - :message: "Invalid + :message: str::stream() << "Failed to do query, no good nodes in " :throws: UserException - :module: :source:`src/mongo/tools/import.cpp#L141` + :module: :source:`src/mongo/client/dbclient_rs.cpp#L1467` -.. error:: 13293 +.. line: fassert(16372, db); - :message: string("BSON - :throws: UserException - :module: :source:`src/mongo/tools/import.cpp#L162` +.. error:: 16372 -.. error:: 13295 + :message: + :severity: Abort + :module: :source:`src/mongo/db/introspect.cpp#L83` - :message: "JSONArray - :throws: UserException - :module: :source:`src/mongo/tools/import.cpp#L116` +.. line: uassert(16373, -.. error:: 13504 +.. error:: 16373 - :message: string("BSON + :message: :throws: UserException - :module: :source:`src/mongo/tools/import.cpp#L196` - -.. error:: 15854 + :module: :source:`src/mongo/db/pipeline/expression.cpp#L946` - :message: "CSV - :throws: UserException - :module: :source:`src/mongo/tools/import.cpp#L223` +.. line: uassert(16374, "$mod does not support dates", leftType != Date && rightType != Date); -.. error:: 16329 +.. error:: 16374 - :message: str::stream() + :message: "$mod does not support dates" :throws: UserException - :module: :source:`src/mongo/tools/import.cpp#L127` + :module: :source:`src/mongo/db/pipeline/expression.cpp#L1757` -.. error:: 16265 +.. line: uassert(16375, "$multiply does not support dates", pValue->getType() != Date); - :message: - :severity: Abort - :module: :source:`src/mongo/tools/loadgenerator.cpp#L111` +.. error:: 16375 -.. error:: 16266 + :message: "$multiply does not support dates" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L1858` - :message: - :severity: Abort - :module: :source:`src/mongo/tools/loadgenerator.cpp#L113` +.. line: uassert(16376, -.. error:: 16267 +.. error:: 16376 :message: - :severity: Abort - :module: :source:`src/mongo/tools/loadgenerator.cpp#L130` - -.. error:: 15934 - - :message: "JSON - :throws: UserException - :module: :source:`src/mongo/tools/restore.cpp#L389` - -.. error:: 15935 - - :message: "user :throws: UserException - :module: :source:`src/mongo/tools/restore.cpp#L83` - -.. error:: 15936 + :module: :source:`src/mongo/db/pipeline/expression.cpp#L2429` - :message: "Creating - :throws: UserException - :module: :source:`src/mongo/tools/restore.cpp#L453` +.. line: uassert(16378, str::stream() << -.. error:: 10266 +.. error:: 16378 - :message: "can't + :message: str::stream() << :throws: UserException - :module: :source:`src/mongo/tools/sniffer.cpp#L480` - -.. error:: 10267 + :module: :source:`src/mongo/db/pipeline/value.cpp#L725` - :message: "source - :throws: UserException - :module: :source:`src/mongo/tools/sniffer.cpp#L481` +.. line: uasserted(16379, str::stream() << "Failed to call findOne, no good nodes in " -.. error:: 10264 +.. error:: 16379 - :message: str::stream() + :message: str::stream() << "Failed to call findOne, no good nodes in " :throws: UserException - :module: :source:`src/mongo/tools/tool.cpp#L496` - -.. error:: 10265 + :module: :source:`src/mongo/client/dbclient_rs.cpp#L1501` - :message: "counts - :throws: UserException - :module: :source:`src/mongo/tools/tool.cpp#L532` +.. line: uasserted(16380, str::stream() << "Failed to call say, no good nodes in " -.. error:: 9997 +.. error:: 16380 - :message: (string)"authentication + :message: str::stream() << "Failed to call say, no good nodes in " :throws: UserException - :module: :source:`src/mongo/tools/tool.cpp#L435` - -.. error:: 9998 + :module: :source:`src/mongo/client/dbclient_rs.cpp#L1620` - :message: "you - :throws: UserException - :module: :source:`src/mongo/tools/tool.cpp#L398` +.. line: uassert(16381, "$readPreference should be an object", -.. error:: 9999 +.. error:: 16381 - :message: ((string)"file: + :message: "$readPreference should be an object" :throws: UserException - :module: :source:`src/mongo/tools/tool.cpp#L377` - -.. error:: 10162 - - :message: - :severity: Abort - :module: :source:`src/mongo/unittest/unittest.cpp#L241` + :module: :source:`src/mongo/client/dbclient_rs.cpp#L124` -.. error:: 16145 +.. line: uassert(16382, "mode not specified for read preference", prefDoc.hasField("mode")); - :message: - :severity: Abort - :module: :source:`src/mongo/unittest/unittest.cpp#L204` +.. error:: 16382 -.. error:: 13524 + :message: "mode not specified for read preference" + :throws: UserException + :module: :source:`src/mongo/client/dbclient_rs.cpp#L128` - :message: "out - :severity: Info - :module: :source:`src/mongo/util/alignedbuilder.cpp#L109` +.. line: uasserted(16383, str::stream() << "Unknown read preference mode: " << mode); -.. error:: 13584 +.. error:: 16383 - :message: "out + :message: str::stream() << "Unknown read preference mode: " << mode); :throws: UserException - :module: :source:`src/mongo/util/alignedbuilder.cpp#L27` - -.. error:: 10437 + :module: :source:`src/mongo/client/dbclient_rs.cpp#L148` - :message: "unknown - :severity: Info - :module: :source:`src/mongo/util/assert_util.h#L240` +.. line: uassert(16384, "Cannot specify tags for primary only read preference", -.. error:: 123 +.. error:: 16384 - :message: ErrorMsg("blah", + :message: "Cannot specify tags for primary only read preference" :throws: UserException - :module: :source:`src/mongo/util/assert_util.h#L72` - -.. error:: 13294 - - :message: ss.str() - :severity: Info - :module: :source:`src/mongo/util/assert_util.h#L238` + :module: :source:`src/mongo/client/dbclient_rs.cpp#L152` -.. error:: 14043 +.. line: uassert(16385, "tags for read preference should be an array", - :message: ss.str() - :severity: Info - :module: :source:`src/mongo/util/assert_util.h#L249` +.. error:: 16385 -.. error:: 14044 + :message: "tags for read preference should be an array" + :throws: UserException + :module: :source:`src/mongo/client/dbclient_rs.cpp#L156` - :message: std::string("unknown - :severity: Info - :module: :source:`src/mongo/util/assert_util.h#L251` +.. line: fassert(16387, false); -.. error:: 16199 +.. error:: 16387 :message: :severity: Abort - :module: :source:`src/mongo/util/assert_util.h#L200` - -.. error:: 13643 - - :message: mongoutils::str::stream() - :severity: Info - :module: :source:`src/mongo/util/background.cpp#L55` - -.. error:: 10270 - - :message: "invalid - :throws: UserException - :module: :source:`src/mongo/util/base64.cpp#L79` - -.. error:: 14050 + :module: :source:`src/mongo/util/mmap_win.cpp#L371` - :message: "List1: - :throws: UserException - :module: :source:`src/mongo/util/concurrency/list.h#L84` +.. line: uassert(16389, -.. error:: 16137 +.. error:: 16389 :message: - :severity: Abort - :module: :source:`src/mongo/util/concurrency/qlock.h#L319` - -.. error:: 16138 + :throws: UserException + :module: :source:`src/mongo/db/pipeline/pipeline.cpp#L409` - :message: - :severity: Abort - :module: :source:`src/mongo/util/concurrency/qlock.h#L325` +.. line: uassert(16390, str::stream() << "sharded pipeline failed on shard " << -.. error:: 16139 +.. error:: 16390 - :message: - :severity: Abort - :module: :source:`src/mongo/util/concurrency/qlock.h#L336` + :message: str::stream() << "sharded pipeline failed on shard " << + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_command_shards.cpp#L95` -.. error:: 16140 +.. line: massert(16391, str::stream() << "no result array? shard:" << - :message: - :severity: Abort - :module: :source:`src/mongo/util/concurrency/qlock.h#L343` +.. error:: 16391 -.. error:: 16200 + :message: str::stream() << "no result array? shard:" << + :severity: Info + :module: :source:`src/mongo/db/pipeline/document_source_command_shards.cpp#L102` - :message: - :severity: Abort - :module: :source:`src/mongo/util/concurrency/qlock.h#L116` +.. line: massert( 16392, -.. error:: 16201 +.. error:: 16392 :message: - :severity: Abort - :module: :source:`src/mongo/util/concurrency/qlock.h#L122` - -.. error:: 16202 + :severity: Info + :module: :source:`src/mongo/db/extsort.cpp#L269` - :message: - :severity: Abort - :module: :source:`src/mongo/util/concurrency/qlock.h#L207` +.. line: uassert(16395, "$where is not allowed inside of a $match aggregation expression", -.. error:: 16203 +.. error:: 16395 - :message: - :severity: Abort - :module: :source:`src/mongo/util/concurrency/qlock.h#L218` + :message: "$where is not allowed inside of a $match aggregation expression" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_match.cpp#L67` -.. error:: 16204 +.. line: fassertFailed(16396); + +.. error:: 16396 :message: :severity: Abort - :module: :source:`src/mongo/util/concurrency/qlock.h#L219` + :module: :source:`src/mongo/scripting/sm_db.cpp#L384` -.. error:: 16205 +.. line: fassertFailed(16397); + +.. error:: 16397 :message: :severity: Abort - :module: :source:`src/mongo/util/concurrency/qlock.h#L220` + :module: :source:`src/mongo/db/repl/rs_sync.cpp#L177` -.. error:: 16206 +.. line: uassert(16400, str::stream() - :message: - :severity: Abort - :module: :source:`src/mongo/util/concurrency/qlock.h#L238` +.. error:: 16400 -.. error:: 16207 + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L1196` - :message: - :severity: Abort - :module: :source:`src/mongo/util/concurrency/qlock.h#L239` +.. line: uassert(16401, str::stream() -.. error:: 16208 +.. error:: 16401 - :message: - :severity: Abort - :module: :source:`src/mongo/util/concurrency/qlock.h#L240` + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L1214` -.. error:: 16209 +.. line: massert(16402, "parseObject() returned wrong type of Expression", exprObj); - :message: - :severity: Abort - :module: :source:`src/mongo/util/concurrency/qlock.h#L251` +.. error:: 16402 -.. error:: 16210 + :message: "parseObject() returned wrong type of Expression" + :severity: Info + :module: :source:`src/mongo/db/pipeline/document_source_project.cpp#L127` - :message: - :severity: Abort - :module: :source:`src/mongo/util/concurrency/qlock.h#L252` +.. line: uassert(16403, "$projection requires at least one output field", exprObj->getFieldCount()); -.. error:: 16211 +.. error:: 16403 - :message: - :severity: Abort - :module: :source:`src/mongo/util/concurrency/qlock.h#L253` + :message: "$projection requires at least one output field" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_project.cpp#L128` -.. error:: 16212 +.. line: uassert(16404, "$expressions are not allowed at the top-level of $project", - :message: - :severity: Abort - :module: :source:`src/mongo/util/concurrency/qlock.h#L263` +.. error:: 16404 -.. error:: 16214 + :message: "$expressions are not allowed at the top-level of $project" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L93` - :message: - :severity: Abort - :module: :source:`src/mongo/util/concurrency/qlock.h#L274` +.. line: uassert(16405, "dotted field names are only allowed at the top level", -.. error:: 16215 +.. error:: 16405 - :message: - :severity: Abort - :module: :source:`src/mongo/util/concurrency/qlock.h#L275` + :message: "dotted field names are only allowed at the top level" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L106` -.. error:: 16216 +.. line: uassert(16406, + +.. error:: 16406 :message: - :severity: Abort - :module: :source:`src/mongo/util/concurrency/qlock.h#L284` + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L154` -.. error:: 16217 +.. line: uassert(16407, "inclusion not supported in objects nested in $expressions", - :message: - :severity: Abort - :module: :source:`src/mongo/util/concurrency/qlock.h#L285` +.. error:: 16407 -.. error:: 16219 + :message: "inclusion not supported in objects nested in $expressions" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L1014` - :message: - :severity: Abort - :module: :source:`src/mongo/util/concurrency/qlock.h#L292` +.. line: fassert( 16408, &idx.idxInterface() == &sorter.getIndexInterface() ); -.. error:: 16220 +.. error:: 16408 :message: :severity: Abort - :module: :source:`src/mongo/util/concurrency/qlock.h#L293` + :module: :source:`src/mongo/db/index_update.cpp#L306` -.. error:: 16221 +.. line: massert(16409, "FieldPath cannot be constructed from an empty vector.", !fieldPath.empty()); - :message: - :severity: Abort - :module: :source:`src/mongo/util/concurrency/qlock.h#L294` +.. error:: 16409 -.. error:: 16222 + :message: "FieldPath cannot be constructed from an empty vector." + :severity: Info + :module: :source:`src/mongo/db/pipeline/field_path.cpp#L28` - :message: - :severity: Abort - :module: :source:`src/mongo/util/concurrency/qlock.h#L295` +.. line: uassert(16410, "FieldPath field names may not start with '$'.", fieldName[0] != '$'); -.. error:: 10438 +.. error:: 16410 - :message: "ReadFile - :severity: Info - :module: :source:`src/mongo/util/file.h#L117` + :message: "FieldPath field names may not start with '$'." + :throws: UserException + :module: :source:`src/mongo/db/pipeline/field_path.cpp#L89` -.. error:: 10439 +.. line: uassert(16411, "FieldPath field names may not contain '\0'.", - :message: ""); +.. error:: 16411 + + :message: "FieldPath field names may not contain '\0'." :throws: UserException - :module: :source:`src/mongo/util/file_allocator.cpp#L294` + :module: :source:`src/mongo/db/pipeline/field_path.cpp#L90` -.. error:: 10440 +.. line: uassert(16412, "FieldPath field names may not contain '.'.", + +.. error:: 16412 - :message: ss.str(), + :message: "FieldPath field names may not contain '.'." :throws: UserException - :module: :source:`src/mongo/util/file_allocator.cpp#L178` + :module: :source:`src/mongo/db/pipeline/field_path.cpp#L92` -.. error:: 10441 +.. line: massert(16413, "$subtract resulted in a non-numeric type", false); - :message: str::stream() +.. error:: 16413 + + :message: "$subtract resulted in a non-numeric type" + :severity: Info + :module: :source:`src/mongo/db/pipeline/expression.cpp#L2446` + +.. line: uassert(16414, str::stream() << + +.. error:: 16414 + + :message: str::stream() << :throws: UserException - :module: :source:`src/mongo/util/file_allocator.cpp#L182` + :module: :source:`src/mongo/db/pipeline/document_source_group.cpp#L245` -.. error:: 10442 +.. line: uassert(16415, "$add does not support dates", - :message: str::stream() +.. error:: 16415 + + :message: "$add does not support dates" :throws: UserException - :module: :source:`src/mongo/util/file_allocator.cpp#L184` + :module: :source:`src/mongo/db/pipeline/expression.cpp#L347` -.. error:: 10443 +.. line: uassert(16416, "$add does not support strings", - :message: errnoWithPrefix("FileAllocator: +.. error:: 16416 + + :message: "$add does not support strings" :throws: UserException - :module: :source:`src/mongo/util/file_allocator.cpp#L199` + :module: :source:`src/mongo/db/pipeline/expression.cpp#L349` -.. error:: 13653 +.. line: massert(16417, "$add resulted in a non-numeric type", false); - :message: errMessage); +.. error:: 16417 + + :message: "$add resulted in a non-numeric type" :severity: Info - :module: :source:`src/mongo/util/file_allocator.cpp#L316` + :module: :source:`src/mongo/db/pipeline/expression.cpp#L367` -.. error:: 16062 +.. line: massert(16418, "$multiply resulted in a non-numeric type", false); - :message: "fstatfs - :throws: UserException - :module: :source:`src/mongo/util/file_allocator.cpp#L142` +.. error:: 16418 -.. error:: 16063 + :message: "$multiply resulted in a non-numeric type" + :severity: Info + :module: :source:`src/mongo/db/pipeline/expression.cpp#L1872` - :message: "ftruncate - :throws: UserException - :module: :source:`src/mongo/util/file_allocator.cpp#L160` +.. line: uassert(16419, str::stream()<<"field path must not contain embedded null characters" << prefixedField.find("\0") << "," , -.. error:: 10268 +.. error:: 16419 - :message: "LoggingManager + :message: str::stream()<<"field path must not contain embedded null characters" << prefixedField.find("\0") << "," , :throws: UserException - :module: :source:`src/mongo/util/log.cpp#L72` + :module: :source:`src/mongo/db/pipeline/expression.cpp#L54` -.. error:: 14036 +.. line: uassert(16420, "field inclusion is not allowed inside of $expressions", - :message: errnoWithPrefix("couldn't - :severity: Info - :module: :source:`src/mongo/util/log.cpp#L112` +.. error:: 16420 -.. error:: 13514 + :message: "field inclusion is not allowed inside of $expressions" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/expression.cpp#L149` - :message: - :severity: Abort - :module: :source:`src/mongo/util/logfile.cpp#L251` +.. line: uassert(16421, "Can't handle date values outside of time_t range", -.. error:: 13515 +.. error:: 16421 - :message: - :severity: Abort - :module: :source:`src/mongo/util/logfile.cpp#L237` + :message: "Can't handle date values outside of time_t range" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/value.cpp#L640` -.. error:: 13516 +.. line: uasserted(16422, "gmtime failed - your system doesn't support dates before 1970"); - :message: str::stream() +.. error:: 16422 + + :message: "gmtime failed - your system doesn't support dates before 1970" :throws: UserException - :module: :source:`src/mongo/util/logfile.cpp#L175` + :module: :source:`src/mongo/db/pipeline/value.cpp#L661` -.. error:: 13517 +.. line: uasserted(16423, str::stream() << "gmtime failed to convert time_t of " << dtime); - :message: str::stream() +.. error:: 16423 + + :message: str::stream() << "gmtime failed to convert time_t of " << dtime); :throws: UserException - :module: :source:`src/mongo/util/logfile.cpp#L127` + :module: :source:`src/mongo/db/pipeline/value.cpp#L664` -.. error:: 13518 +.. line: uassert(16424, "$near is not allowed inside of a $match aggregation expression", - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/util/logfile.cpp#L71` +.. error:: 16424 -.. error:: 13519 + :message: "$near is not allowed inside of a $match aggregation expression" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_match.cpp#L70` - :message: "error - :severity: Info - :module: :source:`src/mongo/util/logfile.cpp#L125` +.. line: uassert(16425, "$within is not allowed inside of a $match aggregation expression", -.. error:: 15871 +.. error:: 16425 - :message: "Couldn't - :severity: Info - :module: :source:`src/mongo/util/logfile.cpp#L85` + :message: "$within is not allowed inside of a $match aggregation expression" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_match.cpp#L72` -.. error:: 15873 +.. line: uassert(16426, "$nearSphere is not allowed inside of a $match aggregation expression", - :message: "Couldn't - :severity: Info - :module: :source:`src/mongo/util/logfile.cpp#L193` +.. error:: 16426 -.. error:: 16142 + :message: "$nearSphere is not allowed inside of a $match aggregation expression" + :throws: UserException + :module: :source:`src/mongo/db/pipeline/document_source_match.cpp#L74` - :message: - :severity: Abort - :module: :source:`src/mongo/util/logfile.cpp#L224` +.. line: fassertFailed(16427); -.. error:: 16143 +.. error:: 16427 :message: :severity: Abort - :module: :source:`src/mongo/util/logfile.cpp#L225` + :module: :source:`src/mongo/db/prefetch.cpp#L144` -.. error:: 16144 +.. line: uassert( 16428, + +.. error:: 16428 :message: - :severity: Abort - :module: :source:`src/mongo/util/logfile.cpp#L223` + :throws: UserException + :module: :source:`src/mongo/client/gridfs.cpp#L144` -.. error:: 13468 +.. line: throw UserException( 8001 , (string)"SyncClusterConnection write op failed: " + err.str() ); - :message: string("can't - :throws: UserException - :module: :source:`src/mongo/util/mmap.cpp#L48` +.. error:: 8001 -.. error:: 13617 + :message: (string)"SyncClusterConnection write op failed: " + err.str() ); + :throws: UserException + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L140` - :message: "MongoFile - :severity: Info - :module: :source:`src/mongo/util/mmap.cpp#L198` +.. line: throw UserException( 8002 , "all servers down!" ); -.. error:: 15922 +.. error:: 8002 - :message: mongoutils::str::stream() + :message: "all servers down!" ); :throws: UserException - :module: :source:`src/mongo/util/mmap.cpp#L72` + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L326` -.. error:: 15923 +.. line: throw UserException( 8003 , (string)"SyncClusterConnection::insert prepare failed: " + errmsg ); - :message: mongoutils::str::stream() - :throws: UserException - :module: :source:`src/mongo/util/mmap.cpp#L82` +.. error:: 8003 -.. error:: 16325 + :message: (string)"SyncClusterConnection::insert prepare failed: " + errmsg ); + :throws: UserException + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L342` - :message: - :severity: Abort - :module: :source:`src/mongo/util/mmap.cpp#L35` +.. line: uassert( 8004 , "SyncClusterConnection needs 3 servers" , _conns.size() == 3 ); -.. error:: 16326 +.. error:: 8004 - :message: - :severity: Abort - :module: :source:`src/mongo/util/mmap.cpp#L36` + :message: "SyncClusterConnection needs 3 servers" + :throws: UserException + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L54` -.. error:: 16327 +.. line: throw UserException( 8005 , (string)"SyncClusterConnection::udpate prepare failed: " + errmsg ); - :message: - :severity: Abort - :module: :source:`src/mongo/util/mmap.cpp#L38` +.. error:: 8005 -.. error:: 10446 + :message: (string)"SyncClusterConnection::udpate prepare failed: " + errmsg ); + :throws: UserException + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L376` - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/util/mmap_posix.cpp#L100` +.. line: uassert( 8006 , "SyncClusterConnection::call can only be used directly for dbQuery" , -.. error:: 10447 +.. error:: 8006 - :message: str::stream() + :message: "SyncClusterConnection::call can only be used directly for dbQuery" :throws: UserException - :module: :source:`src/mongo/util/mmap_posix.cpp#L110` + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L419` -.. error:: 13056 +.. line: uassert( 8007 , "SyncClusterConnection::call can't handle $cmd" , strstr( d.getns(), "$cmd" ) == 0 ); - :message: "Async - :throws: UserException - :module: :source:`src/mongo/util/mmap_win.cpp#L388` +.. error:: 8007 -.. error:: 16148 + :message: "SyncClusterConnection::call can't handle $cmd" + :throws: UserException + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L423` - :message: - :severity: Abort - :module: :source:`src/mongo/util/mmap_win.cpp#L325` +.. line: throw UserException( 8008 , "all servers down!" ); -.. error:: 16165 +.. error:: 8008 - :message: - :severity: Abort - :module: :source:`src/mongo/util/mmap_win.cpp#L117` + :message: "all servers down!" ); + :throws: UserException + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L439` -.. error:: 16166 +.. line: throw UserException( 8010 , "something is wrong, shouldn't see a command here" ); - :message: - :severity: Abort - :module: :source:`src/mongo/util/mmap_win.cpp#L209` +.. error:: 8010 -.. error:: 16167 + :message: "something is wrong, shouldn't see a command here" ); + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L58` - :message: - :severity: Abort - :module: :source:`src/mongo/util/mmap_win.cpp#L288` +.. line: uasserted( 8011, -.. error:: 16168 +.. error:: 8011 :message: - :severity: Abort - :module: :source:`src/mongo/util/mmap_win.cpp#L308` + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L382` -.. error:: 16225 +.. line: uasserted( 8012, str::stream() - :message: - :severity: Abort - :module: :source:`src/mongo/util/mmap_win.cpp#L186` +.. error:: 8012 -.. error:: 16362 + :message: str::stream() + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L723` - :message: - :severity: Abort - :module: :source:`src/mongo/util/mmap_win.cpp#L264` +.. line: uasserted( 8013, -.. error:: 16387 +.. error:: 8013 :message: - :severity: Abort - :module: :source:`src/mongo/util/mmap_win.cpp#L371` + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L639` -.. error:: 13095 +.. line: uasserted( 8014, str::stream() << "cannot modify shard key for collection " - :message: "HostAndPort: - :throws: UserException - :module: :source:`src/mongo/util/net/hostandport.h#L164` +.. error:: 8014 -.. error:: 13110 + :message: str::stream() << "cannot modify shard key for collection " + :throws: UserException + :module: :source:`src/mongo/s/strategy_shard.cpp#L687` - :message: "HostAndPort: - :severity: Info - :module: :source:`src/mongo/util/net/hostandport.h#L160` +.. line: uasserted( 8015, str::stream() -.. error:: 10271 +.. error:: 8015 - :message: "invalid + :message: str::stream() :throws: UserException - :module: :source:`src/mongo/util/net/httpclient.cpp#L47` + :module: :source:`src/mongo/s/strategy_shard.cpp#L909` -.. error:: 15862 +.. line: throw UserException( 8016 , "can't do this write op on sharded collection" ); + +.. error:: 8016 - :message: "no + :message: "can't do this write op on sharded collection" ); :throws: UserException - :module: :source:`src/mongo/util/net/httpclient.cpp#L108` + :module: :source:`src/mongo/s/strategy_shard.cpp#L1012` -.. error:: 15863 +.. line: throw UserException( 8020 , (string)"SyncClusterConnection::remove prepare failed: " + errmsg ); - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/util/net/listen.cpp#L134` +.. error:: 8020 -.. error:: 13273 + :message: (string)"SyncClusterConnection::remove prepare failed: " + errmsg ); + :throws: UserException + :module: :source:`src/mongo/client/syncclusterconnection.cpp#L358` - :message: "single - :severity: Info - :module: :source:`src/mongo/util/net/message.h#L169` +.. line: uassert( 8041 , (string)"no primary shard configured for db: " + _name , _primary.ok() ); -.. error:: 16141 +.. error:: 8041 - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/util/net/message.h#L58` + :message: (string)"no primary shard configured for db: " + _name , _primary.ok() ); + :throws: UserException + :module: :source:`src/mongo/s/config.h#L163` -.. error:: 10273 +.. line: uassert( 8042 , "db doesn't have sharding enabled" , _shardingEnabled ); + +.. error:: 8042 - :message: "_cur + :message: "db doesn't have sharding enabled" :throws: UserException - :module: :source:`src/mongo/util/net/message_server_asio.cpp#L110` + :module: :source:`src/mongo/s/config.cpp#L166` -.. error:: 10274 +.. line: uassert( 8043 , "collection already sharded" , ! ci.isSharded() ); + +.. error:: 8043 - :message: "pipelining + :message: "collection already sharded" :throws: UserException - :module: :source:`src/mongo/util/net/message_server_asio.cpp#L171` + :module: :source:`src/mongo/s/config.cpp#L175` -.. error:: 10275 +.. line: uasserted( 8050 , "can't update system.indexes" ); + +.. error:: 8050 - :message: "multiple + :message: "can't update system.indexes" :throws: UserException - :module: :source:`src/mongo/util/net/message_server_port.cpp#L120` + :module: :source:`src/mongo/s/strategy_shard.cpp#L1050` -.. error:: 13079 +.. line: uasserted( 8051 , "can't delete indexes on sharded collection yet" ); - :message: "path +.. error:: 8051 + + :message: "can't delete indexes on sharded collection yet" :throws: UserException - :module: :source:`src/mongo/util/net/sock.cpp#L158` + :module: :source:`src/mongo/s/strategy_shard.cpp#L1053` -.. error:: 13080 +.. line: uasserted( 8052 , "handleIndexWrite invalid write op" ); + +.. error:: 8052 - :message: "no + :message: "handleIndexWrite invalid write op" :throws: UserException - :module: :source:`src/mongo/util/net/sock.cpp#L156` + :module: :source:`src/mongo/s/strategy_shard.cpp#L1057` -.. error:: 13082 +.. line: throw UserException( 8060 , "can't call primaryShard on a sharded collection" ); - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/util/net/sock.cpp#L244` +.. error:: 8060 -.. error:: 15861 + :message: "can't call primaryShard on a sharded collection" ); + :throws: UserException + :module: :source:`src/mongo/s/request.cpp#L105` - :message: "can't - :severity: Info - :module: :source:`src/mongo/util/net/sock.cpp#L483` +.. line: throw UserException( 8071 , str::stream() << "cleaning up after drop failed: " << res ); -.. error:: 15864 +.. error:: 8071 - :message: mongoutils::str::stream() - :severity: Info - :module: :source:`src/mongo/util/net/sock.cpp#L433` + :message: str::stream() << "cleaning up after drop failed: " << res ); + :throws: UserException + :module: :source:`src/mongo/s/chunk.cpp#L1256` -.. error:: 15865 +.. line: throw MsgAssertionException( 9011, - :message: , - :severity: Info - :module: :source:`src/mongo/util/net/sock.cpp#L441` +.. error:: 90 -.. error:: 15866 + :message: 11, + :throws: MsgAssertionException + :module: :source:`src/mongo/db/queryoptimizercursorimpl.cpp#L82` - :message: , - :severity: Info - :module: :source:`src/mongo/util/net/sock.cpp#L447` +.. line: ConnectException(string msg) : UserException(9000,msg) { } -.. error:: 13600 +.. error:: 9000 - :message: , + :message: msg) { } :throws: UserException - :module: :source:`src/mongo/util/paths.h#L59` - -.. error:: 13646 + :module: :source:`src/mongo/client/dbclientinterface.h#L1011` - :message: str::stream() - :throws: UserException - :module: :source:`src/mongo/util/paths.h#L88` +.. line: throw UserException( 9002 , (string)"error on Model::remove: " + errmsg ); -.. error:: 13650 +.. error:: 9002 - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/util/paths.h#L116` + :message: (string)"error on Model::remove: " + errmsg ); + :throws: UserException + :module: :source:`src/mongo/client/model.cpp#L53` -.. error:: 13651 +.. line: throw UserException( 9003 , (string)"error on Model::save: " + errmsg ); - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/util/paths.h#L120` +.. error:: 9003 -.. error:: 13652 + :message: (string)"error on Model::save: " + errmsg ); + :throws: UserException + :module: :source:`src/mongo/client/model.cpp#L126` - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/util/paths.h#L104` +.. line: throw UserException( 9004 , (string)"invoke failed: " + getError() ); -.. error:: 13538 +.. error:: 9004 - :message: s.c_str() + :message: (string)"invoke failed: " + getError() ); :throws: UserException - :module: :source:`src/mongo/util/processinfo_linux2.cpp#L48` + :module: :source:`src/mongo/scripting/engine.h#L92` -.. error:: 13305 +.. line: throw UserException( 9005 , (string)"invoke failed: " + getError() ); + +.. error:: 9005 - :message: "could + :message: (string)"invoke failed: " + getError() ); :throws: UserException - :module: :source:`src/mongo/util/text.cpp#L136` + :module: :source:`src/mongo/scripting/engine.h#L101` -.. error:: 13306 +.. line: throw UserException( 9008 , "filemd5 failed" ); + +.. error:: 9008 - :message: "could + :message: "filemd5 failed" ); :throws: UserException - :module: :source:`src/mongo/util/text.cpp#L145` + :module: :source:`src/mongo/client/gridfs.cpp#L151` -.. error:: 13307 +.. line: throw UserException( 9010 , (string)"reduce invoke failed: " + s->getError() ); + +.. error:: 9010 - :message: "cannot + :message: (string)"reduce invoke failed: " + s->getError() ); :throws: UserException - :module: :source:`src/mongo/util/text.cpp#L131` + :module: :source:`src/mongo/db/commands/group.cpp#L129` -.. error:: 13310 +.. line: throw UserException( 9014, str::stream() << "map invoke failed: " + s->getError() ); - :message: "could +.. error:: 9014 + + :message: str::stream() << "map invoke failed: " + s->getError() ); :throws: UserException - :module: :source:`src/mongo/util/text.cpp#L149` + :module: :source:`src/mongo/db/commands/mr.cpp#L72` -.. error:: 16091 +.. line: throw UserException( 9015, ss.str() ); - :message: , - :severity: Info - :module: :source:`src/mongo/util/text.cpp#L181` +.. error:: 9015 -.. error:: 16226 + :message: ss.str() ); + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.h#L580` - :message: - :severity: Abort - :module: :source:`src/mongo/util/time_support.cpp#L60` +.. line: uasserted(9016, str::stream() << "unknown $bit operation: " << e.fieldName()); -.. error:: 16227 +.. error:: 9016 - :message: - :severity: Abort - :module: :source:`src/mongo/util/time_support.cpp#L70` + :message: str::stream() << "unknown $bit operation: " << e.fieldName()); + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L309` -.. error:: 16228 +.. line: uasserted( 9017 , str::stream() << "Mod::apply can't handle type: " << op ); - :message: - :severity: Abort - :module: :source:`src/mongo/util/time_support.cpp#L102` +.. error:: 9017 -.. error:: 16160 + :message: str::stream() << "Mod::apply can't handle type: " << op ); + :throws: UserException + :module: :source:`src/mongo/db/ops/update_internal.cpp#L332` - :message: - :severity: Abort - :module: :source:`src/mongo/util/timer-posixclock-inl.h#L36` +.. line: uassert( 9517 , "writeback" , ( d.reservedField() & Reserved_FromWriteback ) == 0 ); -.. error:: 16161 +.. error:: 9517 - :message: - :severity: Abort - :module: :source:`src/mongo/util/timer-win32-inl.h#L37` + :message: "writeback" + :throws: UserException + :module: :source:`src/mongo/s/d_logic.cpp#L104` -.. error:: 16162 +.. line: throw UserException( 9997 , (string)"authentication failed: " + errmsg ); - :message: - :severity: Abort - :module: :source:`src/mongo/util/timer.cpp#L54` +.. error:: 9997 -.. error:: 16163 + :message: (string)"authentication failed: " + errmsg ); + :throws: UserException + :module: :source:`src/mongo/tools/tool.cpp#L435` - :message: - :severity: Abort - :module: :source:`src/mongo/util/timer.cpp#L55` +.. line: throw UserException( 9998 , "you need to specify fields" ); -.. error:: 16154 +.. error:: 9998 - :message: "namespace + :message: "you need to specify fields" ); :throws: UserException - :module: :source:`src/mongo/util/touch_pages.cpp#L45` - -.. error:: 16237 + :module: :source:`src/mongo/tools/tool.cpp#L398` - :message: str::stream() - :severity: Info - :module: :source:`src/mongo/util/touch_pages.cpp#L75` +.. line: throw UserException( 9999 , ((string)"file: " + fn ) + " doesn't exist" ); -.. error:: 16238 +.. error:: 9999 - :message: "can't - :severity: Info - :module: :source:`src/mongo/util/touch_pages.cpp#L49` + :message: ((string)"file: " + fn ) + " doesn't exist" ); + :throws: UserException + :module: :source:`src/mongo/tools/tool.cpp#L377` From bef80f204e9e69f04c8bf4d408345db293838a99 Mon Sep 17 00:00:00 2001 From: Ed Costello Date: Mon, 20 Aug 2012 16:41:07 -0400 Subject: [PATCH 8/8] DOCS335 Checkpoint, code to generate separate error message files --- bin/errorcodes.conf | 9 ++ bin/errorcodes.py | 216 ++++++++++++++++---------------------------- 2 files changed, 85 insertions(+), 140 deletions(-) create mode 100644 bin/errorcodes.conf diff --git a/bin/errorcodes.conf b/bin/errorcodes.conf new file mode 100644 index 00000000000..f6e79c2da5d --- /dev/null +++ b/bin/errorcodes.conf @@ -0,0 +1,9 @@ +# used by docs/bin/errorcodes.py +[errorcodes] +source = /Users/epc/Documents/github/mongo +outputDir = /Users/epc/Documents/github/epc/docs/draft/reference/error +generateCSV = no +# errorsFormat = separate | single +Format = separate +Title = "MongoDB Error and Message Codes" +defaultDomain = 'mongodb' diff --git a/bin/errorcodes.py b/bin/errorcodes.py index fdac166dd14..d89117213cf 100755 --- a/bin/errorcodes.py +++ b/bin/errorcodes.py @@ -1,14 +1,30 @@ #!/usr/bin/env python - import os import sys import re +import ConfigParser + +#sourceroot = "/Users/epc/Documents/github/epc/mongo" +#errorsrst = "/Users/epc/Documents/github/epc/docs/draft/messages/errors.txt" +#errorsCSV = "/Users/epc/Documents/github/epc/docs/draft/messages/errors.csv" +#errorsTitle = "MongoDB Error and Message Codes" + +config = ConfigParser.SafeConfigParser() +config.read('errorcodes.conf') + +sourceroot = config.get('errorcodes','source') +resultsRoot = config.get('errorcodes', 'outputDir') +generateCSV = config.get('errorcodes','generateCSV') +errorsTitle = config.get('errorcodes', 'Title') +errorsFormat = config.get('errorcodes', 'Format') + +default_domain = "\n\n.. default-domain:: mongodb\n\n" + +sys.path.append(sourceroot+"/buildscripts") + +# get mongodb/buildscripts/utils.py import utils -sourceroot = "/Users/epc/Documents/github/epc/mongo" -errorsrst = "/Users/epc/Documents/github/epc/docs/draft/messages/errors.txt" -errorsCSV = "/Users/epc/Documents/github/epc/docs/draft/messages/errors.csv" -errorsTitle = "MongoDB Error and Message Codes" assertNames = [ "uassert" , "massert", "fassert", "fassertFailed" ] @@ -58,99 +74,27 @@ def assignErrorCodes(): codes = [] -def XreadErrorCodes( callback, replaceZero = False ): - +def readErrorCodes(): + """Open each source file in sourceroot and scan for potential error messages.""" quick = [ "assert" , "Exception"] - ps = [ re.compile( "(([umsgf]asser(t|ted))) *\(( *)(\d+)" ) , - re.compile( "((User|Msg|MsgAssertion)Exceptio(n))\(( *)(\d+)" ), - re.compile( "streamNotGood"), - re.compile( "((fassertFailed)()) *\(( *)(\d+)" ) - ] - - bad = [ re.compile( "\sassert *\(" ) ] - arr=[] - for x in utils.getAllSourceFiles(arr,sourceroot): - - needReplace = [False] - lines = [] - lastCodes = [0] - lineNum = 1 - - for line in open( x ): - - found = False - for zz in quick: - if line.find( zz ) >= 0: - found = True - break - - if found: - - if x.find( "src/mongo/" ) >= 0: - for b in bad: - if len(b.findall( line )) > 0: - print( x ) - print( line ) - raise Exception( "you can't use a bare assert" ) - - for p in ps: - - def repl( m ): - m = m.groups() - - start = m[0] - spaces = m[3] - code = m[4] - if code == '0' and replaceZero : - code = getNextCode( lastCodes ) - lastCodes.append( code ) - code = str( code ) - needReplace[0] = True - - print( "Adding code " + code + " to line " + x + ":" + str( lineNum ) ) - - else : - codes.append( ( x , lineNum , line , code ) ) - callback( x , lineNum , line , code ) - - return start + "(" + spaces + code - - line = re.sub( p, repl, line ) - # end if ps loop - - if replaceZero : lines.append( line ) - lineNum = lineNum + 1 - - if replaceZero and needReplace[0] : - print( "Replacing file " + x ) - of = open( x + ".tmp", 'w' ) - of.write( "".join( lines ) ) - of.close() - os.remove(x) - os.rename( x + ".tmp", x ) - - -def readErrorCodes( callback, replaceZero = False ): - - quick = [ "assert" , "Exception"] - -# ps = [ re.compile( "(([umsgf]asser(t|ted))) *\(( *)(\d+)" ) , -# re.compile( "((DB|User|Msg|MsgAssertion)Exceptio(n))\(( *)(\d+)" ), -# re.compile( "((fassertFailed)()) *\(( *)(\d+)" ) -# ] ps = [ re.compile( "(([wum]asser(t|ted))) *\(( *)(\d+) *,\s*(\"\S[^\"]+\S\")\s*,?.*" ) , re.compile( "(([wum]asser(t|ted))) *\(( *)(\d+) *,\s*([\S\s+<\(\)\"]+) *,?.*" ) , re.compile( '((msgasser(t|ted))) *\(( *)(\d+) *, *(\"\S[^,^\"]+\S\") *,?' ) , + re.compile( '((msgasser(t|ted)NoTrace)) *\(( *)(\d+) *, *(\"\S[^,^\"]+\S\") *,?' ) , re.compile( "((fasser(t|ted))) *\(( *)(\d+)()" ) , re.compile( "((DB|User|Msg|MsgAssertion)Exceptio(n))\(( *)(\d+) *,? *(\S+.+\S) *,?" ), - re.compile( "((fassertFailed)()) *\(( *)(\d+)()" ) + re.compile( "((fassertFailed)()) *\(( *)(\d+)()" ), + re.compile( "(([wum]asser(t|ted)))\s*\(([^\d]*)(\d+)\s*,?()"), + re.compile( "((msgasser(t|ted)))\s*\(([^\d]*)(\d+)\s*,?()"), + re.compile( "((msgasser(t|ted)NoTrace))\s*\(([^\d]*)(\d+)\s*,?()"), + ] bad = [ re.compile( "\sassert *\(" ) ] arr=[] for x in utils.getAllSourceFiles(arr,sourceroot): - + sys.stderr.write("Analyzing: {}\n".format(x)) needReplace = [False] lines = [] lastCodes = [0] @@ -184,35 +128,13 @@ def repl( m ): spaces = m[3] code = m[4] message = m[5] -# if code == '0' and replaceZero : -# code = getNextCode( lastCodes ) -# lastCodes.append( code ) -# code = str( code ) -# needReplace[0] = True -# -# print( "Adding code " + code + " to line " + x + ":" + str( lineNum ) ) -# -# else : codes.append( ( x , lineNum , line , code, message, severity ) ) - print("x(" + x + ") lineNum(" + str(lineNum) + ") line(" + line.strip(stripChars) + ") spaces(" + spaces + ") code(" + code + ")") - callback( x , lineNum , line , code ) return start + "(" + spaces + code line = re.sub( p, repl, line ) - print("line(" + line + ")") - # end if ps loop -# if replaceZero : lines.append( line ) lineNum = lineNum + 1 -# -# if replaceZero and needReplace[0] : -# print( "Replacing file " + x ) -# of = open( x + ".tmp", 'w' ) -# of.write( "".join( lines ) ) -# of.close() -# os.remove(x) -# os.rename( x + ".tmp", x ) @@ -252,17 +174,25 @@ def getBestMessage( err , start ): return err def genErrorOutput(): - - if os.path.exists(errorsrst ): - i = open(errorsrst , "r" ) - out = open( errorsrst , 'wb' ) - titleLen = len(errorsTitle) - out.write(":orphan:\n") - out.write("=" * titleLen + "\n") - out.write(errorsTitle + "\n") - out.write("=" * titleLen + "\n") - - out.write("\n\n.. default-domain:: mongodb\n\n"); + """Sort and iterate through codes printing out error codes and messages in RST format.""" + sys.stderr.write("Generating RST files\n"); + separatefiles = False + if errorsFormat == 'single': + errorsrst = resultsRoot + "/errors.txt" + if os.path.exists(errorsrst ): + i = open(errorsrst , "r" ) + out = open( errorsrst , 'wb' ) + sys.stderr.write("Generating single file: {}\n".format(errorsrst)) + titleLen = len(errorsTitle) + out.write(":orphan:\n") + out.write("=" * titleLen + "\n") + out.write(errorsTitle + "\n") + out.write("=" * titleLen + "\n") + out.write(default_domain); + elif errorsFormat == 'separate': + separatefiles = True + else: + raise Exception("Unknown output format: {}".format(errorsFormat)) prev = "" seen = {} @@ -271,28 +201,31 @@ def genErrorOutput(): stripChars = " " + "\n" # codes.sort( key=lambda x: x[0]+"-"+x[3] ) - codes.sort( key=lambda x: x[3]+"-"+x[0] ) + codes.sort( key=lambda x: int(x[3]) ) for f,l,line,num,message,severity in codes: if num in seen: continue seen[num] = True -# if f.startswith( "./" ): if f.startswith(sourceroot): f = f[sourcerootOffset+1:] - fn = f.rpartition("/")[2] - url = ":source:`" + f + "#L" + str(l) + "`" - - - out.write(".. line: {}\n\n".format(line.strip(stripChars))) + if separatefiles: + outputFile = "{}/{:d}.txt".format(resultsRoot,int(num)) + out = open(outputFile, 'wb') + out.write(default_domain) + sys.stderr.write("Generating file: {}\n".format(outputFile)) + + out.write(".. line: {}\n\n".format(line.strip(stripChars))) out.write(".. error:: {}\n\n".format(num)) - if message: + if message != '': out.write(" :message: {}\n".format(message.strip(stripChars))) else: - out.write(" :message: {}\n".format(getBestMessage( line , str(num)).strip(stripChars))) + message = getBestMessage(line,str(num)).strip(stripChars) + if message != '': + out.write(" :message: {}\n".format(message)) if severity: if severity in severityTexts: out.write(" :severity: {}\n".format(severityTexts[severity])) @@ -301,18 +234,23 @@ def genErrorOutput(): else: out.write(" :severity: {}\n".format(severity)) - out.write(" :module: {}\n\n".format(url) ) - - - out.write( "\n" ) - out.close() + out.write(" :module: {}\n".format(url) ) + if separatefiles: + out.write("\n") + out.close() + + if separatefiles==False: + out.write( "\n" ) + out.close() def genErrorOutputCSV(): + """Parse through codes array and generate a csv file.""" + sys.stderr.write("Writing to {}\n".format(errorsCSV)) if os.path.exists(errorsCSV): i=open(errorsCSV,"r"); out = open(errorsCSV, 'wb') - out.write('"Error","Text","Module","Line"' + "\n") + out.write('"Error","Text","Module","Line","Message","Severity"' + "\n") prev = "" seen = {} @@ -337,10 +275,8 @@ def genErrorOutputCSV(): out.close() if __name__ == "__main__": - ok = checkErrorCodes() - print( "ok:" + str( ok ) ) -# print( "next: " + str( getNextCode() ) ) - if ok: - genErrorOutput() - genErrorOutputCSV() + readErrorCodes() + genErrorOutput() + if (generateCSV == 'yes'): + genErrorOutputCSV()