Files
mongo/docs/errors.md
2014-06-18 23:49:12 -04:00

175 KiB

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
  • 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
  • 16150 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
  • 16177 code not codeWScope
  • 16178 code not codeWScope

src/mongo/bson/bsonobjbuilder.h

  • 10335 code builder does not own memory
  • 10336 code No subobject started
  • 13048 code
  • 15891 code can't backfill array to larger than 1,500,000 elements
  • 16234 code Invalid call to appendNull in BSONObj Builder.

src/mongo/bson/bsonobjiterator.h

  • 16446 code BSONElement has bad size

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() + " :
  • 17382 code Can't use connection pool during shutdown

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
  • 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
  • 16335 code custom connection to
  • 17232 code You cannot specify both 'db' and 'userSource'. Please use only 'db'.

src/mongo/client/dbclient_rs.cpp

  • 13639 code can't connect to new replica set master [
  • 16340 code No replica set monitor active and no cached seed
  • 16369 code No good nodes available for set:
  • 16370 code
  • 16379 code
  • 16380 code
  • 16381 code $readPreference should be an object
  • 16382 code mode not specified for read preference
  • 16383 code Unknown read preference mode:
  • 16384 code Only empty tags are allowed with primary read preference
  • 16385 code tags for read preference should be an array
  • 16532 code Failed to connect to

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
  • 16465 code recv failed while exhausting cursor

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/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:
  • 16428 code
  • 9008 code filemd5 failed

src/mongo/client/parallel.cpp

  • 10019 code no more elements
  • 13431 code
  • 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
  • 15988 code error querying server
  • 15989 code database not found for parallel cursor request
  • 17306 code

src/mongo/client/replica_set_monitor.cpp

  • 10009 code ReplicaSetMonitor no master found for set:
  • 13610 code ConfigChangeHook already specified
  • 13642 code Replica set seed list can't be empty
  • 16337 code Unknown read preference
  • 16358 code Tags should be a BSON object

src/mongo/client/sasl_client_session.cpp

src/mongo/client/syncclusterconnection.cpp

  • 10022 code SyncClusterConnection::getMore not supported yet
  • 13053 code help failed: " << info , _commandOnActive( "admin" , BSON( name << "1" << "help
  • 13054 code write $cmd not supported in SyncClusterConnection::query for:
  • 13105 code
  • 13119 code
  • 13120 code SyncClusterConnection::update upsert query needs _id" , query.obj["_id
  • 13397 code SyncClusterConnection::say prepare failed:
  • 15848 code sync cluster of sync clusters?
  • 16743 code
  • 16744 code
  • 8001 code SyncClusterConnection write op failed:
  • 8002 code all servers down/unreachable when querying:
  • 8003 code SyncClusterConnection::insert prepare failed:
  • 8004 code SyncClusterConnection needs 3 servers
  • 8005 code SyncClusterConnection::update 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/unreachable:
  • 8020 code SyncClusterConnection::remove prepare failed:

src/mongo/db/auth/authorization_manager.cpp

src/mongo/db/auth/authorization_manager_global.cpp

src/mongo/db/auth/authorization_session.cpp

src/mongo/db/auth/authz_documents_update_guard.cpp

src/mongo/db/auth/authz_manager_external_state_local.cpp

src/mongo/db/auth/authz_manager_external_state_mock.cpp

src/mongo/db/auth/authz_session_external_state_d.cpp

src/mongo/db/auth/mechanism_scram.cpp

src/mongo/db/auth/role_graph.cpp

src/mongo/db/auth/role_graph_builtin_roles.cpp

src/mongo/db/auth/user_document_parser.cpp

  • 17501 code Invalid or missing SCRAM iteration count
  • 17502 code Missing SCRAM salt
  • 17503 code Missing SCRAM serverKey
  • 17504 code Missing SCRAM storedKey

src/mongo/db/background.cpp

src/mongo/db/catalog/collection.cpp

  • 10089 code cannot remove from a capped collection
  • 17445 code index build in progress

src/mongo/db/catalog/collection_cursor_cache.cpp

src/mongo/db/catalog/database.cpp

  • 10028 code
  • 14037 code can't create user databases on a --configsvr instance
  • 17316 code cannot create a blank collection
  • 17320 code
  • 17381 code fully qualified namespace " << ns << " is too long
  • 17399 code collection already exists

src/mongo/db/catalog/database_holder.cpp

  • 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
  • 17507 code Can't take a write lock while out of disk space

src/mongo/db/catalog/database_holder.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/catalog/index_catalog.cpp

src/mongo/db/catalog/index_create.cpp

src/mongo/db/client.cpp

  • 15928 code can't open a database from a nested read lock

src/mongo/db/client_basic.cpp

src/mongo/db/cloner.cpp

  • 10024 code bad ns field for index during dbcopy
  • 10025 code bad ns field for index during dbcopy [2]
  • 10289 code useReplAuth is not written to replication log
  • 10290 code
  • 17321 code

src/mongo/db/commands.cpp

src/mongo/db/commands.h

src/mongo/db/commands/collection_to_capped.cpp

  • 16708 code bad 'toCollection' value

src/mongo/db/commands/copydb.cpp

  • 13008 code must call copydbgetnonce first

src/mongo/db/commands/distinct.cpp

  • 17216 code Can't get runner for query
  • 17217 code distinct too big, 16mb cap
  • 18510 code
  • 18511 code

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
  • 17383 code Could not canonicalize
  • 17384 code Could not get runner for query

src/mongo/db/commands/find_and_modify_common.cpp

  • 17137 code Invalid target namespace

src/mongo/db/commands/geonear.cpp

  • 17296 code distanceMultiplier must be a number
  • 17297 code distanceMultiplier must be non-negative
  • 17298 code minDistance doesn't work on 2d index
  • 17299 code maxDistance must be a number",cmdObj["maxDistance
  • 17300 code minDistance must be a number",cmdObj["minDistance
  • 17301 code 2dsphere index must have spherical: true
  • 17302 code limit must be >=0
  • 17303 code limit must be number
  • 17304 code 'near' field must be point

src/mongo/db/commands/group.cpp

  • 10041 code invoke failed in $keyf:
  • 10042 code return of $key has to be an object
  • 17203 code group() can't handle more than 20000 unique keys
  • 17211 code ns has to be set", p["ns
  • 17212 code Can't canonicalize query
  • 17213 code Can't get runner for query
  • 17214 code

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
  • 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
  • 13608 code query has to be blank or an Object
  • 13609 code sort has to be blank or an Object
  • 13630 code attempted to insert into nonexistent
  • 13631 code attempted to insert into nonexistent
  • 15921 code splitVector failed:
  • 16054 code
  • 16149 code cannot run map reduce without the js engine
  • 16717 code error initializing JavaScript reduceAll function
  • 16718 code error initializing JavaScript reduce/emit function
  • 16719 code error creating JavaScript reduce/finalize function
  • 16720 code error initializing JavaScript functions
  • 17238 code Can't canonicalize query
  • 17239 code Can't get runner for query
  • 17305 code createIndex failed for mr incLong ns:
  • 9014 code map invoke failed:

src/mongo/db/commands/mr_common.cpp

  • 13522 code
  • 13606 code 'out' has to be a string or an object
  • 15895 code
  • 17142 code
  • 17143 code Invalid target namespace

src/mongo/db/commands/pipeline_command.cpp

  • 16954 code cursor field must be missing or an object
  • 16955 code cursor object can't contain fields other than batchSize
  • 16956 code cursor.batchSize must be a number
  • 16957 code Cursor batchSize must not be negative
  • 17391 code

src/mongo/db/commands/server_status_internal.cpp

src/mongo/db/commands/test_commands.cpp

  • 13049 code godinsert must specify a collection
  • 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

src/mongo/db/commands/write_commands/write_commands_common.cpp

src/mongo/db/curop.h

  • 12601 code CurOp not marked done yet

src/mongo/db/d_concurrency.cpp

src/mongo/db/db.cpp

src/mongo/db/dbcommands.cpp

  • 10040 code chunks out of order
  • 13455 code dbexit timed out getting lock
  • 14832 code
  • 15888 code
  • 16247 code md5 state not correct size
  • 17240 code Can't canonicalize query
  • 17241 code Can't get runner for query
  • 17317 code impersonation unexpectedly active

src/mongo/db/dbcommands_generic.cpp

  • 10038 code forced error

src/mongo/db/dbeval.cpp

  • 10046 code eval needs Code

src/mongo/db/dbhelpers.cpp

  • 13430 code no _id index
  • 17244 code Could not canonicalize
  • 17245 code Could not get runner for query

src/mongo/db/dbmessage.h

  • 10304 code
  • 10307 code
  • 13066 code Message contains no documents

src/mongo/db/dbwebserver.cpp

  • 13453 code server not started with --jsonp
  • 17051 code
  • 17090 code

src/mongo/db/exec/filter.h

  • 16920 code trying to match on unknown field:
  • 17409 code

src/mongo/db/exec/stagedebug_cmd.cpp

  • 16890 code Can't find index:
  • 16910 code Unknown fieldname
  • 16911 code Couldn't parse plan from
  • 16921 code Nodes argument must be provided to AND
  • 16922 code node of AND isn't an obj?:
  • 16923 code Can't parse sub-node of AND:
  • 16924 code Nodes argument must be provided to AND
  • 16925 code node of AND isn't an obj?:
  • 16926 code Can't parse sub-node of AND:
  • 16927 code AND requires more than one child
  • 16928 code AND requires more than one child
  • 16929 code Node argument must be provided to fetch
  • 16930 code Node argument must be provided to limit
  • 16931 code Num argument must be provided to limit
  • 16932 code Node argument must be provided to skip
  • 16933 code Num argument must be provided to skip
  • 16934 code Nodes argument must be provided to AND
  • 16935 code Dedup argument must be provided to OR
  • 16936 code Can't parse sub-node of OR:
  • 16937 code Limit stage doesn't have a filter (put it on the child)
  • 16938 code Skip stage doesn't have a filter (put it on the child)
  • 16963 code Direction argument must be specified and be a number
  • 16969 code Node argument must be provided to sort
  • 16970 code Pattern argument must be provided to sort
  • 16971 code Nodes argument must be provided to sort
  • 16972 code Pattern argument must be provided to sort
  • 16973 code node of mergeSort isn't an obj?:
  • 16974 code Can't parse sub-node of mergeSort:
  • 17194 code Expected exactly one text index
  • 17446 code Couldn't find the collection

src/mongo/db/fts/fts_index_format.cpp

  • 16675 code cannot have a multi-key as a prefix to a text index
  • 16732 code
  • 16733 code

src/mongo/db/fts/fts_spec.cpp

src/mongo/db/fts/fts_spec_legacy.cpp

  • 17365 code score for word too high
  • 17366 code

src/mongo/db/geo/geoparser.cpp

src/mongo/db/geo/geoquery.cpp

  • 16672 code $within not supported with provided geometry:
  • 16681 code $near requires geojson point, given
  • 16885 code $near requires a point, given
  • 16893 code $minDistance must be a number
  • 16894 code $minDistance must be non-negative
  • 16895 code $maxDistance must be a number
  • 16896 code $maxDistance must be non-negative
  • 16897 code $minDistance must be a number
  • 16898 code $minDistance must be non-negative
  • 16899 code $maxDistance must be a number
  • 16900 code $maxDistance must be non-negative
  • 17444 code

src/mongo/db/geo/hash.cpp

  • 13026 code
  • 13027 code
  • 13047 code wrong type for geo index. if you're using a pre-release version,
  • 13067 code
  • 13068 code
  • 16433 code
  • 16457 code initFromString passed a too-long string
  • 16458 code initFromString passed an odd length string

src/mongo/db/geo/haystack.cpp

  • 13318 code near needs to be an array
  • 13319 code maxDistance needs a number
  • 13320 code search needs to be an object

src/mongo/db/geo/shapes.cpp

src/mongo/db/global_environment_experiment.cpp

src/mongo/db/global_optime.cpp

src/mongo/db/index/btree_access_method.cpp

  • 16745 code Invalid index version for key generation.

src/mongo/db/index/btree_key_generator.cpp

src/mongo/db/index/expression_keys_private.cpp

  • 16754 code Can't parse geometry from element:
  • 16755 code Can't extract geo keys from object, malformed geometry?:
  • 16756 code Unable to generate keys for (likely malformed) geometry:
  • 16766 code Error: hashed indexes do not currently support array values
  • 16767 code Only HashVersion 0 has been defined
  • 16775 code latlng not an array
  • 16776 code geo field is not a number
  • 16804 code

src/mongo/db/index/expression_params.h

  • 16747 code coarsestIndexedLevel must be >= 0
  • 16748 code finestIndexedLevel must be <= 30
  • 16749 code finestIndexedLevel must be >= coarsestIndexedLevel
  • 16765 code error: no hashed index field
  • 16769 code bucketSize cannot be zero
  • 16770 code can't have more than one geo field
  • 16771 code the geo field has to be first in index
  • 16772 code geoSearch can only have 1 non-geo field for now
  • 16777 code need bucketSize
  • 16800 code can't have 2 geo fields
  • 16801 code 2d has to be first in index
  • 16802 code no geo field specified
  • 17395 code

src/mongo/db/index/hash_access_method.cpp

  • 16763 code Currently only single field hashed index supported.
  • 16764 code Currently hashed indexes cannot guarantee uniqueness. Use a regular index.

src/mongo/db/index/haystack_access_method.cpp

  • 16773 code no geo field specified
  • 16774 code no non-geo fields specified

src/mongo/db/index/s2_access_method.cpp

  • 16750 code Expect at least one geo field, spec=
  • 16823 code Cannot use
  • 17394 code

src/mongo/db/initialize_server_global_state.cpp

src/mongo/db/instance.cpp

  • 10055 code update object too large
  • 10058 code not master
  • 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?
  • 12596 code old lock file
  • 13004 code sent negative cursors to kill:
  • 13073 code shutting down
  • 13342 code Unable to truncate lock file
  • 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?
  • 13658 code bad kill cursors size:
  • 13659 code sent 0 cursors to kill
  • 16257 code Invalid ns [" << ns << "]
  • 16258 code Invalid ns [" << ns << "]

src/mongo/db/introspect.cpp

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

src/mongo/db/keypattern.cpp

src/mongo/db/lasterror.cpp

  • 13649 code no operation yet

src/mongo/db/lockstat.cpp

src/mongo/db/lockstate.cpp

src/mongo/db/matcher/expression_leaf.cpp

src/mongo/db/matcher/expression_where.cpp

  • 16812 code
  • 16813 code unknown error in invocation of $where function

src/mongo/db/matcher/matcher.cpp

src/mongo/db/namespace_string-inl.h

  • 17235 code
  • 17246 code
  • 17295 code namespaces cannot have embedded null characters

src/mongo/db/namespace_string.h

  • 10078 code nsToDatabase: db too long
  • 10088 code nsToDatabase: db too long
  • 16886 code nsToCollectionSubstring: no .

src/mongo/db/operation_context_impl.cpp

  • 11601 code operation was interrupted

src/mongo/db/ops/delete_executor.cpp

  • 10100 code cannot delete from collection with reserved $ in name
  • 10101 code
  • 12050 code
  • 17417 code

src/mongo/db/ops/update.cpp

src/mongo/db/ops/update_driver.cpp

src/mongo/db/pipeline/accumulator_sum.cpp

  • 16000 code $sum resulted in a non-numeric type

src/mongo/db/pipeline/document.cpp

  • 16486 code
  • 16487 code
  • 16488 code
  • 16489 code
  • 16490 code Tried to make oversized document
  • 16491 code Tried to make oversized document
  • 16601 code

src/mongo/db/pipeline/document_source_command_shards.cpp

  • 16390 code sharded pipeline failed on shard
  • 16391 code no result array? shard:

src/mongo/db/pipeline/document_source_cursor.cpp

  • 16028 code collection or index disappeared when cursor yielded
  • 17285 code cursor encountered an error:
  • 17286 code Unexpected return from Runner::getNext:
  • 17392 code No _runner. Were we disposed before explained?

src/mongo/db/pipeline/document_source_geo_near.cpp

  • 16602 code $geoNear is only allowed as the first pipeline stage
  • 16603 code Already ran geoNearCommand
  • 16604 code geoNear command failed:
  • 16605 code $geoNear requires a 'near' option as an Array
  • 16606 code $geoNear requires a 'distanceField' option as a String
  • 16607 code $geoNear requires that 'includeLocs' option is a String

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
  • 15950 code
  • 15951 code
  • 15952 code unknown group operator '" << key.name << "'
  • 15953 code
  • 15954 code
  • 15955 code a group specification must include an _id
  • 16414 code
  • 16945 code Exceeded memory limit for $group, but didn't allow external sort.
  • 17030 code $doingMerge should be true if present
  • 17390 code $group does not support inclusion-style expressions

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
  • 16395 code $where is not allowed inside of a $match aggregation expression
  • 16424 code $near is not allowed inside of a $match aggregation expression
  • 16426 code $nearSphere is not allowed inside of a $match aggregation expression
  • 17309 code Should never call getNext on a $match stage with $text clause
  • 17313 code $match with $text is only allowed as the first pipeline stage

src/mongo/db/pipeline/document_source_merge_cursors.cpp

  • 17026 code Expected an Array, but got a
  • 17027 code Expected an Object, but got a
  • 17028 code

src/mongo/db/pipeline/document_source_out.cpp

  • 16990 code $out only supports a string argument, not
  • 16994 code failed to create temporary $out collection '
  • 16995 code copying index for $out failed.
  • 16996 code insert for $out failed:
  • 16997 code renameCollection for $out failed:
  • 17000 code $out shouldn't have different db than input
  • 17017 code namespace '
  • 17018 code namespace '
  • 17152 code namespace '
  • 17385 code Can't $out to special collection:

src/mongo/db/pipeline/document_source_project.cpp

  • 15969 code
  • 16402 code parseObject() returned wrong type of Expression
  • 16403 code $projection requires at least one output field

src/mongo/db/pipeline/document_source_redact.cpp

  • 17053 code $redact's expression should not return anything

src/mongo/db/pipeline/document_source_skip.cpp

src/mongo/db/pipeline/document_source_sort.cpp

  • 15973 code the
  • 15974 code $sort key ordering must be specified using a number or {$meta: 'text'}
  • 15975 code $sort key ordering must be 1 (for ascending) or -1 (for descending)
  • 15976 code must have at least one sort key
  • 17196 code can only mergePresorted from MergeCursors and CommandShards
  • 17312 code

src/mongo/db/pipeline/document_source_unwind.cpp

  • 15978 code Value at end of $unwind field path '
  • 15979 code can't unwind more than one path
  • 15981 code the

src/mongo/db/pipeline/expression.cpp

  • 15982 code
  • 15983 code
  • 15990 code this object is already an operator expression, and can't be used as a document expression (at '
  • 15992 code
  • 15999 code invalid operator '" << opName << "'
  • 16034 code
  • 16035 code
  • 16400 code
  • 16401 code
  • 16404 code $expressions are not allowed at the top-level of $project
  • 16405 code dotted field names are only allowed at the top level
  • 16406 code
  • 16407 code inclusion not supported in objects nested in $expressions
  • 16417 code $add resulted in a non-numeric type
  • 16418 code $multiply resulted in a non-numeric type
  • 16419 code field path must not contain embedded null characters" << prefixedField.find("\0") << ",
  • 16420 code field inclusion is not allowed inside of $expressions
  • 16554 code $add only supports numeric or date types, not
  • 16555 code $multiply only supports numeric types, not
  • 16556 code cant $subtract a
  • 16608 code can't $divide by zero
  • 16609 code $divide only supports numeric types, not
  • 16610 code can't $mod by 0
  • 16611 code $mod only supports numeric types, not
  • 16612 code only one Date allowed in an $add expression
  • 16613 code cant $subtract a
  • 16702 code $concat only supports strings, not
  • 16866 code empty variable names are not allowed
  • 16867 code
  • 16868 code '" << varName << "' contains an invalid character
  • 16869 code empty variable names are not allowed
  • 16870 code
  • 16871 code '" << varName << "' contains an invalid character
  • 16872 code '$' by itself is not a valid FieldPath
  • 16873 code FieldPath '" << raw << "' doesn't start with $
  • 16874 code $let only supports an object as it's argument
  • 16875 code
  • 16876 code Missing 'vars' parameter to $let
  • 16877 code Missing 'in' parameter to $let
  • 16878 code $map only supports an object as it's argument
  • 16879 code
  • 16880 code Missing 'input' parameter to $map
  • 16881 code Missing 'as' parameter to $map
  • 16882 code Missing 'in' parameter to $map
  • 16883 code input to $map must be an Array not
  • 17040 code 's argument must be an array, but is
  • 17041 code 's argument must be an array, but is
  • 17042 code both operands of $setIsSubset must be arrays. Second
  • 17043 code All operands of $setUnion must be arrays. One argument
  • 17044 code All operands of $setEquals must be arrays. One
  • 17045 code $setEquals needs at least two arguments had:
  • 17046 code both operands of $setIsSubset must be arrays. First
  • 17047 code All operands of $setIntersection must be arrays. One
  • 17048 code both operands of $setDifference must be arrays. First
  • 17049 code both operands of $setDifference must be arrays. Second
  • 17064 code Duplicate expression (" << key << ") detected at
  • 17080 code Missing 'if' parameter to $cond
  • 17081 code Missing 'then' parameter to $cond
  • 17082 code Missing 'else' parameter to $cond
  • 17083 code
  • 17124 code The argument to $size must be an Array, but was of type:
  • 17199 code can't use Variables::setValue to set ROOT
  • 17275 code Can't redefine ROOT
  • 17276 code Use of undefined variable:
  • 17307 code $meta only supports String arguments
  • 17308 code Unsupported argument to $meta:
  • 17310 code both operands of $setIsSubset must be arrays. First
  • 17311 code both operands of $setIsSubset must be arrays. Second

src/mongo/db/pipeline/expression.h

src/mongo/db/pipeline/field_path.cpp

  • 15998 code FieldPath field names may not be empty strings.
  • 16409 code FieldPath cannot be constructed from an empty vector.
  • 16410 code FieldPath field names may not start with '$'.
  • 16411 code FieldPath field names may not contain '\0'.
  • 16412 code FieldPath field names may not contain '.'.

src/mongo/db/pipeline/pipeline.cpp

  • 15942 code pipeline element
  • 16389 code
  • 16435 code A pipeline stage specification object must contain exactly one field.
  • 16436 code
  • 16600 code should not have an empty pipeline
  • 16949 code
  • 16991 code $out can only be the final stage in the pipeline
  • 17138 code
  • 17139 code

src/mongo/db/pipeline/value.cpp

  • 16003 code
  • 16004 code
  • 16005 code
  • 16006 code
  • 16007 code
  • 16378 code
  • 16421 code Can't handle date values outside of time_t range
  • 16422 code gmtime failed - your system doesn't support dates before 1970
  • 16423 code gmtime failed to convert time_t of
  • 16485 code
  • 16557 code can't compare CodeWScope values containing a NUL byte in the code.

src/mongo/db/prefetch.cpp

src/mongo/db/projection.cpp

  • 10053 code You cannot currently mix including and excluding fields.
  • 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
  • 16342 code elemMatch: invalid argument. object required.
  • 16343 code Cannot specify positional operator and $elemMatch
  • 16344 code Cannot use $elemMatch projection on a nested field
  • 16345 code Cannot exclude array elements with the positional operator
  • 16346 code Cannot specify more than one positional array element per query
  • 16347 code Cannot specify positional operator and $elemMatch
  • 16348 code matchers are only supported for $elemMatch
  • 16349 code $elemMatch specified, but projection field not found.
  • 16350 code $elemMatch called on document element with eoo
  • 16351 code $elemMatch called on array element with eoo
  • 16352 code positional operator (
  • 16353 code positional operator element mismatch
  • 16354 code Positional operator does not match the query specifier.

src/mongo/db/query/new_find.cpp

  • 13530 code bad or malformed command request?
  • 16256 code Invalid ns [" << ns << "]
  • 16332 code can't have an empty ns
  • 16979 code bad numberToReturn (
  • 17007 code Unable to execute query:
  • 17011 code auth error
  • 17144 code Runner error:
  • 17287 code Can't canonicalize query:
  • 17356 code collection dropped between getMore calls
  • 17406 code getMore runner error:
  • 17510 code Explain error:

src/mongo/db/repl/bgsync.cpp

  • 1000 code replSet source for syncing doesn't seem to be await capable -- is it an older version of mongodb?
  • 16235 code going to start syncing, but buffer is not empty

src/mongo/db/repl/master_slave.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
  • 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
  • 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
  • 17065 code Internal error reading from local.sources
  • 17066 code Internal error reading from local.sources

src/mongo/db/repl/oplog.cpp

  • 13257 code
  • 13288 code replSet error write op to db before replSet initialized", str::startsWith(ns, "local.
  • 13347 code local.oplog.rs missing. did you drop it? if so restart server
  • 13389 code
  • 14825 code error in applyOperation : unknown opType
  • 17322 code
  • 17405 code

src/mongo/db/repl/oplogreader.h

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

src/mongo/db/repl/repl_coordinator_impl.cpp

src/mongo/db/repl/repl_set_impl.cpp

  • 13290 code bad replSet oplog entry?
  • 13302 code replSet error self appears twice in the repl set configuration
  • 16844 code
  • 17347 code Problem reading earliest entry from oplog

src/mongo/db/repl/repl_set_seed_list.cpp

  • 13093 code
  • 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

src/mongo/db/repl/replset_commands.cpp

  • 16888 code optimes field should be an array with an object for each secondary

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 1000
  • 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
  • 16438 code Heartbeat timeout must be non-negative
  • 17492 code arbiter must vote (cannot have 0 votes)
  • 17505 code replSet illegal config: getLastErrorDefaults w:0

src/mongo/db/repl/rs_config.h

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

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
  • 15908 code
  • 15909 code replSet rollback error resyncing collection

src/mongo/db/repl/sync.cpp

src/mongo/db/repl/sync_source_feedback.cpp

  • 17447 code upstream updater is not supported by the member from which we

src/mongo/db/repl/sync_tail.cpp

  • 12000 code rs slaveDelay differential too big check clocks and systems
  • 16397 code
  • 16620 code there are ops to sync, but I'm primary

src/mongo/db/repl/topology_coordinator_impl.cpp

src/mongo/db/repl/topology_coordinator_impl.h

  • 17490 code bad replset heartbeat option
  • 17491 code bad replset heartbeat option

src/mongo/db/repl/write_concern.cpp

  • 16250 code w has to be a string or a number

src/mongo/db/restapi.cpp

  • 13085 code query failed for dbwebserver

src/mongo/db/sorter/sorter.cpp

  • 16814 code error opening file "" << _fileName << "":
  • 16815 code unexpected empty file:
  • 16816 code file too short?
  • 16817 code error reading file "
  • 16818 code error opening file "" << _fileName << "":
  • 16819 code
  • 16820 code
  • 16821 code error writing to file "" << _fileName << "":
  • 16946 code Attempting to use external sort from mongos. This is not allowed.
  • 16947 code Attempting to use external sort from mongos. This is not allowed.
  • 17061 code couldn't get uncompressed length
  • 17062 code decompression failed
  • 17148 code Attempting to use external sort without setting SortOptions::tempDir
  • 17149 code Attempting to use external sort without setting SortOptions::tempDir

src/mongo/db/storage/mmap_v1/data_file.cpp

  • 10084 code can't map file memory - mongo requires 64 bit build for larger datasets
  • 10085 code can't map file memory
  • 10357 code shutdown in progress
  • 10359 code header==0 on new extent: 32 bit mmap space exceeded?
  • 13440 code bad offset:
  • 13441 code bad offset:
  • 13640 code DataFileHeader looks corrupt at file open filelength:" << filelength << " fileno:

src/mongo/db/storage/mmap_v1/dur.cpp

  • 13599 code Written data does not match in-memory view. Missing WriteIntent?
  • 13616 code can't disable durability with pending writes
  • 16434 code
  • 18507 code File is closing while there are unwritten changes.

src/mongo/db/storage/mmap_v1/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/storage/mmap_v1/dur_preplogbuffer.cpp

src/mongo/db/storage/mmap_v1/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
  • 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/storage/mmap_v1/durable_mapped_file.cpp

  • 13520 code DurableMappedFile 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/storage/mmap_v1/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/storage/mmap_v1/mmap_v1_database_catalog_entry.cpp

  • 16966 code _extentManager.init failed:
  • 17489 code

src/mongo/db/storage/mmap_v1/mmap_v1_extent_manager.cpp

  • 10295 code getFile(): bad file number value (corrupt db?).
  • 10358 code bad new extent size
  • 12501 code quota exceeded
  • 14026 code
  • 14810 code couldn't allocate space for a new extent

src/mongo/db/storage/mmap_v1/repair_database.cpp

src/mongo/db/structure/btree/btree_logic.cpp

  • 17433 code _insert: reuse key but lchild is not null
  • 17434 code _insert: reuse key but rchild is not null
  • 17435 code n==0 in btree popBack()
  • 17436 code rchild not null in btree popBack()

src/mongo/db/structure/catalog/namespace-inl.h

  • 10080 code ns name too long, max size is 127 bytes
  • 10348 code $extra: ns name too long
  • 17380 code ns name can't contain embedded '\0' byte

src/mongo/db/structure/catalog/namespace_details.cpp

  • 10350 code allocExtra: base ns missing?
  • 10351 code allocExtra: extra already exists
  • 13283 code Missing Extra
  • 14045 code missing Extra
  • 14823 code missing extra
  • 14824 code missing Extra
  • 16499 code
  • 17421 code Missing Extra
  • 17422 code missing Extra
  • 17423 code missing extra
  • 17424 code missing Extra

src/mongo/db/structure/catalog/namespace_details_collection_entry.cpp

  • 16631 code index does not have an 'expireAfterSeconds' field
  • 16632 code current 'expireAfterSeconds' is not a number
  • 17202 code

src/mongo/db/structure/catalog/namespace_details_rsv1_metadata.cpp

src/mongo/db/structure/catalog/namespace_index.cpp

  • 10079 code bad .ns file length, cannot open database
  • 10081 code too many namespaces/collections
  • 10343 code bad storageGlobalParams.lenForNewNsFiles
  • 17315 code no . in ns

src/mongo/db/structure/record_store_v1_base.cpp

src/mongo/db/structure/record_store_v1_capped.cpp

  • 13415 code emptying the collection is not allowed
  • 17438 code

src/mongo/db/structure/record_store_v1_simple.cpp

src/mongo/dbtests/jsobjtests.cpp

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

src/mongo/dbtests/mock/mock_conn_registry.cpp

src/mongo/dbtests/mock/mock_remote_db_server.cpp

  • 16430 code no reply for cmd:

src/mongo/dbtests/mock/mock_replica_set.cpp

src/mongo/s/balance.cpp

  • 13258 code oids broken after resetting!
  • 16356 code

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
  • 13449 code collection " << _ns << " already sharded with
  • 13501 code use geoNear command rather than $near query
  • 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
  • 16338 code
  • 17001 code could not drop chunks for
  • 8070 code
  • 8071 code cleaning up after drop failed:

src/mongo/s/client_info.cpp

  • 13134 code
  • 16472 code A ClientInfo already exists for this thread
  • 16483 code

src/mongo/s/cluster_client_internal.cpp

  • 16624 code operation failed
  • 16625 code cursor not found, transport error

src/mongo/s/commands_public.cpp

  • 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!
  • 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
  • 13405 code min value " << min << " does not have shard key
  • 13406 code max value " << max << " does not have shard key
  • 13407 code how could chunk manager be null!
  • 13408 code keyPattern must equal shard key
  • 13500 code how could chunk manager be null!
  • 15920 code Cannot output to a non-sharded collection, a sharded collection exists
  • 16246 code Shard " + conf->getName() + " is too old to support GridFS sharded by {files_id:1, n:1}
  • 16618 code
  • 17014 code aggregate command didn't return results on host:
  • 17015 code getDBConfig shouldn't return NULL
  • 17016 code should only be running an aggregate command here
  • 17020 code All shards must support cursors to get a cursor back from aggregation
  • 17021 code All shards must support cursors to support new features in aggregation
  • 17023 code
  • 17024 code
  • 17025 code
  • 17403 code Shard
  • 17404 code Shard

src/mongo/s/config.cpp

  • 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:
  • 13473 code failed to save collection (
  • 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/config_upgrade.cpp

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_logic.cpp

  • 10422 code write with bad shard config and no server id!
  • 16437 code data size of operation is too large to queue for writeback
  • 9517 code cannot queue a writeback operation to the writeback queue

src/mongo/s/d_migrate.cpp

src/mongo/s/d_split.cpp

src/mongo/s/d_state.cpp

src/mongo/s/dbclient_multi_command.cpp

  • 17255 code error receiving write command response,

src/mongo/s/distlock.cpp

  • 14023 code remote time in cluster " << _conn.toString() << " is now skewed, cannot force lock.
  • 16060 code

src/mongo/s/distlock_test.cpp

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

src/mongo/s/grid.cpp

  • 10185 code can't find a shard to put new db on
  • 10186 code removeDB expects db name
  • 15918 code

src/mongo/s/request.cpp

  • 13644 code can't use 'local' database through mongos" , ! str::startsWith( getns() , "local.
  • 16978 code bad numberToReturn (

src/mongo/s/s_only.cpp

  • 16462 code
  • 16478 code Client being used for incoming connection thread in mongos

src/mongo/s/server.cpp

  • 10197 code createDirectClient not implemented for sharding yet

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
  • 15847 code can't authenticate to server
  • 15907 code
  • 17363 code

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
  • 10204 code dbgrid: getmore: error calling db
  • 17012 code duplicate sharded and unsharded cursor id
  • 17233 code
  • 8010 code something is wrong, shouldn't see a command here

src/mongo/s/version_manager.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
  • 16334 code cannot set version or shard on custom connection

src/mongo/s/writeback_listener.cpp

  • 13641 code can't parse host [" << conn.getServerAddress() << "]

src/mongo/scripting/bench.cpp

  • 15931 code Authenticating to connection for _benchThread failed:
  • 15932 code Authenticating to connection for benchThread failed:
  • 16147 code Already finished.
  • 16152 code Cannot wait for state
  • 16157 code
  • 16158 code
  • 16164 code loopCommands config not supported", args["loopCommands
  • 16704 code
  • 16705 code

src/mongo/scripting/engine.cpp

  • 10206 code can't append type from:
  • 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
  • 16669 code unable to get db client cursor from query

src/mongo/scripting/engine.h

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

src/mongo/scripting/engine_v8.cpp

  • 10230 code can't handle external yet
  • 10231 code not an object
  • 10232 code not a function
  • 12509 code unable to get type of field
  • 12510 code externalSetup already called, can't call localConnect
  • 12511 code
  • 12512 code localConnect already called, can't call externalSetup
  • 13475 code
  • 16496 code V8: NULL Object template instantiated.
  • 16661 code can't handle type:
  • 16662 code unable to convert JavaScript property to mongo element
  • 16711 code
  • 16712 code
  • 16716 code cannot convert native function to BSON
  • 16721 code
  • 16862 code Too many arguments. Max is 24
  • 16863 code Error converting
  • 16864 code ObjectID.str must be exactly 24 chars long
  • 16865 code ObjectID.str must only have hex characters [0-1a-fA-F]
  • 16985 code
  • 17260 code Converting from JavaScript to BSON failed:
  • 17279 code
  • 17355 code Error converting

src/mongo/scripting/engine_v8.h

src/mongo/scripting/utils.cpp

src/mongo/scripting/v8_db.cpp

  • 16467 code
  • 16468 code
  • 16660 code arrayAccess is not a function
  • 16666 code string argument too long
  • 16667 code Unable to get db client connection
  • 16858 code Too many arguments. Max is 24
  • 16859 code Mongo function is only usable as a constructor
  • 16860 code Mongo function is only usable as a constructor
  • 16861 code getCollection returned something other than a collection

src/mongo/scripting/v8_utils.cpp

  • 16696 code error converting js type to Utf8Value

src/mongo/scripting/v8_utils.h

  • 16664 code
  • 16686 code error converting js type to Utf8Value

src/mongo/shell/shell_options.cpp

src/mongo/shell/shell_utils.cpp

  • 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
  • 12597 code need to specify 1 argument
  • 13006 code isWindows accepts no arguments
  • 16453 code interpreterVersion accepts no arguments
  • 16822 code getBuildInfo accepts no arguments
  • 17134 code replMonitorStats requires a single string argument (the ReplSet name)
  • 17428 code keyTooLarge takes exactly 2 arguments

src/mongo/shell/shell_utils_extended.cpp

  • 10257 code need to specify 1 argument to listFiles
  • 12581 code
  • 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
  • 16830 code
  • 16831 code
  • 16832 code
  • 16833 code
  • 16834 code

src/mongo/shell/shell_utils_launcher.cpp

  • 14042 code
  • 15852 code stopMongoByPid needs a number
  • 15853 code stopMongo needs a number
  • 16701 code

src/mongo/tools/dump.cpp

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

src/mongo/tools/import.cpp

  • 10263 code unknown error reading file
  • 13289 code Invalid UTF8 character detected
  • 13293 code Invalid JSON passed to mongoimport:
  • 13504 code BSON representation of supplied JSON is too large:
  • 15854 code CSV file ends while inside quoted field
  • 16329 code read error, or input line too long (max length:
  • 16808 code read error:
  • 16809 code read error:
  • 9998 code You need to specify fields or have a headerline to

src/mongo/tools/restore.cpp

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

src/mongo/unittest/crutch.cpp

src/mongo/unittest/temp_dir.cpp

src/mongo/unittest/unittest.cpp

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

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/descriptive_stats.h

  • 16476 code the requested value is out of the range of the computed quantiles

src/mongo/util/fail_point.cpp

src/mongo/util/file.cpp

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/intrusive_counter.cpp

  • 16493 code Tried to create string longer than

src/mongo/util/logfile.cpp

  • 13514 code
  • 13515 code
  • 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:
  • 16142 code
  • 16143 code
  • 16144 code

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
  • 16325 code
  • 16326 code
  • 16327 code
  • 17346 code

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

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

src/mongo/util/net/message.h

  • 13273 code single data buffer expected
  • 16141 code cannot translate opcode

src/mongo/util/net/message_port.cpp

  • 17132 code
  • 17133 code
  • 17189 code The server is configured to only allow SSL connections

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
  • 16501 code
  • 16502 code
  • 16503 code
  • 16506 code
  • 16507 code
  • 16508 code

src/mongo/util/net/socket_poll.cpp

src/mongo/util/net/ssl_manager.cpp

  • 15861 code Error creating new SSL object
  • 15864 code
  • 16562 code ssl initialization problem
  • 16583 code
  • 16584 code
  • 16703 code
  • 16768 code ssl initialization problem
  • 16884 code unable to allocate BIO memory
  • 16941 code ssl initialization problem
  • 16942 code ssl initialization problem
  • 16943 code ssl initialization problem
  • 16944 code ssl initialization problem
  • 17089 code
  • 17314 code

src/mongo/util/ntservice.cpp

src/mongo/util/options_parser/value.h

src/mongo/util/paths.cpp

  • 13650 code Couldn't open directory '
  • 13651 code Couldn't fsync directory '
  • 13652 code Couldn't find parent dir for file:

src/mongo/util/paths.h

  • 13646 code stat() failed for file: " << path << "

src/mongo/util/processinfo_linux2.cpp

src/mongo/util/processinfo_sunos5.cpp

src/mongo/util/signal_handlers.cpp

src/mongo/util/stacktrace_win.cpp

src/mongo/util/text.cpp

  • 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
  • 16091 code

src/mongo/util/time_support.cpp

src/mongo/util/timer.cpp

src/mongo/util/unordered_fast_key_table_internal.h

  • 16471 code UnorderedFastKeyTable couldn't add entry after growing many times
  • 16845 code