Commit Graph

412 Commits

Author SHA1 Message Date
dwight
ea8038f1a1 hint at mem leak if it looks that way 2011-03-01 20:18:37 -05:00
greg
e82ae13ca0 Cannot use boost::thread::id for legacy 2011-03-01 17:02:06 -05:00
Dwight
f06b5db214 slightly better dbstats command 2011-03-01 15:46:42 -05:00
Eliot Horowitz
6f73b51f8e debugging for slow server status 2011-02-28 18:40:02 -05:00
Mathias Stearn
3d8ca912a0 fix findAndModify when sort is used and _id in query SERVER-2530 2011-02-10 15:49:47 -05:00
Eliot Horowitz
76585f8f2e move availableQueryOptions to dbcommands_generic so it works in mongos SERVER-2462 2011-02-02 01:00:38 -05:00
Eliot Horowitz
57954be3a7 fix GLE with w= for non-master servers SERVER-2443 2011-01-31 11:28:14 -05:00
Eliot Horowitz
6a7e659b02 if no objects in a db, make avgObjSize 0 not nan SERVER-2440 2011-01-31 01:42:59 -05:00
Eliot Horowitz
3a22a0652f put db name in dbstats SERVER-2424 2011-01-27 17:00:51 -05:00
Eliot Horowitz
4eb5359825 "mem" has same permissions as other fields SERVER-2415 2011-01-27 00:48:22 -05:00
Eliot Horowitz
eb6e8a111c better command error message 2011-01-21 14:19:49 -05:00
dwight
c00ed72c02 defensive 2011-01-19 17:31:52 -05:00
Eliot Horowitz
c400248eb9 if you do w=2 with no write, should just return ok 2011-01-17 23:44:57 -05:00
Eliot Horowitz
6be565d608 add comment 2011-01-17 23:31:31 -05:00
Eliot Horowitz
41daf0e83f supposed to be this way
Revert "Move opReplicatedEnough call until after checking for errors"

This reverts commit 593d6a05b4.
2011-01-17 23:30:48 -05:00
Mathias Stearn
593d6a05b4 Move opReplicatedEnough call until after checking for errors 2011-01-17 23:00:19 -05:00
Eliot Horowitz
1e2021f5d1 put version# in mongos serverStatus as well as process name in mongos and mongod SERVER-2355 2011-01-16 00:44:18 -05:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Eliot Horowitz
17621a52d3 use ConnectionId type instead of unsigned 2011-01-03 14:13:07 -05:00
Dwight
28a558b213 dur fix potential await issue 2011-01-03 14:05:56 -05:00
Eliot Horowitz
aca009ca80 put connectionId in Client and in getLastError 2011-01-03 13:16:13 -05:00
Aaron
3a2087ac5c Add support for making NamespaceDetails::Extra writes durable and use this durable support when dropping indexes 2010-12-28 17:35:15 -08:00
Eliot Horowitz
77c9fc2681 verbose option to collstats that gives you extent breakdowns 2010-12-27 14:21:56 -05:00
dwight
9472613d04 dur stats 2010-12-27 11:29:16 -05:00
Eliot Horowitz
199a261ba1 fix getLastError handling for non-repl nodes 2010-12-26 00:24:07 -05:00
Kristina
3007bd925d return err for w option on config servers 2010-12-24 23:55:59 -05:00
Dwight
8cf2e8f751 add test 2010-12-22 12:30:46 -05:00
dwight
9da5f09605 oops 2010-12-20 22:23:02 -05:00
dwight
d7a05a90da dur getlasterror wait for group commit via fsync:1 2010-12-13 00:21:08 -05:00
dwight
87d8e45df9 fix typo 2010-12-12 19:46:12 -05:00
Mathias Stearn
1c17cece76 Pull some durability code into a class for easy disabling 2010-12-10 19:20:43 -05:00
Eliot Horowitz
3d067a99fe use boost::once for getHostNameCached and adding host to some commands 2010-11-28 02:07:38 -05:00
Eliot Horowitz
5a9526231e on w timeout, don't set ok=0, but set ok=1 and set err SERVER-1585 2010-11-10 16:03:32 -05:00
Eliot Horowitz
7cc161c6a5 track replicated ops SERVER-1565 2010-11-09 17:01:58 -05:00
Eliot Horowitz
0c7e7101a6 track network in/out SERVER-2081 2010-11-09 00:15:14 -05:00
Eliot Horowitz
6157d16b47 cleaning ClientCursor to obey kernel rules and encapsulate more so can add logic later 2010-10-29 11:00:38 -04:00
Mathias Stearn
5350cd1b36 fix findAndModify 2010-10-28 16:16:38 -04:00
Mathias Stearn
56f7de6acd don't regenerate query in findAndModify unless nessisary 2010-10-28 15:39:09 -04:00
Eliot Horowitz
13703038d3 mongostat shows # of active readers/writers SERVER-1997 2010-10-24 20:32:19 -04:00
Eliot Horowitz
527b3afb73 consistent name for tmp 2010-10-17 22:59:27 -04:00
dwight
3660e1906e wasnt a problem, but safer 2010-10-17 19:22:46 -04:00
Dwight
01a6722a25 allow changing notablescan at runtime via {set:} command 2010-10-15 17:00:34 -04:00
Eliot Horowitz
1eee8692b9 fix spacing 2010-10-13 16:11:32 -04:00
Eliot Horowitz
8d9b3cf6e9 can pick how long sleep command sleeps for 2010-10-13 10:42:34 -04:00
Eliot Horowitz
56226d80bb expose listDatabases to rest SERVER-1909 2010-10-08 16:58:34 -04:00
Eliot Horowitz
f550177b1a moving some commands into db/commands/ directory 2010-09-30 17:37:19 -04:00
Dwight
dbd32482a6 durability more work on declaring intent to write in the code 2010-09-28 17:18:36 -04:00
dwight
05ef187841 Merge branch 'master' of github.com:mongodb/mongo
Conflicts:
	db/repl/manager.cpp
2010-09-27 12:42:51 -04:00
dwight
c1b68a13de towards durability 2010-09-27 12:35:22 -04:00
Eliot Horowitz
cc4f1da778 check for killop in distinct 2010-09-25 05:08:21 -04:00