mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
112 KiB
112 KiB
MongoDB Error Codes
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
bson/bson_db.h
- 10062 code not code
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
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
bson/ordering.h
- 13103 code too many compound keys
bson/util/builder.h
client/clientOnly.cpp
- 10256 code no createDirectClient in clientOnly
client/connpool.cpp
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
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() << " 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
client/dbclient.h
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
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
client/dbclientcursor.h
client/distlock.cpp
- 14023 code remote time in cluster " << _conn.toString() << " is now skewed, cannot force lock.
client/distlock_test.cpp
- 13678 code Could not communicate with server " << server.toString() << " in cluster " << cluster.toString() << " to change skew by
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
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:
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
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:
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
db/btree.h
- 13000 code invalid keyNode: " + BSON( "i" << i << "n
db/btreebuilder.cpp
- 10288 code bad key order in BtreeBuilder - server internal error
db/btreecursor.cpp
- 13384 code BtreeCursor FieldRangeVector constructor doesn't accept special indexes
- 14800 code unsupported index version
- 14801 code unsupported index version
- 15850 code keyAt bucket deleted
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
db/client.cpp
- 10057 code
- 13005 code can't create db, keeps getting closed
- 14031 code Can't take a write lock while out of disk space
db/client.h
- 12600 code releaseAndWriteLock: unlock_shared failed, probably recursive
db/clientcursor.h
- 12051 code clientcursor already in use? driver problem?
- 12521 code internal error: use of an unlocked ClientCursor
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
db/cmdline.cpp
- 10033 code logpath has to be non-zero
db/commands/distinct.cpp
- 10044 code distinct too big, 16mb cap
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
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:
db/commands/isself.cpp
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
- 10078 code something bad happened" , shardedOutputCollection == res["result
- 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 << " for query : " << config.filter << " sort :
- 15877 code could not create client cursor over " << config.ns << " for query : " << config.filter << " sort :
- 15895 code nonAtomic option cannot be used with this output type
- 9014 code map invoke failed:
db/common.cpp
- 10332 code Expected CurrentTime type
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
db/concurrency.h
- 13142 code timeout getting readlock
db/curop.h
db/cursor.h
- 13285 code manual matcher config not allowed
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)
db/db.cpp
db/db.h
- 10298 code can't temprelease nested write lock
- 10299 code can't temprelease nested read lock
- 13074 code db name can't be empty
- 13075 code db name can't be empty
- 13280 code invalid db name:
- 14814 code
- 14845 code
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
- 15888 code must pass name of collection to create
db/dbcommands_admin.cpp
- 12032 code fsync: sync option must be true when using lock
- 12033 code fsync: profiling must be off to enter locked mode
- 12034 code fsync: can't lock while an unlock is pending
db/dbcommands_generic.cpp
- 10038 code forced error
db/dbeval.cpp
db/dbhelpers.cpp
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
db/dbwebserver.cpp
- 13453 code server not started with --jsonp
db/dur.cpp
- 13599 code Written data does not match in-memory view. Missing WriteIntent?
- 13616 code can't disable durability with pending writes
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:
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
db/durop.cpp
- 13546 code journal recover: unrecognized opcode in journal
- 13547 code recover couldn't create file
- 13628 code recover failure writing file
db/extsort.cpp
db/extsort.h
- 10052 code not sorted
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 type:
- 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
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]
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
db/index.cpp
- 10096 code invalid ns to index
- 10097 code bad table to index name on add index attempt
- 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
- 14819 code
db/index.h
- 14802 code index v field should be Integer type
db/indexkey.cpp
- 10088 code
- 13007 code can only have 1 index plugin / bad index key pattern
- 13529 code sparse only works for single field keys
- 15855 code Parallel references while expanding indexed field in array
- 15869 code Invalid index version for key generation.
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 acquire lock for lockfilepath:
- 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
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
db/json.cpp
- 10338 code Invalid use of reserved field name
- 10339 code Badly formatted bindata
- 10340 code Failure parsing JSON string near:
db/lasterror.cpp
- 13649 code no operation yet
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
- 13021 code $all/$elemMatch needs to be applied to array
- 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
- 15892 code
- 15893 code
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)
db/mongomutex.h
- 10293 code internal error: locks are not upgradeable:
- 12599 code internal error: attempt to unlock when wasn't in a write lock
db/namespace-inl.h
- 10080 code ns name too long, max size is 128
- 10348 code $extra: ns name too long
- 10349 code E12000 idxNo fails
- 13283 code Missing Extra
- 14045 code missing Extra
- 14823 code missing extra
- 14824 code missing Extra
db/namespace.cpp
- 10079 code bad .ns file length, cannot open database
- 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
- 14037 code can't create user databases on a --configsvr instance
db/namespace.h
- 10081 code too many namespaces/collections
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
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
db/oplog.h
- 14835 code
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
- 13340 code cursor dropped during delete
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?
- 13638 code client cursor dropped during explain query yield
- 14833 code auth error
db/ops/query.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
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 array
- 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
- 13339 code cursor dropped during update
- 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 $
- 9016 code unknown $bit operation:
- 9017 code
db/ops/update.h
- 10161 code Invalid modifier specified
- 12527 code not okForStorage
- 13492 code mod must be RENAME_TO type
- 9015 code
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:
- 14051 code system.user entry needs 'user' field to be a string" , t["user
- 14052 code system.user entry needs 'pwd' field to be a string" , t["pwd
- 14053 code system.user entry needs 'user' field to be non-empty" , t["user
- 14054 code system.user entry needs 'pwd' field to be non-empty" , t["pwd
db/pdfile.h
- 13640 code DataFileHeader looks corrupt at file open filelength:" << filelength << " fileno:
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
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 without an index is not allowed:
- 15878 code query plans not successful even with no constraints, potentially due to additional sort
- 15894 code no index matches QueryPlanSet's sort with _bestGuessOnly
db/queryoptimizer.h
- 13266 code not implemented for $or query
- 13271 code can't run more ops
- 13335 code yield not supported
- 13336 code yield not supported
db/queryoptimizercursor.cpp
db/queryutil-inl.h
- 14049 code FieldRangeSetPair invalid index specified
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
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
db/repl/health.h
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
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
db/repl/rs_initialsync.cpp
- 13404 code
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
db/repl/rs_rollback.cpp
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:
db/repl_block.cpp
- 14830 code unrecognized getLastError mode:
db/replutil.h
- 10107 code not master
- 13435 code not master and slaveOk=false
- 13436 code not master or secondary, can't read
db/restapi.cpp
- 13085 code query failed for dbwebserver
db/scanandorder.cpp
- 10128 code too much data for sort() with no index. add an index or specify a smaller limit
- 10129 code too much data for sort() with no index
db/security.cpp
- 15889 code key file must be used to log in with internal user
dbtests/framework.cpp
- 10162 code already have suite with that name
dbtests/jsobjtests.cpp
dbtests/queryoptimizertests.cpp
s/balance.cpp
- 13258 code oids broken after resetting!
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
- 13346 code can't pre-split already splitted collection
- 13405 code min must have shard key
- 13406 code max must have shard key
- 13501 code use geoNear command rather than $near query
- 13502 code unrecognized special query type:
- 13503 code
- 13507 code invalid chunk config minObj:
- 13592 code
- 14022 code Error locking distributed lock for chunk drop.
- 8070 code couldn't find a chunk which should be impossible:
- 8071 code cleaning up after drop failed:
s/client.cpp
- 13134 code
s/commands_admin.cpp
- 15879 code
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
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
s/config.h
s/cursors.cpp
- 10191 code cursor already done
- 13286 code sent 0 cursors to kill
- 13287 code too many cursors to kill
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
- 15851 code
s/d_logic.cpp
s/d_split.cpp
- 13593 code
s/d_state.cpp
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
s/mr_shard.cpp
- 14836 code couldn't compile code for:
- 14837 code value too large to reduce
- 14838 code reduce -> multiple not supported yet
- 14839 code unknown out specifier [" << t << "]
- 14840 code 'out' has to be a string or an object
- 14841 code outType is no longer a valid option" , cmdObj["outType
s/request.cpp
- 10193 code no shard info for:
- 10194 code can't call primaryShard on a sharded collection!
- 10195 code too many attempts to update config, failing
- 13644 code can't use 'local' database through mongos" , ! str::startsWith( getns() , "local.
- 15845 code unauthorized
- 8060 code can't call primaryShard on a sharded collection
s/security.cpp
- 15890 code key file must be used to log in with internal user
s/server.cpp
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
s/shard_version.cpp
s/shardconnection.cpp
- 13409 code can't parse ns from:
s/shardkey.cpp
- 10198 code left object doesn't have full shard key
- 10199 code right object doesn't have full shard key
s/shardkey.h
- 13334 code Shard Key must be less than 512 bytes
s/strategy.cpp
- 10200 code mongos: error calling db
s/strategy_shard.cpp
- 10201 code invalid update
- 10203 code bad delete message
- 12376 code
- 13123 code
- 13465 code shard key in upsert query must be an exact match
- 13505 code $atomic not supported sharded" , pattern["$atomic
- 13506 code $atomic not supported sharded" , query["$atomic
- 14804 code collection no longer sharded
- 14805 code collection no longer sharded
- 14806 code collection no longer sharded
- 14842 code tried to insert object with no valid shard key
- 14843 code collection no longer sharded
- 14849 code collection no longer sharded
- 14850 code can't do non-multi update with query that doesn't have a valid shard key
- 14851 code
- 14854 code can't upsert something without valid shard key
- 14855 code shard key in upsert query must be an exact match
- 14856 code
- 14857 code
- 8010 code something is wrong, shouldn't see a command here
- 8011 code tried to insert object with no valid shard key
- 8012 code can't upsert something without valid shard key
- 8013 code can't do non-multi update with query that doesn't have a valid shard key
- 8014 code
- 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
s/strategy_single.cpp
- 10204 code dbgrid: getmore: error calling db
- 10205 code can't use unique indexes with sharding ns:
- 13390 code unrecognized command:
- 8050 code can't update system.indexes
- 8051 code can't delete indexes on sharded collection yet
- 8052 code handleIndexWrite invalid write op
s/util.h
- 13657 code unknown type for ShardChunkVersion:
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.
scripting/bench.cpp
- 14811 code invalid bench dynamic piece:
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
scripting/engine.h
scripting/engine_java.h
- 10211 code only readOnly setObject supported in java
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
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
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!
scripting/utils.cpp
- 10261 code js md5 needs a string
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
tools/dump.cpp
tools/import.cpp
- 10263 code unknown error reading file
- 13289 code Invalid UTF8 character detected
- 13295 code JSONArray file too large
- 15854 code CSV file ends while inside quoted field
tools/sniffer.cpp
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
util/alignedbuilder.cpp
util/assert_util.h
util/background.cpp
- 13643 code backgroundjob already started:
util/base64.cpp
- 10270 code invalid base64
util/concurrency/list.h
- 14050 code List1: item to orphan not in list
util/file.h
- 10438 code ReadFile error - truncated file?
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
util/log.cpp
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
- 15870 code
- 15871 code Couldn't truncate file:
- 15872 code
- 15873 code Couldn't truncate file:
util/mmap.cpp
util/mmap_posix.cpp
- 10446 code mmap: can't map area of size 0 file:
- 10447 code map file alloc failed, wanted: " << length << " filelen:
util/mmap_win.cpp
- 13056 code Async flushing not supported on windows
util/net/hostandport.h
util/net/httpclient.cpp
util/net/listen.cpp
- 15863 code listen(): invalid socket?
util/net/message.h
- 13273 code single data buffer expected
util/net/message_server_asio.cpp
- 10273 code _cur not empty! pipelining requests not supported
- 10274 code pipelining requests doesn't work yet
util/net/message_server_port.cpp
util/net/sock.cpp
- 13079 code path to unix socket too long
- 13080 code no unix socket support on windows
- 13082 code
- 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
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:
util/processinfo_linux2.cpp
- 13538 code