Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

1848 lines (1472 sloc) 146.163 kb

MongoDB Error Codes

src/mongo/bson/bson-inl.h

  • 10065 code
  • 10313 code Insufficient bytes to calculate element size
  • 10314 code Insufficient bytes to calculate element size
  • 10315 code Insufficient bytes to calculate element size
  • 10316 code Insufficient bytes to calculate element size
  • 10317 code Insufficient bytes to calculate element size
  • 10318 code Invalid regex string
  • 10319 code Invalid regex options string
  • 10320 code
  • 10321 code
  • 10322 code Invalid CodeWScope size
  • 10323 code Invalid CodeWScope string size
  • 10324 code Invalid CodeWScope string size
  • 10325 code Invalid CodeWScope size
  • 10326 code Invalid CodeWScope object size
  • 10327 code Object does not end with EOO
  • 10328 code Invalid element size
  • 10329 code Element too large
  • 10330 code Element extends past end of object
  • 10331 code EOO Before end of object
  • 10334 code
  • 13655 code

src/mongo/bson/bson_db.h

  • 10062 code not code

src/mongo/bson/bsonelement.h

  • 10063 code not a dbref
  • 10064 code not a dbref
  • 10333 code Invalid field name
  • 13111 code
  • 13118 code unexpected or missing type value in BSON object

src/mongo/bson/bsonobjbuilder.h

  • 10335 code builder does not own memory
  • 10336 code No subobject started
  • 13048 code can't append to array using string field name [" + name.data() + "]
  • 15891 code can't backfill array to larger than 1,500,000 elements

src/mongo/bson/ordering.h

  • 13103 code too many compound keys

src/mongo/bson/util/builder.h

  • 10000 code out of memory BufBuilder
  • 13548 code
  • 15912 code out of memory StackAllocator::Realloc
  • 15913 code out of memory BufBuilder::reset
  • 16070 code out of memory BufBuilder::grow_reallocate

src/mongo/client/clientAndShell.cpp

  • 10256 code no createDirectClient in clientOnly

src/mongo/client/connpool.cpp

  • 13071 code invalid hostname [" + host + "]
  • 13328 code : connect failed " + url.toString() + " :

src/mongo/client/connpool.h

  • 11004 code connection was returned to the pool already
  • 11005 code connection was returned to the pool already
  • 13102 code connection was returned to the pool already

src/mongo/client/dbclient.cpp

  • 10005 code listdatabases failed" , runCommand( "admin" , BSON( "listDatabases
  • 10006 code listDatabases.databases not array" , info["databases
  • 10007 code dropIndex failed
  • 10008 code dropIndexes failed
  • 10276 code DBClientBase::findN: transport error: " << getServerAddress() << " ns: " << ns << " query:
  • 10278 code dbclient error communicating with server:
  • 10337 code object not valid
  • 11010 code count fails:
  • 13386 code socket error for mapping query
  • 13421 code trying to connect to invalid ConnectionString
  • 16090 code socket error for mapping query

src/mongo/client/dbclient_rs.cpp

  • 10009 code ReplicaSetMonitor no master found for set:
  • 13610 code ConfigChangeHook already specified
  • 13639 code can't connect to new replica set master [" << _masterHost.toString() << "] err:
  • 13642 code need at least 1 node for a replica set
  • 15899 code No suitable member found for slaveOk query in replica set:

src/mongo/client/dbclientcursor.cpp

  • 13127 code getMore: cursor didn't exist on server, possible restart or timeout?
  • 13422 code DBClientCursor next() called but more() is false
  • 14821 code No client or lazy client specified, cannot store multi-host connection.
  • 15875 code DBClientCursor::initLazy called on a client that doesn't support lazy

src/mongo/client/dbclientcursor.h

  • 13106 code
  • 13348 code connection died
  • 13383 code BatchIterator empty

src/mongo/client/dbclientinterface.h

  • 10011 code no collection name
  • 9000 code

src/mongo/client/distlock.cpp

  • 14023 code remote time in cluster " << _conn.toString() << " is now skewed, cannot force lock.
  • 16060 code cannot query locks collection on config server

src/mongo/client/distlock_test.cpp

  • 13678 code Could not communicate with server " << server.toString() << " in cluster " << cluster.toString() << " to change skew by

src/mongo/client/gridfs.cpp

  • 10012 code file doesn't exist" , fileName == "-
  • 10013 code error opening file
  • 10014 code chunk is empty!
  • 10015 code doesn't exists
  • 13296 code invalid chunk size is specified
  • 13325 code couldn't open file:
  • 9008 code filemd5 failed

src/mongo/client/model.cpp

  • 10016 code _id isn't set - needed for remove()" , _id["_id
  • 13121 code
  • 9002 code error on Model::remove:
  • 9003 code error on Model::save:

src/mongo/client/parallel.cpp

  • 10017 code cursor already done
  • 10018 code no more items
  • 10019 code no more elements
  • 13431 code have to have sort key in projection and removing it
  • 13633 code error querying server:
  • 14812 code Error running command on server:
  • 14813 code Command returned nothing
  • 15986 code too many retries in total
  • 15987 code could not fully initialize cursor on shard " << shard.toString() << ", current connection state is
  • 15988 code error querying server
  • 15989 code database not found for parallel cursor request

src/mongo/client/syncclusterconnection.cpp

  • 10022 code SyncClusterConnection::getMore not supported yet
  • 10023 code SyncClusterConnection bulk insert not implemented
  • 13053 code help failed: " << info , _commandOnActive( "admin" , BSON( name << "1" << "help
  • 13054 code write $cmd not supported in SyncClusterConnection::query for:
  • 13104 code SyncClusterConnection::findOne prepare failed:
  • 13105 code
  • 13119 code SyncClusterConnection::insert obj has to have an _id:
  • 13120 code SyncClusterConnection::update upsert query needs _id" , query.obj["_id
  • 13397 code SyncClusterConnection::say prepare failed:
  • 15848 code sync cluster of sync clusters?
  • 8001 code SyncClusterConnection write op failed:
  • 8002 code all servers down!
  • 8003 code SyncClusterConnection::insert prepare failed:
  • 8004 code SyncClusterConnection needs 3 servers
  • 8005 code SyncClusterConnection::udpate prepare failed:
  • 8006 code SyncClusterConnection::call can only be used directly for dbQuery
  • 8007 code SyncClusterConnection::call can't handle $cmd" , strstr( d.getns(), "$cmd
  • 8008 code all servers down!
  • 8020 code SyncClusterConnection::remove prepare failed:

src/mongo/db/btree.cpp

  • 10281 code assert is misdefined
  • 10282 code n==0 in btree popBack()
  • 10283 code rchild not null in btree popBack()
  • 10285 code _insert: reuse key but lchild is not null
  • 10286 code _insert: reuse key but rchild is not null
  • 10287 code btree: key+recloc already in index
  • 15898 code error in index possibly corruption consider repairing

src/mongo/db/btree.h

  • 13000 code invalid keyNode: " + BSON( "i" << i << "n

src/mongo/db/btreebuilder.cpp

  • 10288 code bad key order in BtreeBuilder - server internal error

src/mongo/db/btreecursor.cpp

  • 14800 code unsupported index version
  • 14801 code unsupported index version
  • 15850 code keyAt bucket deleted

src/mongo/db/cap.cpp

  • 10345 code passes >= maxPasses in capped collection alloc
  • 13415 code emptying the collection is not allowed
  • 13424 code collection must be capped
  • 13425 code background index build in progress
  • 13426 code indexes present

src/mongo/db/client.cpp

  • 10057 code
  • 14031 code Can't take a write lock while out of disk space
  • 15928 code can't open a database from a nested read lock
  • 15929 code client access to index backing namespace prohibited
  • 16107 code Don't have a lock on:

src/mongo/db/client.h

  • 12600 code releaseAndWriteLock: unlock_shared failed, probably recursive

src/mongo/db/clientcursor.cpp

src/mongo/db/clientcursor.h

  • 12051 code clientcursor already in use? driver problem?
  • 12521 code internal error: use of an unlocked ClientCursor

src/mongo/db/cloner.cpp

  • 10024 code bad ns field for index during dbcopy
  • 10025 code bad ns field for index during dbcopy [2]
  • 10026 code source namespace does not exist
  • 10027 code target namespace exists", cmdObj["dropTarget
  • 10289 code useReplAuth is not written to replication log
  • 10290 code
  • 13008 code must call copydbgetnonce first
  • 15908 code
  • 15967 code invalid collection name:

src/mongo/db/cmdline.cpp

  • 10033 code logpath has to be non-zero

src/mongo/db/commands.cpp

  • 15962 code need to specify namespace
  • 15966 code dbname not ok in Command::parseNsFullyQualified: " << dbname , dbname == nss.db || dbname == "admin

src/mongo/db/commands/distinct.cpp

  • 10044 code distinct too big, 16mb cap

src/mongo/db/commands/document_source_cursor.cpp

src/mongo/db/commands/find_and_modify.cpp

  • 12515 code can't remove and update", cmdObj["update
  • 12516 code must specify remove or update
  • 13329 code upsert mode requires update field
  • 13330 code upsert mode requires query field

src/mongo/db/commands/group.cpp

  • 10041 code invoke failed in $keyf:
  • 10042 code return of $key has to be an object
  • 10043 code group() can't handle more than 20000 unique keys
  • 9010 code reduce invoke failed:

src/mongo/db/commands/isself.cpp

  • 13469 code getifaddrs failure:
  • 13470 code getnameinfo() failed:
  • 13472 code getnameinfo() failed:

src/mongo/db/commands/mr.cpp

  • 10074 code need values
  • 10075 code reduce -> multiple not supported yet
  • 10076 code rename failed:
  • 10077 code fast_emit takes 2 args
  • 13069 code an emit can't be more than half max bson size
  • 13070 code value too large to reduce
  • 13522 code unknown out specifier [" << t << "]
  • 13598 code couldn't compile code for:
  • 13602 code outType is no longer a valid option" , cmdObj["outType
  • 13604 code too much data for in memory map/reduce
  • 13606 code 'out' has to be a string or an object
  • 13608 code query has to be blank or an Object
  • 13609 code sort has to be blank or an Object
  • 13630 code userCreateNS failed for mr tempLong ns: " << _config.tempLong << " err:
  • 13631 code userCreateNS failed for mr incLong ns: " << _config.incLong << " err:
  • 15876 code could not create cursor over " << config.ns << " to hold data while prepping m/r
  • 15877 code could not create m/r holding client cursor over
  • 15895 code nonAtomic option cannot be used with this output type
  • 15921 code splitVector failed:
  • 16052 code could not create cursor over " << config.ns << " for query : " << config.filter << " sort :
  • 16053 code could not create client cursor over " << config.ns << " for query : " << config.filter << " sort :
  • 16054 code shardedFirstPass should only use replace outType
  • 9014 code map invoke failed:

src/mongo/db/commands/pipeline.cpp

  • 15942 code pipeline element
  • 16029 code

src/mongo/db/compact.cpp

  • 13660 code namespace " << ns << " does not exist
  • 13661 code cannot compact capped collection
  • 14024 code compact error out of space during compaction
  • 14025 code compact error no space available to allocate
  • 14027 code can't compact a system namespace", !str::contains(ns, ".system.
  • 14028 code bad ns

src/mongo/db/curop.h

  • 11600 code interrupted at shutdown
  • 11601 code operation was interrupted
  • 12601 code CurOp not marked done yet

src/mongo/db/cursor.h

  • 13285 code manual matcher config not allowed

src/mongo/db/d_concurrency.cpp

  • 16098 code can't dblock:" << db << " when local or admin is already locked
  • 16099 code internal error tried to lock two databases at the same time. old:" << ls.otherName << " new:
  • 16100 code can't dblock:" << db << " when local or admin is already locked
  • 16101 code expected write lock
  • 16102 code expected read lock
  • 16103 code can't lock_R, threadState=
  • 16104 code expected to be read locked for
  • 16105 code expected to be write locked for
  • 16106 code internal error tried to lock two databases at the same time. old:" << ls.otherName << " new:
  • 16114 code
  • 16115 code
  • 16116 code
  • 16117 code
  • 16118 code
  • 16119 code
  • 16120 code
  • 16121 code
  • 16122 code
  • 16123 code
  • 16124 code
  • 16125 code
  • 16126 code
  • 16127 code
  • 16128 code
  • 16129 code
  • 16130 code
  • 16131 code
  • 16132 code
  • 16133 code
  • 16134 code
  • 16135 code

src/mongo/db/d_concurrency.h

  • 13142 code timeout getting readlock

src/mongo/db/database.cpp

  • 10028 code db name is empty
  • 10029 code bad db name [1]
  • 10030 code bad db name [2]
  • 10031 code bad char(s) in db name
  • 10032 code db name too long
  • 10295 code getFile(): bad file number value (corrupt db?): run repair
  • 12501 code quota exceeded
  • 14810 code couldn't allocate space (suitableFile)
  • 15924 code getFile(): bad file number value " << n << " (corrupt db?): run repair
  • 15927 code can't open database in a read lock. if db was just closed, consider retrying the query. might otherwise indicate an internal error

src/mongo/db/databaseholder.h

  • 13074 code db name can't be empty
  • 13075 code db name can't be empty
  • 13280 code invalid db name:

src/mongo/db/db.cpp

  • 10296 code
  • 10297 code Couldn't register Windows Ctrl-C handler
  • 12590 code
  • 14026 code

src/mongo/db/db.h

  • 10298 code can't temprelease nested lock

src/mongo/db/dbcommands.cpp

  • 10039 code can't drop collection with reserved $ character in name
  • 10040 code chunks out of order
  • 10301 code source collection " + fromNs + " does not exist
  • 13049 code godinsert must specify a collection
  • 13281 code File deleted during filemd5 command
  • 13416 code captrunc must specify a collection
  • 13417 code captrunc collection not found or empty
  • 13418 code captrunc invalid n
  • 13428 code emptycapped must specify a collection
  • 13429 code emptycapped no such collection
  • 14832 code specify size: when capped is true", !cmdObj["capped"].trueValue() || cmdObj["size"].isNumber() || cmdObj.hasField("$nExtents
  • 15880 code no ram log for warnings?
  • 15888 code must pass name of collection to create

src/mongo/db/dbcommands_admin.cpp

  • 12032 code fsync: sync option must be true when using lock
  • 12034 code fsync: can't lock while an unlock is pending

src/mongo/db/dbcommands_generic.cpp

  • 10038 code forced error

src/mongo/db/dbeval.cpp

  • 10046 code eval needs Code
  • 12598 code $eval reads unauthorized

src/mongo/db/dbhelpers.cpp

  • 13430 code no _id index

src/mongo/db/dbmessage.h

  • 10304 code Client Error: Remaining data too small for BSON object
  • 10305 code Client Error: Invalid object size
  • 10306 code Client Error: Next object larger than space left in message
  • 10307 code Client Error: bad object in message
  • 13066 code Message contains no documents

src/mongo/db/dbwebserver.cpp

  • 13453 code server not started with --jsonp

src/mongo/db/dur.cpp

  • 13599 code Written data does not match in-memory view. Missing WriteIntent?
  • 13616 code can't disable durability with pending writes
  • 16110 code
  • 16111 code

src/mongo/db/dur_journal.cpp

  • 13611 code can't read lsn file in journal directory :
  • 13614 code unexpected version number of lsn file in journal/ directory got:
  • 15926 code Insufficient free space for journals

src/mongo/db/dur_recover.cpp

  • 13531 code unexpected files in journal directory " << dir.string() << " :
  • 13532 code
  • 13533 code problem processing journal file during recovery
  • 13535 code recover abrupt journal file end
  • 13536 code journal version number mismatch
  • 13537 code
  • 13544 code recover error couldn't open
  • 13545 code --durOptions " << (int) CmdLine::DurScanOnly << " (scan only) specified
  • 13594 code journal checksum doesn't match
  • 13622 code Trying to write past end of file in WRITETODATAFILES
  • 15874 code couldn't uncompress journal section

src/mongo/db/durop.cpp

  • 13546 code journal recover: unrecognized opcode in journal
  • 13547 code recover couldn't create file
  • 13628 code recover failure writing file

src/mongo/db/extsort.cpp

  • 10048 code already sorted
  • 10049 code sorted already
  • 10050 code bad
  • 10308 code mmap failed

src/mongo/db/extsort.h

  • 10052 code not sorted

src/mongo/db/geo/2d.cpp

  • 13022 code can't have 2 geo field
  • 13023 code 2d has to be first in index
  • 13024 code no geo field specified
  • 13026 code geo values have to be numbers:
  • 13027 code point not in interval of [ " << _min << ", " << _max << " )
  • 13028 code bits in geo index must be between 1 and 32
  • 13042 code missing geo field (" + _geo + ") in :
  • 13046 code 'near' param missing/invalid", !cmdObj["near
  • 13057 code $within has to take an object or array
  • 13058 code unknown $within information : " << context << ", a shape must be specified.
  • 13059 code $center has to take an object or array
  • 13060 code $center needs 2 fields (middle,max distance)
  • 13061 code need a max distance >= 0
  • 13063 code $box needs 2 fields (bottomLeft,topRight)
  • 13064 code need an area > 0
  • 13065 code $box has to take an object or array
  • 13067 code geo field is empty
  • 13068 code geo field only has 1 element
  • 13460 code invalid $center query type:
  • 13461 code Spherical MaxDistance > PI. Are you sure you are using radians?
  • 13462 code Spherical distance would require wrapping, which isn't implemented yet
  • 13464 code invalid $near search type:
  • 13654 code location object expected, location array not in correct format
  • 13656 code the first field of $center object must be a location object
  • 14029 code $polygon has to take an object or array
  • 14030 code polygon must be defined by three points or more

src/mongo/db/geo/core.h

  • 13047 code wrong type for geo index. if you're using a pre-release version, need to rebuild index
  • 14808 code point " << p.toString() << " must be in earth-like bounds of long : [-180, 180), lat : [-90, 90]

src/mongo/db/geo/haystack.cpp

  • 13314 code can't have 2 geo fields
  • 13315 code 2d has to be first in index
  • 13316 code no geo field specified
  • 13317 code no other fields specified
  • 13318 code near needs to be an array
  • 13319 code maxDistance needs a number
  • 13320 code search needs to be an object
  • 13321 code need bucketSize
  • 13322 code not a number
  • 13323 code latlng not an array
  • 13326 code quadrant search can only have 1 other field for now

src/mongo/db/index.cpp

  • 10096 code invalid ns to index
  • 10097 code bad table to index name on add index attempt current db: " << cc().database()->name << " source:
  • 10098 code
  • 11001 code
  • 12504 code
  • 12505 code
  • 12523 code no index name specified
  • 12524 code index key pattern too large
  • 12588 code cannot add index with a background operation in progress
  • 14803 code this version of mongod cannot build new indexes of version number

src/mongo/db/index.h

  • 14802 code index v field should be Integer type

src/mongo/db/indexkey.cpp

  • 13007 code can only have 1 index plugin / bad index key pattern
  • 13529 code sparse only works for single field keys
  • 15855 code Ambiguous field name found in array (do not use numeric field names in embedded elements in an array), field: '" << arrField.fieldName() << "' for array:
  • 15869 code Invalid index version for key generation.

src/mongo/db/instance.cpp

  • 10054 code not master
  • 10055 code update object too large
  • 10056 code not master
  • 10058 code not master
  • 10059 code object to insert too large
  • 10309 code Unable to create/open lock file: " << name << ' ' << errnoWithDescription() << " Is a mongod instance already running?
  • 10310 code Unable to lock file: " + name + ". Is a mongod instance already running?
  • 10332 code Expected CurrentTime type
  • 12596 code old lock file
  • 13004 code sent negative cursors to kill:
  • 13073 code shutting down
  • 13342 code Unable to truncate lock file
  • 13455 code dbexit timed out getting lock
  • 13511 code document to insert can't have $ fields
  • 13597 code can't start without --journal enabled when journal/ files are present
  • 13618 code can't start without --journal enabled when journal/ files are present
  • 13625 code Unable to truncate lock file
  • 13627 code Unable to create/open lock file: " << name << ' ' << m << ". Is a mongod instance already running?
  • 13637 code count failed in DBDirectClient:
  • 13658 code bad kill cursors size:
  • 13659 code sent 0 cursors to kill

src/mongo/db/jsobj.cpp

  • 10060 code woSortOrder needs a non-empty sortKey
  • 10061 code type not supported for appendMinElementForType
  • 10311 code
  • 10312 code
  • 12579 code unhandled cases in BSONObj okForStorage
  • 14853 code type not supported for appendMaxElementForType

src/mongo/db/json.cpp

  • 10338 code Invalid use of reserved field name:
  • 10339 code Badly formatted bindata
  • 10340 code Failure parsing JSON string near:

src/mongo/db/lasterror.cpp

  • 13649 code no operation yet

src/mongo/db/matcher.cpp

  • 10066 code $where may only appear once in query
  • 10067 code $where query, but no script engine
  • 10068 code invalid operator:
  • 10069 code BUG - can't operator for:
  • 10070 code $where compile error
  • 10071 code
  • 10072 code unknown error in invocation of $where function
  • 10073 code mod can't be 0
  • 10341 code scope has to be created first!
  • 10342 code pcre not compiled with utf8 support
  • 12517 code $elemMatch needs an Object
  • 13020 code with $all, can't mix $elemMatch and others
  • 13029 code can't use $not with $options, use BSON regex type instead
  • 13030 code $not cannot be empty
  • 13031 code invalid use of $not
  • 13032 code can't use $not with $regex, use BSON regex type instead
  • 13086 code $and/$or/$nor must be a nonempty array
  • 13087 code $and/$or/$nor match element must be an object
  • 13089 code no current client needed for $where
  • 13276 code $in needs an array
  • 13277 code $nin needs an array
  • 13629 code can't have undefined in a query expression
  • 14844 code $atomic specifier must be a top level field
  • 15882 code $elemMatch not allowed within $in
  • 15902 code $where expression has an unexpected type

src/mongo/db/mongommf.cpp

  • 13520 code MongoMMF only supports filenames in a certain format
  • 13636 code file " << filename() << " open/create failed in createPrivateMap (look in log for more information)
  • 16112 code

src/mongo/db/namespace-inl.h

  • 10080 code ns name too long, max size is 128
  • 10348 code $extra: ns name too long

src/mongo/db/namespace_details-inl.h

  • 10349 code E12000 idxNo fails
  • 13283 code Missing Extra
  • 14045 code missing Extra
  • 14823 code missing extra
  • 14824 code missing Extra

src/mongo/db/namespace_details.cpp

  • 10079 code bad .ns file length, cannot open database
  • 10081 code too many namespaces/collections
  • 10082 code allocExtra: too many namespaces/collections
  • 10343 code bad lenForNewNsFiles
  • 10346 code not implemented
  • 10350 code allocExtra: base ns missing?
  • 10351 code allocExtra: extra already exists

src/mongo/db/namespacestring.h

  • 10078 code nsToDatabase: ns too long
  • 10088 code nsToDatabase: ns too long

src/mongo/db/nonce.cpp

  • 10352 code Security is a singleton class
  • 10353 code can't open dev/urandom:
  • 10354 code md5 unit test fails
  • 10355 code devrandom failed

src/mongo/db/oplog.cpp

  • 13044 code no ts field in query
  • 13257 code
  • 13288 code replSet error write op to db before replSet initialized", str::startsWith(ns, "local.
  • 13312 code replSet error : logOp() but not primary?
  • 13347 code local.oplog.rs missing. did you drop it? if so restart server
  • 13389 code local.oplog.rs missing. did you drop it? if so restart server
  • 14038 code invalid _findingStartMode
  • 14825 code error in applyOperation : unknown opType
  • 15916 code Can no longer connect to initial sync source:
  • 15917 code Got bad disk location when attempting to insert

src/mongo/db/oplogreader.h

  • 15910 code Doesn't have cursor for reading oplog
  • 15911 code Doesn't have cursor for reading oplog

src/mongo/db/ops/delete.cpp

  • 10100 code cannot delete from collection with reserved $ in name
  • 10101 code can't remove from a capped collection
  • 12050 code cannot delete from system namespace

src/mongo/db/ops/query.cpp

  • 10110 code bad query object
  • 13051 code tailable cursor requested on non capped collection
  • 13052 code only {$natural:1} order allowed for tailable cursor
  • 13530 code bad or malformed command request?
  • 14833 code auth error

src/mongo/db/ops/query.h

  • 16083 code reserve 16083

src/mongo/db/ops/update.cpp

  • 10131 code $push can only be applied to an array
  • 10132 code $pushAll can only be applied to an array
  • 10133 code $pushAll has to be passed an array
  • 10134 code $pull/$pullAll can only be applied to an array
  • 10135 code $pop can only be applied to an array
  • 10136 code $bit needs an object
  • 10137 code $bit can only be applied to numbers
  • 10138 code $bit cannot update a value of type double
  • 10139 code $bit field must be number
  • 10140 code Cannot apply $inc modifier to non-number
  • 10141 code Cannot apply $push/$pushAll modifier to non-array
  • 10142 code Cannot apply $pull/$pullAll modifier to non-array
  • 10143 code Cannot apply $pop modifier to non-array
  • 10145 code LEFT_SUBFIELD only supports Object: " << field << " not:
  • 10147 code Invalid modifier specified:
  • 10148 code Mod on _id not allowed", strcmp( fieldName, "_id
  • 10149 code Invalid mod field name, may not end in a period
  • 10150 code Field name duplication not allowed with modifiers
  • 10151 code have conflicting mods in update
  • 10152 code Modifier $inc allowed for numbers only
  • 10153 code Modifier $pushAll/pullAll allowed for arrays only
  • 10154 code Modifiers and non-modifiers cannot be mixed
  • 10155 code cannot update reserved $ collection
  • 10156 code cannot update system collection: " << ns << " q: " << patternOrig << " u:
  • 10157 code multi-update requires all modified objects to have an _id
  • 10158 code multi update only works with $ operators
  • 10159 code multi update only works with $ operators
  • 10399 code ModSet::createNewFromMods - RIGHT_SUBFIELD should be impossible
  • 10400 code unhandled case
  • 12522 code $ operator made object too large
  • 12591 code Cannot apply $addToSet modifier to non-array
  • 12592 code $addToSet can only be applied to an array
  • 13478 code can't apply mod in place - shouldn't have gotten here
  • 13479 code invalid mod field name, target may not be empty
  • 13480 code invalid mod field name, source may not begin or end in period
  • 13481 code invalid mod field name, target may not begin or end in period
  • 13482 code $rename affecting _id not allowed
  • 13483 code $rename affecting _id not allowed
  • 13484 code field name duplication not allowed with $rename target
  • 13485 code conflicting mods not allowed with $rename target
  • 13486 code $rename target may not be a parent of source
  • 13487 code $rename source may not be dynamic array", strstr( fieldName , ".$
  • 13488 code $rename target may not be dynamic array", strstr( target , ".$
  • 13489 code $rename source field invalid
  • 13490 code $rename target field invalid
  • 13494 code $rename target must be a string
  • 13495 code $rename source must differ from target
  • 13496 code invalid mod field name, source may not be empty
  • 15896 code Modified field name may not start with $
  • 16069 code ModSet::createNewFromMods -
  • 9016 code unknown $bit operation:
  • 9017 code Mod::apply can't handle type:

src/mongo/db/ops/update.h

  • 10161 code Invalid modifier specified
  • 12527 code not okForStorage
  • 13492 code mod must be RENAME_TO type
  • 9015 code

src/mongo/db/pdfile.cpp

  • 10003 code failing update: objects in a capped ns cannot grow
  • 10083 code create collection invalid size spec
  • 10084 code can't map file memory - mongo requires 64 bit build for larger datasets
  • 10085 code can't map file memory
  • 10086 code ns not found:
  • 10087 code turn off profiling before dropping system.profile collection
  • 10089 code can't remove from a capped collection
  • 10092 code too may dups on index build with dropDups=true
  • 10093 code cannot insert into reserved $ collection
  • 10094 code invalid ns:
  • 10095 code attempt to insert in reserved database name 'system'
  • 10099 code _id cannot be an array
  • 10356 code invalid ns:
  • 10357 code shutdown in progress
  • 10358 code bad new extent size
  • 10359 code header==0 on new extent: 32 bit mmap space exceeded?
  • 10360 code Extent::reset bad magic value
  • 10361 code can't create .$freelist
  • 12502 code can't drop system ns
  • 12503 code
  • 12582 code duplicate key insert for unique index of capped collection
  • 12583 code unexpected index insertion failure on capped collection
  • 12584 code cursor gone during bg index
  • 12585 code cursor gone during bg index; dropDups
  • 12586 code cannot perform operation: a background operation is currently running for this database
  • 12587 code cannot perform operation: a background operation is currently running for this collection
  • 13130 code can't start bg index b/c in recursive lock (db.eval?)
  • 13143 code can't create index on system.indexes" , tabletoidxns.find( ".system.indexes
  • 13440 code
  • 13441 code
  • 13596 code cannot change _id of a document old:" << objOld << " new:
  • 14037 code can't create user databases on a --configsvr instance
  • 14051 code system.users entry needs 'user' field to be a string" , t["user
  • 14052 code system.users entry needs 'pwd' field to be a string" , t["pwd
  • 14053 code system.users entry needs 'user' field to be non-empty" , t["user
  • 14054 code system.users entry needs 'pwd' field to be non-empty" , t["pwd
  • 16093 code after yield cursor deleted

src/mongo/db/pdfile.h

  • 13640 code DataFileHeader looks corrupt at file open filelength:" << filelength << " fileno:

src/mongo/db/pipeline/accumulator.cpp

  • 15943 code group accumulator
  • 16030 code reserved error
  • 16031 code reserved error
  • 16032 code reserved error
  • 16033 code reserved error
  • 16036 code reserved error
  • 16037 code reserved error
  • 16038 code reserved error
  • 16039 code reserved error
  • 16040 code reserved error
  • 16041 code reserved error
  • 16042 code reserved error
  • 16043 code reserved error
  • 16044 code reserved error
  • 16045 code reserved error
  • 16046 code reserved error
  • 16047 code reserved error
  • 16048 code reserved error
  • 16049 code reserved error

src/mongo/db/pipeline/doc_mem_monitor.cpp

  • 15944 code terminating request: request heap use exceeded 10% of physical RAM

src/mongo/db/pipeline/document.cpp

  • 15945 code cannot add undefined field
  • 15968 code cannot set undefined field

src/mongo/db/pipeline/document_source_filter.cpp

  • 15946 code a document filter expression must be an object

src/mongo/db/pipeline/document_source_group.cpp

  • 15947 code a group's fields must be specified in an object
  • 15948 code a group's _id may only be specified once
  • 15949 code
  • 15950 code
  • 15951 code
  • 15952 code
  • 15953 code
  • 15954 code
  • 15955 code a group specification must include an _id

src/mongo/db/pipeline/document_source_limit.cpp

  • 15957 code the limit must be specified as a number
  • 15958 code the limit must be positive

src/mongo/db/pipeline/document_source_match.cpp

  • 15959 code the match filter must be an expression in an object

src/mongo/db/pipeline/document_source_project.cpp

src/mongo/db/pipeline/document_source_skip.cpp

src/mongo/db/pipeline/document_source_sort.cpp

src/mongo/db/pipeline/document_source_unwind.cpp

  • 15977 code
  • 15978 code
  • 15979 code
  • 15980 code the path of the field to unwind cannot be empty
  • 15981 code the

src/mongo/db/pipeline/expression.cpp

src/mongo/db/pipeline/field_path.cpp

src/mongo/db/pipeline/value.cpp

src/mongo/db/projection.cpp

  • 10053 code You cannot currently mix including and excluding fields. Contact us if this is an issue.
  • 10371 code can only add to Projection once
  • 13097 code Unsupported projection option:
  • 13098 code $slice only supports numbers and [skip, limit] arrays
  • 13099 code $slice array wrong size
  • 13100 code $slice limit must be positive

src/mongo/db/queryoptimizer.cpp

  • 10111 code table scans not allowed:
  • 10112 code bad hint
  • 10113 code bad hint
  • 10363 code newCursor() with start location not implemented for indexed plans
  • 10364 code newReverseCursor() not implemented for indexed plans
  • 10365 code
  • 10366 code natural order cannot be specified with $min/$max
  • 10367 code
  • 10368 code Unable to locate previously recorded index
  • 10369 code no plans
  • 13038 code can't find special index: " + _special + " for:
  • 13040 code no type for special:
  • 13268 code invalid $or spec
  • 13292 code hint eoo
  • 14820 code doing _id query on a capped collection

src/mongo/db/queryoptimizer.h

  • 13266 code not implemented for $or query
  • 13271 code can't run more ops

src/mongo/db/queryoptimizercursorimpl.cpp

  • 14809 code Invalid access for cursor that is not ok()
  • 9011 code

src/mongo/db/queryutil-inl.h

  • 14049 code FieldRangeSetPair invalid index specified

src/mongo/db/queryutil.cpp

  • 10370 code $all requires array
  • 12580 code invalid query
  • 13033 code can't have 2 special fields
  • 13034 code invalid use of $not
  • 13041 code invalid use of $not
  • 13050 code $all requires array
  • 13262 code $or requires nonempty array
  • 13263 code $or array must contain objects
  • 13274 code no or clause to pop
  • 13291 code $or may not contain 'special' query
  • 13303 code combinatorial limit of $in partitioning of result set exceeded
  • 13304 code combinatorial limit of $in partitioning of result set exceeded
  • 13385 code combinatorial limit of $in partitioning of result set exceeded
  • 13454 code invalid regular expression operator
  • 14048 code FieldRangeSetPair invalid index specified
  • 14816 code $and expression must be a nonempty array
  • 14817 code $and elements must be objects
  • 15881 code $elemMatch not allowed within $in

src/mongo/db/queryutil.h

  • 10102 code bad order array
  • 10103 code bad order array [2]
  • 10104 code too many ordering elements
  • 10105 code bad skip value in query
  • 12001 code E12001 can't sort with $snapshot
  • 12002 code E12002 can't use hint with $snapshot
  • 13513 code sort must be an object or array

src/mongo/db/repl.cpp

  • 10002 code local.sources collection corrupt?
  • 10118 code 'host' field not set in sources collection object
  • 10119 code only source='main' allowed for now with replication", sourceName() == "main
  • 10120 code bad sources 'syncedTo' field value
  • 10123 code replication error last applied optime at slave >= nextOpTime from master
  • 10124 code
  • 10384 code --only requires use of --source
  • 10385 code Unable to get database list
  • 10386 code non Date ts found:
  • 10389 code Unable to get database list
  • 10390 code got $err reading remote oplog
  • 10391 code repl: bad object read from remote oplog
  • 10392 code bad user object? [1]
  • 10393 code bad user object? [2]
  • 13344 code trying to slave off of a non-master
  • 14032 code Invalid 'ts' in remote log
  • 14033 code Unable to get database list
  • 14034 code Duplicate database names present after attempting to delete duplicates
  • 15914 code Failure retrying initial sync update

src/mongo/db/repl/health.h

  • 13112 code bad replset heartbeat option
  • 13113 code bad replset heartbeat option

src/mongo/db/repl/heartbeat.cpp

  • 15900 code can't heartbeat: too much lock

src/mongo/db/repl/rs.cpp

  • 13093 code bad --replSet config string format is: [/,,...]
  • 13096 code bad --replSet command line config string - dups?
  • 13101 code can't use localhost in replset host list
  • 13114 code bad --replSet seed hostname
  • 13290 code bad replSet oplog entry?
  • 13302 code replSet error self appears twice in the repl set configuration

src/mongo/db/repl/rs_config.cpp

  • 13107 code
  • 13108 code bad replset config -- duplicate hosts in the config object?
  • 13109 code multiple rows in " << rsConfigNs << " not supported host:
  • 13115 code bad " + rsConfigNs + " config: version
  • 13117 code bad " + rsConfigNs + " config
  • 13122 code bad repl set config?
  • 13126 code bad Member config
  • 13131 code replSet error parsing (or missing) 'members' field in config object
  • 13132 code
  • 13133 code replSet bad config no members
  • 13135 code
  • 13260 code
  • 13308 code replSet bad config version #
  • 13309 code replSet bad config maximum number of members is 12
  • 13393 code can't use localhost in repl set member names except when using it for all members
  • 13419 code priorities must be between 0.0 and 100.0
  • 13432 code _id may not change for members
  • 13433 code can't find self in new replset config
  • 13434 code unexpected field '" << e.fieldName() << "' in object
  • 13437 code slaveDelay requires priority be zero
  • 13438 code bad slaveDelay value
  • 13439 code priority must be 0 when hidden=true
  • 13476 code buildIndexes may not change for members
  • 13477 code priority must be 0 when buildIndexes=false
  • 13510 code arbiterOnly may not change for members
  • 13612 code replSet bad config maximum number of voting members is 7
  • 13613 code replSet bad config no voting members
  • 13645 code hosts cannot switch between localhost and hostname
  • 14046 code getLastErrorMode rules must be objects
  • 14827 code arbiters cannot have tags
  • 14828 code getLastErrorMode criteria must be greater than 0:
  • 14829 code getLastErrorMode criteria must be numeric
  • 14831 code mode " << clauseObj << " requires

src/mongo/db/repl/rs_initialsync.cpp

src/mongo/db/repl/rs_initiate.cpp

  • 13144 code
  • 13145 code set name does not match the set name host " + i->h.toString() + " expects
  • 13256 code member " + i->h.toString() + " is already initiated
  • 13259 code
  • 13278 code bad config: isSelf is true for multiple hosts:
  • 13279 code
  • 13311 code member " + i->h.toString() + " has data already, cannot initiate set. All members except initiator must be empty.
  • 13341 code member " + i->h.toString() + " has a config version >= to the new cfg version; cannot change config
  • 13420 code initiation and reconfiguration of a replica set must be sent to a node that can become primary

src/mongo/db/repl/rs_rollback.cpp

  • 13410 code replSet too much data to roll back
  • 13423 code replSet error in rollback can't find
  • 15909 code replSet rollback error resyncing collection

src/mongo/db/repl/rs_sync.cpp

  • 1000 code replSet source for syncing doesn't seem to be await capable -- is it an older version of mongodb?
  • 12000 code rs slaveDelay differential too big check clocks and systems
  • 13508 code no 'ts' in first op in oplog:
  • 15915 code replSet update still fails after adding missing object
  • 16113 code

src/mongo/db/repl_block.cpp

  • 14830 code unrecognized getLastError mode:

src/mongo/db/replutil.h

  • 10107 code not master
  • 13435 code not master and slaveOk=false
  • 13436 code not master or secondary; cannot currently read from this replSet member

src/mongo/db/restapi.cpp

  • 13085 code query failed for dbwebserver

src/mongo/db/scanandorder.cpp

  • 15925 code cannot sort with keys that are parallel arrays

src/mongo/db/security.cpp

  • 15889 code key file must be used to log in with internal user

src/mongo/dbtests/framework.cpp

  • 10162 code already have suite with that name

src/mongo/dbtests/jsobjtests.cpp

  • 12528 code should be ok for storage:
  • 12529 code should NOT be ok for storage:

src/mongo/s/balance.cpp

  • 13258 code oids broken after resetting!

src/mongo/s/chunk.cpp

  • 10163 code can only handle numbers here - which i think is correct
  • 10165 code can't split as shard doesn't have a manager
  • 10167 code can't move shard to its current location!
  • 10169 code datasize failed!" , conn->runCommand( "admin
  • 10170 code Chunk needs a ns
  • 10171 code Chunk needs a server
  • 10172 code Chunk needs a min
  • 10173 code Chunk needs a max
  • 10174 code config servers not all up
  • 10412 code
  • 13003 code can't split a chunk with only one distinct value
  • 13141 code Chunk map pointed to incorrect chunk
  • 13282 code Couldn't load a valid config for " + _ns + " after 3 attempts. Please try again.
  • 13327 code Chunk ns must match server ns
  • 13331 code collection's metadata is undergoing changes. Please try again.
  • 13332 code need a split key to split chunk
  • 13333 code can't split a chunk in that many parts
  • 13345 code
  • 13405 code min value " << min << " does not have shard key
  • 13406 code max value " << max << " does not have shard key
  • 13501 code use geoNear command rather than $near query
  • 13502 code unrecognized special query type:
  • 13503 code
  • 13507 code no chunks found between bounds " << min << " and
  • 14022 code Error locking distributed lock for chunk drop.
  • 15903 code
  • 16068 code no chunk ranges available
  • 8070 code couldn't find a chunk which should be impossible:
  • 8071 code cleaning up after drop failed:

src/mongo/s/client.cpp

src/mongo/s/commands_public.cpp

  • 10418 code how could chunk manager be null!
  • 10420 code how could chunk manager be null!
  • 12594 code how could chunk manager be null!
  • 13002 code shard internal error chunk manager should never be null
  • 13091 code how could chunk manager be null!
  • 13092 code GridFS chunks collection can only be sharded on files_id", cm->getShardKey().key() == BSON("files_id
  • 13137 code Source and destination collections must be on same shard
  • 13138 code You can't rename a sharded collection
  • 13139 code You can't rename to a sharded collection
  • 13140 code Don't recognize source or target DB
  • 13343 code query for sharded findAndModify must have shardkey
  • 13398 code cant copy to sharded DB
  • 13399 code need a fromdb argument
  • 13400 code don't know where source DB is
  • 13401 code cant copy from sharded DB
  • 13402 code need a todb argument
  • 13407 code how could chunk manager be null!
  • 13408 code keyPattern must equal shard key
  • 13500 code how could chunk manager be null!
  • 13512 code drop collection attempted on non-sharded collection
  • 15920 code Cannot output to a non-sharded collection, a sharded collection exists

src/mongo/s/config.cpp

  • 10176 code shard state missing for
  • 10178 code no primary!
  • 10181 code not sharded:
  • 10184 code _dropShardedCollections too many collections - bailing
  • 10187 code need configdbs
  • 10189 code should only have 1 thing in config.version
  • 13396 code DBConfig save failed:
  • 13449 code collections already sharded
  • 13473 code failed to save collection (" + ns + "):
  • 13509 code can't migrate from 1.5.x release to the current one; need to upgrade to 1.6.x first
  • 13648 code can't shard collection because not all config servers are up
  • 14822 code state changed in the middle:
  • 15883 code not sharded after chunk manager reset :
  • 15885 code not sharded after reloading from chunks :
  • 8042 code db doesn't have sharding enabled
  • 8043 code collection already sharded

src/mongo/s/config.h

  • 10190 code ConfigServer not setup
  • 8041 code no primary shard configured for db:

src/mongo/s/cursors.cpp

  • 10191 code cursor already done
  • 13286 code sent 0 cursors to kill
  • 13287 code too many cursors to kill

src/mongo/s/d_chunk_manager.cpp

  • 13539 code does not exist
  • 13540 code collection config entry corrupted" , collectionDoc["dropped
  • 13541 code dropped. Re-shard collection first." , !collectionDoc["dropped
  • 13542 code collection doesn't have a key:
  • 13585 code version " << version.toString() << " not greater than
  • 13586 code couldn't find chunk " << min << "->
  • 13587 code
  • 13588 code
  • 13590 code setting version to " << version << " on removing last chunk
  • 13591 code version can't be set to zero
  • 14039 code version " << version.toString() << " not greater than
  • 14040 code can split " << min << " -> " << max << " on

src/mongo/s/d_logic.cpp

  • 10422 code write with bad shard config and no server id!
  • 9517 code writeback

src/mongo/s/d_split.cpp

src/mongo/s/d_state.cpp

  • 13298 code
  • 13299 code
  • 13647 code context should be empty here, is:

src/mongo/s/grid.cpp

  • 10185 code can't find a shard to put new db on
  • 10186 code removeDB expects db name
  • 10421 code getoptime failed" , conn->simpleCommand( "admin" , &result , "getoptime
  • 15918 code invalid database name:

src/mongo/s/request.cpp

  • 10194 code can't call primaryShard on a sharded collection!
  • 13644 code can't use 'local' database through mongos" , ! str::startsWith( getns() , "local.
  • 15845 code
  • 8060 code can't call primaryShard on a sharded collection

src/mongo/s/security.cpp

  • 15890 code key file must be used to log in with internal user

src/mongo/s/server.cpp

  • 10197 code createDirectClient not implemented for sharding yet
  • 15849 code client info not defined

src/mongo/s/shard.cpp

  • 13128 code can't find shard for:
  • 13129 code can't find shard for:
  • 13136 code
  • 13632 code couldn't get updated shard list from config server
  • 14807 code no set name for shard: " << _name << "
  • 15847 code can't authenticate to shard server
  • 15907 code could not initialize sharding on connection

src/mongo/s/shard_version.cpp

  • 10428 code need_authoritative set but in authoritative mode already
  • 10429 code
  • 15904 code cannot set version on invalid connection
  • 15905 code cannot set version or shard on pair connection
  • 15906 code cannot set version or shard on sync connection

src/mongo/s/shardkey.cpp

  • 10198 code left object (" << lObject << ") doesn't have full shard key (
  • 10199 code right object (" << rObject << ") doesn't have full shard key (

src/mongo/s/shardkey.h

  • 13334 code Shard Key must be less than 512 bytes

src/mongo/s/strategy.cpp

  • 10200 code mongos: error calling db

src/mongo/s/strategy_shard.cpp

  • 10201 code invalid update
  • 10203 code bad delete message
  • 10205 code can't use unique indexes with sharding ns:
  • 12376 code full shard key must be in update object for collection:
  • 13123 code Can't modify shard key's value. field:
  • 13505 code $atomic not supported sharded" , pattern["$atomic
  • 13506 code $atomic not supported sharded" , !query.hasField("$atomic
  • 14804 code collection no longer sharded
  • 14805 code collection no longer sharded
  • 14806 code collection no longer sharded
  • 16055 code too many retries during bulk insert, " << insertsRemaining.size() << " inserts remaining
  • 16056 code shutting down server during bulk insert, " << insertsRemaining.size() << " inserts remaining
  • 16064 code can't mix $operator style update with non-$op fields
  • 16065 code multi-updates require $ops rather than replacement object
  • 16066 code
  • 8010 code something is wrong, shouldn't see a command here
  • 8011 code tried to insert object with no valid shard key for " << manager->getShardKey().toString() << " :
  • 8012 code can't upsert something without full valid shard key
  • 8013 code For non-multi updates, must have _id or full shard key in query
  • 8014 code cannot modify shard key for collection:
  • 8015 code can only delete with a non-shard key pattern if can delete as many as we find
  • 8016 code can't do this write op on sharded collection
  • 8050 code can't update system.indexes
  • 8051 code can't delete indexes on sharded collection yet
  • 8052 code handleIndexWrite invalid write op

src/mongo/s/strategy_single.cpp

  • 10204 code dbgrid: getmore: error calling db
  • 13390 code unrecognized command:

src/mongo/s/util.h

  • 13657 code unknown type for ShardChunkVersion:

src/mongo/s/writeback_listener.cpp

  • 10427 code invalid writeback message
  • 13403 code didn't get writeback for: " << oid << " after: " << t.millis() << " ms
  • 13641 code can't parse host [" << conn.getServerAddress() << "]
  • 14041 code got writeback waitfor for older id
  • 15884 code Could not reload chunk manager after " << attempts << " attempts.

src/mongo/scripting/bench.cpp

  • 14811 code invalid bench dynamic piece:
  • 15930 code Authenticating to connection for bench run failed:
  • 15931 code Authenticating to connection for _benchThread failed:
  • 15932 code Authenticating to connection for benchThread failed:

src/mongo/scripting/engine.cpp

  • 10206 code
  • 10207 code compile failed
  • 10208 code need to have locallyConnected already
  • 10209 code name has to be a string:
  • 10210 code value has to be set
  • 10430 code invalid object id: not hex
  • 10448 code invalid object id: length

src/mongo/scripting/engine.h

  • 13474 code no _getInterruptSpecCallback
  • 9004 code invoke failed:
  • 9005 code invoke failed:

src/mongo/scripting/engine_spidermonkey.cpp

  • 10212 code holder magic value is wrong
  • 10213 code non ascii character detected
  • 10214 code not a number
  • 10215 code not an object
  • 10216 code not a function
  • 10217 code can't append field. name:" + name + " type:
  • 10218 code not done: toval
  • 10219 code object passed to getPropery is null
  • 10220 code don't know what to do with this op
  • 10221 code JS_NewRuntime failed
  • 10222 code assert not being executed
  • 10223 code deleted SMScope twice?
  • 10224 code already local connected
  • 10225 code already setup for external db
  • 10226 code connected to different db
  • 10227 code unknown type
  • 10228 code exec failed:
  • 10229 code need a scope
  • 10431 code JS_NewContext failed
  • 10432 code JS_NewObject failed for global
  • 10433 code js init failed
  • 13072 code JS_NewObject failed:
  • 13076 code recursive toObject
  • 13498 code
  • 13615 code JS allocation failed, either memory leak or using too much memory
  • 9006 code invalid utf8

src/mongo/scripting/engine_v8.cpp

  • 10230 code can't handle external yet
  • 10231 code not an object
  • 10232 code not a func
  • 10233 code
  • 10234 code
  • 12509 code don't know what this is:
  • 12510 code externalSetup already called, can't call externalSetup
  • 12511 code localConnect called with a different name previously
  • 12512 code localConnect already called, can't call externalSetup
  • 13475 code

src/mongo/scripting/sm_db.cpp

  • 10235 code no cursor!
  • 10236 code no args to internal_cursor_constructor
  • 10237 code mongo_constructor not implemented yet
  • 10239 code no connection!
  • 10245 code no connection!
  • 10248 code no connection!
  • 10251 code no connection!

src/mongo/scripting/utils.cpp

  • 10261 code js md5 needs a string

src/mongo/shell/shell_utils.cpp

  • 10257 code need to specify 1 argument to listFiles
  • 10258 code processinfo not supported
  • 12513 code connect failed", scope.exec( _dbConnect , "(connect)
  • 12514 code login failed", scope.exec( _dbAuth , "(auth)
  • 12518 code srand requires a single numeric argument
  • 12519 code rand accepts no arguments
  • 12581 code
  • 12597 code need to specify 1 argument
  • 13006 code isWindows accepts no arguments
  • 13301 code cat() : file to big to load as a variable
  • 13411 code getHostName accepts no arguments
  • 13619 code fuzzFile takes 2 arguments
  • 13620 code couldn't open file to fuzz
  • 13621 code no known mongo program on port
  • 14042 code
  • 15852 code stopMongoByPid needs a number
  • 15853 code stopMongo needs a number

src/mongo/tools/dump.cpp

  • 10262 code couldn't open file
  • 14035 code couldn't write to file
  • 15933 code Couldn't open file:

src/mongo/tools/import.cpp

  • 10263 code unknown error reading file
  • 13289 code Invalid UTF8 character detected
  • 13293 code BSON representation of supplied JSON array is too large:
  • 13295 code JSONArray file too large
  • 13504 code BSON representation of supplied JSON is too large:
  • 15854 code CSV file ends while inside quoted field

src/mongo/tools/restore.cpp

  • 15934 code JSON object size didn't match file size
  • 15935 code user does not have write access
  • 15936 code Creating collection " + _curns + " failed. Errmsg: " + info["errmsg

src/mongo/tools/sniffer.cpp

  • 10266 code can't use --source twice
  • 10267 code source needs more args

src/mongo/tools/tool.cpp

  • 10264 code invalid object size:
  • 10265 code counts don't match
  • 9997 code authentication failed:
  • 9998 code you need to specify fields
  • 9999 code file: " + fn ) + " doesn't exist

src/mongo/util/alignedbuilder.cpp

  • 13524 code out of memory AlignedBuilder
  • 13584 code out of memory AlignedBuilder

src/mongo/util/assert_util.h

src/mongo/util/background.cpp

  • 13643 code backgroundjob already started:

src/mongo/util/base64.cpp

  • 10270 code invalid base64

src/mongo/util/concurrency/list.h

  • 14050 code List1: item to orphan not in list

src/mongo/util/concurrency/qlock.h

src/mongo/util/file.h

  • 10438 code ReadFile error - truncated file?

src/mongo/util/file_allocator.cpp

  • 10439 code
  • 10440 code
  • 10441 code Unable to allocate new file of size
  • 10442 code Unable to allocate new file of size
  • 10443 code FileAllocator: file write failed
  • 13653 code
  • 16062 code fstatfs failed:
  • 16063 code ftruncate failed:

src/mongo/util/log.cpp

  • 10268 code LoggingManager already started
  • 14036 code couldn't write to log file

src/mongo/util/logfile.cpp

  • 13514 code error appending to file on fsync
  • 13515 code error appending to file
  • 13516 code couldn't open file " << name << " for writing
  • 13517 code error appending to file
  • 13518 code couldn't open file " << name << " for writing
  • 13519 code error 87 appending to file - invalid parameter
  • 15871 code Couldn't truncate file:
  • 15873 code Couldn't truncate file:

src/mongo/util/mmap.cpp

  • 13468 code can't create file already exists
  • 13617 code MongoFile : multiple opens of same filename
  • 15922 code couldn't get file length when opening mapping
  • 15923 code couldn't get file length when opening mapping

src/mongo/util/mmap_posix.cpp

  • 10446 code mmap: can't map area of size 0 file:
  • 10447 code map file alloc failed, wanted: " << length << " filelen:

src/mongo/util/mmap_win.cpp

  • 13056 code Async flushing not supported on windows

src/mongo/util/net/hostandport.h

  • 13095 code HostAndPort: bad port #
  • 13110 code HostAndPort: host is empty

src/mongo/util/net/httpclient.cpp

  • 10271 code invalid url" , url.find( "http://
  • 15862 code no ssl support

src/mongo/util/net/listen.cpp

  • 15863 code listen(): invalid socket?

src/mongo/util/net/message.h

  • 13273 code single data buffer expected

src/mongo/util/net/message_port.cpp

  • 15901 code client disconnected during operation

src/mongo/util/net/message_server_asio.cpp

  • 10273 code _cur not empty! pipelining requests not supported
  • 10274 code pipelining requests doesn't work yet

src/mongo/util/net/message_server_port.cpp

  • 10275 code multiple PortMessageServer not supported

src/mongo/util/net/sock.cpp

  • 13079 code path to unix socket too long
  • 13080 code no unix socket support on windows
  • 13082 code getnameinfo error
  • 15861 code can't create SSL
  • 15864 code can't create SSL Context:
  • 15865 code
  • 15866 code
  • 15867 code Can't read certificate file
  • 15868 code Can't read key file

src/mongo/util/paths.h

  • 13600 code
  • 13646 code stat() failed for file: " << path << "
  • 13650 code Couldn't open directory '" << dir.string() << "' for flushing:
  • 13651 code Couldn't fsync directory '" << dir.string() << "':
  • 13652 code Couldn't find parent dir for file:

src/mongo/util/processinfo_linux2.cpp

src/mongo/util/text.cpp

src/mongo/util/text.h

  • 13305 code could not convert string to long long
  • 13306 code could not convert string to long long
  • 13307 code cannot convert empty string to long long
  • 13310 code could not convert string to long long
Jump to Line
Something went wrong with that request. Please try again.