diff options
author | Kevin Matulef <matulef@gmail.com> | 2011-12-12 16:50:41 -0500 |
---|---|---|
committer | Kevin Matulef <matulef@gmail.com> | 2011-12-12 16:50:41 -0500 |
commit | 43a180b0a98f5f55d77151c301b4cc5d2ca46d3c (patch) | |
tree | b70220243b7ed90ec8fe1d635cf0efd62603a67e /docs | |
parent | 6ebb2c50b3ce9a82fec7be921dd7996c7bd28545 (diff) | |
parent | 21a4dccfaba8bdbfeec87bd576260d8ba8fb462a (diff) | |
download | mongo-43a180b0a98f5f55d77151c301b4cc5d2ca46d3c.tar.gz |
Merge branch 'serve-4442'
Conflicts:
docs/errors.md
Diffstat (limited to 'docs')
-rw-r--r-- | docs/errors.md | 127 |
1 files changed, 62 insertions, 65 deletions
diff --git a/docs/errors.md b/docs/errors.md index 73d270abb5c..d27e2ffb5e0 100644 --- a/docs/errors.md +++ b/docs/errors.md @@ -195,8 +195,8 @@ db/btree.cpp * 10281 [code](http://github.com/mongodb/mongo/blob/master/db/btree.cpp#L143) assert is misdefined * 10282 [code](http://github.com/mongodb/mongo/blob/master/db/btree.cpp#L324) n==0 in btree popBack() * 10283 [code](http://github.com/mongodb/mongo/blob/master/db/btree.cpp#L331) rchild not null in btree popBack() -* 10285 [code](http://github.com/mongodb/mongo/blob/master/db/btree.cpp#L1771) _insert: reuse key but lchild is not null -* 10286 [code](http://github.com/mongodb/mongo/blob/master/db/btree.cpp#L1772) _insert: reuse key but rchild is not null +* 10285 [code](http://github.com/mongodb/mongo/blob/master/db/btree.cpp#L1778) _insert: reuse key but lchild is not null +* 10286 [code](http://github.com/mongodb/mongo/blob/master/db/btree.cpp#L1779) _insert: reuse key but rchild is not null * 10287 [code](http://github.com/mongodb/mongo/blob/master/db/btree.cpp#L84) btree: key+recloc already in index * 15898 [code](http://github.com/mongodb/mongo/blob/master/db/btree.cpp#L42) error in index possibly corruption consider repairing @@ -229,10 +229,10 @@ db/cap.cpp db/client.cpp ---- -* 10057 [code](http://github.com/mongodb/mongo/blob/master/db/client.cpp#L296) -* 14031 [code](http://github.com/mongodb/mongo/blob/master/db/client.cpp#L276) Can't take a write lock while out of disk space -* 15928 [code](http://github.com/mongodb/mongo/blob/master/db/client.cpp#L229) can't open a database from a nested read lock -* 15929 [code](http://github.com/mongodb/mongo/blob/master/db/client.cpp#L321) client access to index backing namespace prohibited +* 10057 [code](http://github.com/mongodb/mongo/blob/master/db/client.cpp#L315) +* 14031 [code](http://github.com/mongodb/mongo/blob/master/db/client.cpp#L295) Can't take a write lock while out of disk space +* 15928 [code](http://github.com/mongodb/mongo/blob/master/db/client.cpp#L248) can't open a database from a nested read lock +* 15929 [code](http://github.com/mongodb/mongo/blob/master/db/client.cpp#L340) client access to index backing namespace prohibited db/client.h @@ -250,8 +250,8 @@ db/cloner.cpp ---- * 10024 [code](http://github.com/mongodb/mongo/blob/master/db/cloner.cpp#L93) bad ns field for index during dbcopy * 10025 [code](http://github.com/mongodb/mongo/blob/master/db/cloner.cpp#L95) bad ns field for index during dbcopy [2] -* 10026 [code](http://github.com/mongodb/mongo/blob/master/db/cloner.cpp#L669) source namespace does not exist -* 10027 [code](http://github.com/mongodb/mongo/blob/master/db/cloner.cpp#L679) target namespace exists", cmdObj["dropTarget +* 10026 [code](http://github.com/mongodb/mongo/blob/master/db/cloner.cpp#L670) source namespace does not exist +* 10027 [code](http://github.com/mongodb/mongo/blob/master/db/cloner.cpp#L680) target namespace exists", cmdObj["dropTarget * 10289 [code](http://github.com/mongodb/mongo/blob/master/db/cloner.cpp#L299) useReplAuth is not written to replication log * 10290 [code](http://github.com/mongodb/mongo/blob/master/db/cloner.cpp#L375) * 13008 [code](http://github.com/mongodb/mongo/blob/master/db/cloner.cpp#L622) must call copydbgetnonce first @@ -344,14 +344,12 @@ db/curop.h db/cursor.h ---- -* 13285 [code](http://github.com/mongodb/mongo/blob/master/db/cursor.h#L148) manual matcher config not allowed +* 13285 [code](http://github.com/mongodb/mongo/blob/master/db/cursor.h#L135) manual matcher config not allowed db/d_concurrency.cpp ---- -* 15937 [code](http://github.com/mongodb/mongo/blob/master/db/d_concurrency.cpp#L86) can't nest lock of " << coll << " beneath -* 15938 [code](http://github.com/mongodb/mongo/blob/master/db/d_concurrency.cpp#L88) want collection write lock but it is already read locked -* 15939 [code](http://github.com/mongodb/mongo/blob/master/db/d_concurrency.cpp#L115) can't nest lock of " << coll << " beneath +* 15919 [code](http://github.com/mongodb/mongo/blob/master/db/d_concurrency.cpp#L108) wrong database while locking db/database.cpp @@ -428,8 +426,9 @@ db/dbeval.cpp db/dbhelpers.cpp ---- -* 10303 [code](http://github.com/mongodb/mongo/blob/master/db/dbhelpers.cpp#L283) {autoIndexId:false} -* 13430 [code](http://github.com/mongodb/mongo/blob/master/db/dbhelpers.cpp#L118) no _id index +* 10303 [code](http://github.com/mongodb/mongo/blob/master/db/dbhelpers.cpp#L327) {autoIndexId:false} +* 13430 [code](http://github.com/mongodb/mongo/blob/master/db/dbhelpers.cpp#L162) no _id index +* 9011 [code](http://github.com/mongodb/mongo/blob/master/db/dbhelpers.cpp#L68) Not an index cursor db/dbmessage.h @@ -661,7 +660,7 @@ db/mongomutex.h ---- * 10293 [code](http://github.com/mongodb/mongo/blob/master/db/mongomutex.h#L281) internal error: locks are not upgradeable: * 12599 [code](http://github.com/mongodb/mongo/blob/master/db/mongomutex.h#L145) internal error: attempt to unlock when wasn't in a write lock -* 13142 [code](http://github.com/mongodb/mongo/blob/master/db/mongomutex.h#L340) timeout getting readlock +* 13142 [code](http://github.com/mongodb/mongo/blob/master/db/mongomutex.h#L338) timeout getting readlock db/namespace-inl.h @@ -677,18 +676,18 @@ db/namespace-inl.h db/namespace.cpp ---- -* 10079 [code](http://github.com/mongodb/mongo/blob/master/db/namespace.cpp#L174) bad .ns file length, cannot open database -* 10082 [code](http://github.com/mongodb/mongo/blob/master/db/namespace.cpp#L485) allocExtra: too many namespaces/collections -* 10343 [code](http://github.com/mongodb/mongo/blob/master/db/namespace.cpp#L181) bad lenForNewNsFiles -* 10346 [code](http://github.com/mongodb/mongo/blob/master/db/namespace.cpp#L548) not implemented -* 10350 [code](http://github.com/mongodb/mongo/blob/master/db/namespace.cpp#L480) allocExtra: base ns missing? -* 10351 [code](http://github.com/mongodb/mongo/blob/master/db/namespace.cpp#L481) allocExtra: extra already exists -* 14037 [code](http://github.com/mongodb/mongo/blob/master/db/namespace.cpp#L688) can't create user databases on a --configsvr instance +* 10079 [code](http://github.com/mongodb/mongo/blob/master/db/namespace.cpp#L175) bad .ns file length, cannot open database +* 10082 [code](http://github.com/mongodb/mongo/blob/master/db/namespace.cpp#L486) allocExtra: too many namespaces/collections +* 10343 [code](http://github.com/mongodb/mongo/blob/master/db/namespace.cpp#L182) bad lenForNewNsFiles +* 10346 [code](http://github.com/mongodb/mongo/blob/master/db/namespace.cpp#L549) not implemented +* 10350 [code](http://github.com/mongodb/mongo/blob/master/db/namespace.cpp#L481) allocExtra: base ns missing? +* 10351 [code](http://github.com/mongodb/mongo/blob/master/db/namespace.cpp#L482) allocExtra: extra already exists +* 14037 [code](http://github.com/mongodb/mongo/blob/master/db/namespace.cpp#L663) can't create user databases on a --configsvr instance db/namespace.h ---- -* 10081 [code](http://github.com/mongodb/mongo/blob/master/db/namespace.h#L586) too many namespaces/collections +* 10081 [code](http://github.com/mongodb/mongo/blob/master/db/namespace.h#L569) too many namespaces/collections db/nonce.cpp @@ -733,11 +732,11 @@ db/ops/delete.cpp db/ops/query.cpp ---- -* 10110 [code](http://github.com/mongodb/mongo/blob/master/db/ops/query.cpp#L790) bad query object -* 13051 [code](http://github.com/mongodb/mongo/blob/master/db/ops/query.cpp#L799) tailable cursor requested on non capped collection -* 13052 [code](http://github.com/mongodb/mongo/blob/master/db/ops/query.cpp#L805) only {$natural:1} order allowed for tailable cursor -* 13530 [code](http://github.com/mongodb/mongo/blob/master/db/ops/query.cpp#L768) bad or malformed command request? -* 13638 [code](http://github.com/mongodb/mongo/blob/master/db/ops/query.cpp#L604) client cursor dropped during explain query yield +* 10110 [code](http://github.com/mongodb/mongo/blob/master/db/ops/query.cpp#L874) bad query object +* 13051 [code](http://github.com/mongodb/mongo/blob/master/db/ops/query.cpp#L883) tailable cursor requested on non capped collection +* 13052 [code](http://github.com/mongodb/mongo/blob/master/db/ops/query.cpp#L889) only {$natural:1} order allowed for tailable cursor +* 13530 [code](http://github.com/mongodb/mongo/blob/master/db/ops/query.cpp#L852) bad or malformed command request? +* 13638 [code](http://github.com/mongodb/mongo/blob/master/db/ops/query.cpp#L688) client cursor dropped during explain query yield * 14833 [code](http://github.com/mongodb/mongo/blob/master/db/ops/query.cpp#L117) auth error @@ -776,11 +775,11 @@ db/ops/update.cpp * 10152 [code](http://github.com/mongodb/mongo/blob/master/db/ops/update.cpp#L822) Modifier $inc allowed for numbers only * 10153 [code](http://github.com/mongodb/mongo/blob/master/db/ops/update.cpp#L823) Modifier $pushAll/pullAll allowed for arrays only * 10154 [code](http://github.com/mongodb/mongo/blob/master/db/ops/update.cpp#L899) Modifiers and non-modifiers cannot be mixed -* 10155 [code](http://github.com/mongodb/mongo/blob/master/db/ops/update.cpp#L1300) cannot update reserved $ collection -* 10156 [code](http://github.com/mongodb/mongo/blob/master/db/ops/update.cpp#L1303) cannot update system collection: " << ns << " q: " << patternOrig << " u: -* 10157 [code](http://github.com/mongodb/mongo/blob/master/db/ops/update.cpp#L1141) multi-update requires all modified objects to have an _id -* 10158 [code](http://github.com/mongodb/mongo/blob/master/db/ops/update.cpp#L1254) multi update only works with $ operators -* 10159 [code](http://github.com/mongodb/mongo/blob/master/db/ops/update.cpp#L1286) multi update only works with $ operators +* 10155 [code](http://github.com/mongodb/mongo/blob/master/db/ops/update.cpp#L1368) cannot update reserved $ collection +* 10156 [code](http://github.com/mongodb/mongo/blob/master/db/ops/update.cpp#L1371) cannot update system collection: " << ns << " q: " << patternOrig << " u: +* 10157 [code](http://github.com/mongodb/mongo/blob/master/db/ops/update.cpp#L1209) multi-update requires all modified objects to have an _id +* 10158 [code](http://github.com/mongodb/mongo/blob/master/db/ops/update.cpp#L1322) multi update only works with $ operators +* 10159 [code](http://github.com/mongodb/mongo/blob/master/db/ops/update.cpp#L1354) multi update only works with $ operators * 10399 [code](http://github.com/mongodb/mongo/blob/master/db/ops/update.cpp#L712) ModSet::createNewFromMods - RIGHT_SUBFIELD should be impossible * 10400 [code](http://github.com/mongodb/mongo/blob/master/db/ops/update.cpp#L715) unhandled case * 12522 [code](http://github.com/mongodb/mongo/blob/master/db/ops/update.cpp#L904) $ operator made object too large @@ -877,17 +876,17 @@ db/queryoptimizer.cpp * 10363 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizer.cpp#L237) newCursor() with start location not implemented for indexed plans * 10364 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizer.cpp#L258) newReverseCursor() not implemented for indexed plans * 10365 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizer.cpp#L355) -* 10366 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizer.cpp#L414) natural order cannot be specified with $min/$max -* 10367 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizer.cpp#L425) -* 10368 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizer.cpp#L481) Unable to locate previously recorded index -* 10369 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizer.cpp#L679) no plans -* 13038 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizer.cpp#L457) can't find special index: " + _special + " for: +* 10366 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizer.cpp#L416) natural order cannot be specified with $min/$max +* 10367 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizer.cpp#L427) +* 10368 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizer.cpp#L485) Unable to locate previously recorded index +* 10369 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizer.cpp#L677) no plans +* 13038 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizer.cpp#L461) can't find special index: " + _special + " for: * 13040 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizer.cpp#L99) no type for special: -* 13268 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizer.cpp#L877) invalid $or spec +* 13268 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizer.cpp#L876) invalid $or spec * 13292 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizer.cpp#L364) hint eoo * 14820 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizer.cpp#L230) doing _id query on a capped collection without an index is not allowed: -* 15878 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizer.cpp#L580) -* 15894 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizer.cpp#L684) no index matches QueryPlanSet's sort with _bestGuessOnly +* 15878 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizer.cpp#L584) +* 15894 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizer.cpp#L682) no index matches QueryPlanSet's sort with _bestGuessOnly db/queryoptimizer.h @@ -900,10 +899,8 @@ db/queryoptimizer.h db/queryoptimizercursor.cpp ---- -* 14809 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizercursor.cpp#L434) Invalid access for cursor that is not ok() -* 15940 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizercursor.cpp#L52) Cursor does not support yields -* 15941 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizercursor.cpp#L284) -* 9011 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizercursor.cpp#L46) Not an index cursor +* 14809 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizercursor.cpp#L323) Invalid access for cursor that is not ok() +* 14826 [code](http://github.com/mongodb/mongo/blob/master/db/queryoptimizercursor.cpp#L184) db/queryutil-inl.h @@ -1145,44 +1142,44 @@ s/commands_admin.cpp s/commands_public.cpp ---- * 10418 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L298) how could chunk manager be null! -* 10420 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L772) how could chunk manager be null! -* 12594 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L535) how could chunk manager be null! -* 13002 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L657) shard internal error chunk manager should never be null -* 13091 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L837) how could chunk manager be null! -* 13092 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L838) GridFS chunks collection can only be sharded on files_id", cm->getShardKey().key() == BSON("files_id +* 10420 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L765) how could chunk manager be null! +* 12594 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L528) how could chunk manager be null! +* 13002 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L650) shard internal error chunk manager should never be null +* 13091 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L830) how could chunk manager be null! +* 13092 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L831) GridFS chunks collection can only be sharded on files_id", cm->getShardKey().key() == BSON("files_id * 13137 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L355) Source and destination collections must be on same shard * 13138 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L349) You can't rename a sharded collection * 13139 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L350) You can't rename to a sharded collection * 13140 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L348) Don't recognize source or target DB -* 13343 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L660) query for sharded findAndModify must have shardkey +* 13343 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L653) query for sharded findAndModify must have shardkey * 13398 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L369) cant copy to sharded DB * 13399 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L377) need a fromdb argument * 13400 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L380) don't know where source DB is * 13401 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L381) cant copy from sharded DB * 13402 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L366) need a todb argument -* 13407 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L693) how could chunk manager be null! -* 13408 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L699) keyPattern must equal shard key -* 13500 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L868) how could chunk manager be null! +* 13407 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L686) how could chunk manager be null! +* 13408 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L692) keyPattern must equal shard key +* 13500 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L861) how could chunk manager be null! * 13512 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L301) drop collection attempted on non-sharded collection -* 15920 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L1051) Cannot output to a non-sharded collection, a sharded collection exists +* 15920 [code](http://github.com/mongodb/mongo/blob/master/s/commands_public.cpp#L1044) Cannot output to a non-sharded collection, a sharded collection exists s/config.cpp ---- -* 10176 [code](http://github.com/mongodb/mongo/blob/master/s/config.cpp#L519) shard state missing for +* 10176 [code](http://github.com/mongodb/mongo/blob/master/s/config.cpp#L496) shard state missing for * 10178 [code](http://github.com/mongodb/mongo/blob/master/s/config.cpp#L118) no primary! -* 10181 [code](http://github.com/mongodb/mongo/blob/master/s/config.cpp#L226) not sharded: -* 10184 [code](http://github.com/mongodb/mongo/blob/master/s/config.cpp#L522) _dropShardedCollections too many collections - bailing -* 10187 [code](http://github.com/mongodb/mongo/blob/master/s/config.cpp#L556) need configdbs -* 10189 [code](http://github.com/mongodb/mongo/blob/master/s/config.cpp#L722) should only have 1 thing in config.version -* 13396 [code](http://github.com/mongodb/mongo/blob/master/s/config.cpp#L389) DBConfig save failed: +* 10181 [code](http://github.com/mongodb/mongo/blob/master/s/config.cpp#L203) not sharded: +* 10184 [code](http://github.com/mongodb/mongo/blob/master/s/config.cpp#L499) _dropShardedCollections too many collections - bailing +* 10187 [code](http://github.com/mongodb/mongo/blob/master/s/config.cpp#L533) need configdbs +* 10189 [code](http://github.com/mongodb/mongo/blob/master/s/config.cpp#L699) should only have 1 thing in config.version +* 13396 [code](http://github.com/mongodb/mongo/blob/master/s/config.cpp#L366) DBConfig save failed: * 13449 [code](http://github.com/mongodb/mongo/blob/master/s/config.cpp#L148) collections already sharded * 13473 [code](http://github.com/mongodb/mongo/blob/master/s/config.cpp#L92) failed to save collection (" + ns + "): -* 13509 [code](http://github.com/mongodb/mongo/blob/master/s/config.cpp#L339) can't migrate from 1.5.x release to the current one; need to upgrade to 1.6.x first +* 13509 [code](http://github.com/mongodb/mongo/blob/master/s/config.cpp#L316) can't migrate from 1.5.x release to the current one; need to upgrade to 1.6.x first * 13648 [code](http://github.com/mongodb/mongo/blob/master/s/config.cpp#L135) can't shard collection because not all config servers are up -* 14822 [code](http://github.com/mongodb/mongo/blob/master/s/config.cpp#L296) state changed in the middle: -* 15883 [code](http://github.com/mongodb/mongo/blob/master/s/config.cpp#L311) not sharded after chunk manager reset : -* 15885 [code](http://github.com/mongodb/mongo/blob/master/s/config.cpp#L252) not sharded after reloading from chunks : +* 14822 [code](http://github.com/mongodb/mongo/blob/master/s/config.cpp#L273) state changed in the middle: +* 15883 [code](http://github.com/mongodb/mongo/blob/master/s/config.cpp#L288) not sharded after chunk manager reset : +* 15885 [code](http://github.com/mongodb/mongo/blob/master/s/config.cpp#L229) not sharded after reloading from chunks : * 8042 [code](http://github.com/mongodb/mongo/blob/master/s/config.cpp#L134) db doesn't have sharding enabled * 8043 [code](http://github.com/mongodb/mongo/blob/master/s/config.cpp#L142) collection already sharded |