0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

225 Commits

Author SHA1 Message Date
Eliot Horowitz
db0cf082ec fix help for datasize 2009-04-15 22:16:09 -04:00
Aaron
ae7a3ccbb7 sanity checks for deleting indexes MINOR 2009-04-07 14:26:55 -04:00
Aaron
211da8fada drop command now deletes indexes first 2009-04-07 14:24:16 -04:00
Aaron
e046f05737 refactor deleteIndex code 2009-04-07 14:21:21 -04:00
Aaron
3c439e5fde add datasize command 2009-04-02 17:29:51 -04:00
Aaron
27653d55a0 refactor median key command 2009-04-02 17:04:05 -04:00
Eliot Horowitz
d1427f7232 errorHandling for median key 2009-03-30 17:12:50 -04:00
Aaron
3dc656ce79 medianKey can choose an index based on fields of min and max 2009-03-27 17:49:00 -04:00
Aaron
790b17c6a6 Add medianKey command 2009-03-27 11:53:47 -04:00
Aaron
f490f01f1c Add information on last update / delete to lastError 2009-03-26 13:45:29 -04:00
Aaron
c27e290116 Support large count and nscanned 2009-03-24 12:12:04 -04:00
Dwight
7165d7369e implemented dropIndexes for alt rec store 2009-03-17 17:02:21 -04:00
Aaron
d33b631a6d Don't release lock before shutdown 2009-03-02 18:32:12 -05:00
Dwight
009c4af298 eliminate old warnings that no longer apply 2009-02-24 16:39:08 -05:00
Dwight
98c8676694 dropcollection now reuses space
dropindex doesn't yet -- coming soon
2009-02-24 13:52:34 -05:00
Eliot Horowitz
3f5102bf27 processinfo class and meminfo command, only works on darwin for the moment 2009-02-20 09:34:25 -05:00
Aaron
89a58c46ad Clean up logging 2009-02-19 15:16:36 -05:00
Aaron
0d08c1ea2e Print help with the other command dispatch function 2009-02-19 15:14:31 -05:00
Aaron
6df7d02ce8 Don't create string unless we're actually going to log 2009-02-19 12:03:15 -05:00
Eliot Horowitz
94b7902390 md5 of nothing is the same as md5 of "" 2009-02-18 13:24:43 -05:00
Eliot Horowitz
7412a333fc filemd5 supports root
BugzID: 1165
2009-02-18 13:11:22 -05:00
Eliot Horowitz
b6699b50b3 help for filemd5 2009-02-18 11:29:04 -05:00
dwight
90f39126fc log more on commands 2009-02-18 09:45:49 -05:00
Geir Magnusson Jr
9bd71ee240 dbcommands.cpp : add log() message when a closeAllDatabases message is recieved and run 2009-02-18 09:13:03 -05:00
Aaron
45daee2130 Merge 2009-02-17 11:16:13 -05:00
Aaron
2c1662cc83 Add command closeAllDatabases 2009-02-17 11:11:13 -05:00
Eliot Horowitz
827e76b779 filemd5 command 2009-02-11 10:37:27 -05:00
Aaron
ac5b3fee3f Slave override for listDatabases 2009-02-09 17:22:26 -05:00
Dwight
147948c7b3 doneAndDecouple() -> obj() 2009-02-09 13:04:32 -05:00
Aaron
fc89a866de Add dummy sizeOnDisk for in-memory databases; 1 is Eliot's suggested sentinel value 2009-02-06 16:50:08 -05:00
Aaron
0ff2c94721 Correctly check db name against 'admin' 2009-02-06 15:12:45 -05:00
Aaron
04c18a8576 oops 2009-02-04 20:08:43 -05:00
Aaron
5cb34b0b80 Allow 'count' command on a slave 2009-02-04 17:24:15 -05:00
Aaron
0f724cd5fd Cleanup shutdown -- remove duplicate, debug messages; don't grab log mutex 2009-02-04 10:47:36 -05:00
Dwight
a3f1dbb32a Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2009-01-30 10:07:14 -05:00
Dwight
ea34ff4ba5 validate command scandata:false option 2009-01-30 10:07:07 -05:00
Eliot Horowitz
23f8b7f767 add databases in memory to listdatabases for main memory testing 2009-01-29 22:42:12 -05:00
dwight
f02ed94277 better validate 2009-01-28 11:16:25 -05:00
Dwight
35227776c6 shutdown command 2009-01-26 18:33:20 -05:00
Dwight
c85b113c66 check that _id is unique 2009-01-26 17:23:45 -05:00
Eliot Horowitz
63aea0a67c uptime to timeinfo command 2009-01-26 15:44:48 -05:00
dwight
39ab3422b0 correct security on db eval's 2009-01-23 11:35:22 -05:00
Aaron
a816e54816 Add 'fields' spec to cmd run count 2009-01-21 10:36:40 -05:00
Eliot Horowitz
3e7985c5d6 changed verbose to logLevel and added log(int) 2009-01-20 14:30:59 -05:00
unknown
cb90806ce1 basic security 2009-01-18 20:31:33 -05:00
Aaron
261a467aa5 Replaced our #defined cout with mongo::out() 2009-01-15 11:26:38 -05:00
Aaron
90d45238aa Indent all lines within namespaces one level 2009-01-15 10:17:11 -05:00
Aaron
248a6dd8de Replace tab indentation with spaces 2009-01-14 17:17:24 -05:00
Aaron
ad1f6b3cbd Put our code in 'mongo' namespace 2009-01-14 17:09:51 -05:00
Aaron
21a13b1336 NEW pdfile # : 4.4; Support compound directions with compound indexes 2009-01-14 13:56:52 -05:00
dwight
aeef0a9d3d Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p
Conflicts:

	client/dbclient.cpp
	client/dbclient.h
2009-01-10 18:29:09 -05:00
dwight
8428e6cbda command work client driver 2009-01-10 18:17:23 -05:00
Dwight
2e35206b47 getlasterror 2009-01-05 15:30:07 -05:00
dwight
ffc3bb2216 minor nicer logging 2009-01-04 20:09:31 -05:00
Dwight
505021f882 defend against bad db names
plus a little code cleanup
2008-12-30 09:43:13 -05:00
Aaron
09b50bacc6 reorganize listDatabase objects per Eliot's suggestion 2008-12-29 15:06:39 -05:00
Aaron
689962e86d Move getDatabaseNames to instance.cpp 2008-12-29 14:07:21 -05:00
Aaron
59c6f23224 Add listDatabases command 2008-12-29 13:24:24 -05:00
Aaron
f6613cc644 Check db size before repairing 2008-12-29 11:56:13 -05:00
Aaron
b7cbd30112 Replace tab indentation with spaces 2008-12-28 20:28:49 -05:00
Aaron
92a5ab8180 Decopule master/slave repair 2008-12-16 12:10:15 -05:00
Aaron
e72a96636f Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2008-12-16 10:20:36 -05:00
Aaron
75a45c346f Add repairDatabase support 2008-12-16 10:20:24 -05:00
Dwight
e4cb74cc1c { query : ... } form accepted for $cmd's.

2008-12-15 09:45:51 -05:00
Dwight
fe7767635a further $cmd cleanup 2008-12-11 18:51:49 -05:00
Dwight
0e32c98bf3 protect against inappropriate $cmd's to a slave mode db
Command code cleanup
--quiet for Jim
2008-12-11 10:27:05 -05:00
Dwight
b393202f97 fix my brain dead timing code 2008-12-10 16:52:25 -05:00
Dwight
74f630aacc timing capabilities 2008-12-05 16:45:10 -05:00
Dwight
4b161903e4 $cmd assertinfo 2008-12-05 11:06:51 -05:00
Dwight
1a95c75d0f don't log to our oplog operations we are replicating from elsewhere 2008-12-05 10:09:16 -05:00
Dwight
e0727dc658 clone/copy db now works on replicating databases 2008-12-03 18:27:32 -05:00
Dwight
60b769a8cb replication fixes -- "first: true" support (local.dbinfo.*); clean up class name 2008-12-02 14:24:45 -05:00
Dwight
5c02aabbc8 dbgrid cmd line optinos 2008-11-13 15:52:20 -05:00
unknown
9bc872695d catch asserts and report error to client on a query
various dbgrid work incremental
background job class
2008-10-29 16:48:03 -05:00
Dwight
13480027d9 reorganize commands code for dbgrid 2008-10-22 16:56:39 -04:00