Commit Graph

186 Commits

Author SHA1 Message Date
Eliot Horowitz
9b1d3f135d comments 2010-01-02 01:28:08 -05:00
Eliot Horowitz
fcf2d5721c some cleaning/optmizing of Database* storage, also just a little encaspulation 2010-01-02 01:25:53 -05:00
Eliot Horowitz
d531f77f67 nsToClient -> nsToDatabase 2009-12-31 16:31:07 -05:00
Mathias Stearn
225173bb31 FindAndModify command SERVER-459 2009-12-30 20:08:43 -05:00
Dwight
1c65a22de4 prep for fsync exec option 2009-12-30 15:55:00 -05:00
Eliot Horowitz
5f36804299 stop using stringstream for logging 2009-12-29 23:30:29 -05:00
Eliot Horowitz
758cd7350d configure "slow" queries
either --slowms on the command line
or through setProfilingLevel
SERVER-457
2009-12-29 14:48:42 -05:00
Eliot Horowitz
f05a6aafb3 link error 2009-12-29 14:29:32 -05:00
Eliot Horowitz
2dcb747bac option to limit # of connections (threads currently) default 20000 SERVER-471 2009-12-29 14:09:53 -05:00
Eliot Horowitz
3b37c3fbd4 some profiling management cleaning pre SERVER-456 2009-12-29 12:08:13 -05:00
Eliot Horowitz
fa8961c3e8 Exception classess need codes too SERVER-112 2009-12-28 17:06:07 -05:00
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Dwight
0e1575bd36 $atomic option on remove()
see
http://www.mongodb.org/display/DOCS/Removing
2009-12-21 17:43:06 -05:00
Eliot Horowitz
a0945b2020 this was done elsewhere
Revert "reset query optimizer stats on adding or removing an index"

This reverts commit 159f7df930.
2009-12-18 17:41:26 -05:00
Eliot Horowitz
159f7df930 reset query optimizer stats on adding or removing an index 2009-12-18 11:24:10 -05:00
Eliot Horowitz
fbbbdd3e70 option for getlasterror to fsync 2009-12-17 16:15:36 -05:00
Dwight
5ee785e34a cleaning/comments for namespacedetailstranient readability 2009-12-09 16:36:31 -05:00
Dwight
ad9d8bbdb4 clean up MutexInfo 2009-12-03 13:12:51 -05:00
Dwight
4df961a405 make some commands read-oinly 2009-12-03 11:50:09 -05:00
Dwight
60bde10fc2 Merge branch 'master' of git@github.com:mongodb/mongo 2009-12-02 09:39:28 -05:00
Dwight
16bd507b51 checkpoint some intermediate concurrency work 2009-12-02 09:39:17 -05:00
Eliot Horowitz
49b59721c4 add "ok" to commands result 2009-12-01 16:25:12 -05:00
Eliot Horowitz
ea24725b8e some command cleaning and query for distinct SERVER-437 2009-11-24 09:41:33 -05:00
Mathias Stearn
3607f69840 Better error messages 2009-11-18 20:37:00 -05:00
Eliot Horowitz
045a22df7a better m/r error handling and reporting 2009-11-13 11:08:42 -05:00
Eliot Horowitz
6f0dce36a5 rename old oplog to diaglog - make it always compiled in 2009-11-11 16:02:47 -05:00
Eliot Horowitz
4dae04b643 starting rename old oplog to diaglog 2009-11-11 13:54:05 -05:00
Eliot Horowitz
768e231da7 some db command cleaning 2009-11-11 13:30:11 -05:00
Eliot Horowitz
be1b3de4ca disintct and eoo fix 2009-10-27 12:56:59 -04:00
Dwight
eeb0eae0bc fix unittest; to unbreak the build 2009-10-21 18:29:27 -04:00
Dwight
1d4aa0a204 compile 2009-10-21 16:12:48 -04:00
Dwight
bfa27ae2b3 Merge branch 'master' of git@github.com:mongodb/mongo 2009-10-21 16:00:55 -04:00
Dwight
844d96c19f allow more indexes
do not revert to an earlier db version or you will have problems
2009-10-21 16:00:40 -04:00
Eliot Horowitz
1e1df0e434 fix assert 2009-10-20 17:31:52 -04:00
Eliot Horowitz
b2b90b5568 fix assertion message 2009-10-20 11:13:33 -04:00
Dwight
a606c7a6b8 cleanup/prep for # of indexes work 2009-10-19 16:53:58 -04:00
Dwight
314385b97e some tests were failing when _DEBUG was defined...MINOR 2009-10-19 15:30:16 -04:00
Eliot Horowitz
f22a821979 fix group with [] in inital SERVER-361 2009-10-15 21:19:24 -04:00
Dwight
16f8b77c5e move the var 'database' inside Client object 2009-10-14 14:34:38 -04:00
Dwight
2d934d1006 move curNs to Client object 2009-10-13 16:01:02 -04:00
Dwight
cf7a86e0f9 make lasterror threadsafe
rename Connection -> Client
lasterror code easier to read
bunch of windows warnings eliminated
2009-10-12 15:12:16 -04:00
Dwight
ff54f16271 add Connection class
beginnings that is
2009-10-09 14:59:44 -04:00
Eliot Horowitz
55757f1547 more flexible group MINOR 2009-10-08 20:02:02 -04:00
Eliot Horowitz
c2b524522a release group memory faster 2009-10-08 12:32:50 -04:00
Eliot Horowitz
9e7a31fae1 Merge branch 'master' of git@github.com:mongodb/mongo
Conflicts:
	db/dbcommands.cpp
2009-10-07 12:46:02 -04:00
Eliot Horowitz
498169e9e3 got rid of meminfo and timeinfo and replace with serverStatus 2009-10-07 12:43:24 -04:00
Dwight
9589c84edf killOp() wasn't working with validate 2009-10-07 11:51:13 -04:00
Mike Dirolf
32d147df9c create system.profile as a capped collection when profiling is turned on, if it doesn't exist 2009-10-06 15:02:50 -04:00
Mike Dirolf
85fed4ec30 minor: whitespace 2009-10-06 15:02:50 -04:00
Dwight
cb8a425f39 system.profile collection can now be dropped 2009-10-05 16:40:24 -04:00