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

198 Commits

Author SHA1 Message Date
Eliot Horowitz
3e7985c5d6 changed verbose to logLevel and added log(int) 2009-01-20 14:30:59 -05:00
dwight
e1021ee8ab authenticate command work
some dbhelpers additions
less verbose logging
2009-01-18 17:48:44 -05:00
unknown
f412f99bee compile on windows 2009-01-18 11:53: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
64cc93ac22 Merge jsobj.h changes 2009-01-14 14:24:34 -05:00
Aaron
21a13b1336 NEW pdfile # : 4.4; Support compound directions with compound indexes 2009-01-14 13:56:52 -05:00
Eliot Horowitz
9ecc007b5b move sayDbContext to stdafx (it was defined there anyway) 2009-01-14 13:00:07 -05:00
Aaron
20dc205b17 Size calculation works for cap extent minSize on 64 bit machines, removed compiler warnings. 2009-01-14 10:11:51 -05:00
Aaron
d0299a39d1 Separate file size spec from name, create new style capped cursors, define file size func on any os 2009-01-13 10:28:42 -05:00
Aaron
3e5965e2c9 Fix disk free space calculation 2009-01-12 09:58:30 -05:00
Dwight
11c43967f9 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2009-01-06 18:25:45 -05:00
Dwight
1cc123561a try not to die in segv printouts with deadlocks and such 2009-01-06 18:25:38 -05:00
Aaron
dacc872ba2 Enhance json parser 2009-01-06 13:02:09 -05:00
Dwight
42a807d3ee minor logging prettiness 2008-12-31 10:01:55 -05:00
Aaron
4e01f4fc84 Clear tmp dirs on startup 2008-12-29 14:22:36 -05:00
Aaron
59c6f23224 Add listDatabases command 2008-12-29 13:24:24 -05:00
Aaron
3211918f04 Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2008-12-29 12:11:14 -05:00
Aaron
f6613cc644 Check db size before repairing 2008-12-29 11:56:13 -05:00
Dwight
a9bbd5681b nicer logging
--verbose
2008-12-29 11:47:20 -05:00
Aaron
b7cbd30112 Replace tab indentation with spaces 2008-12-28 20:28:49 -05:00
unknown
4148938303 simple quotas for disk usage 2008-12-27 12:07:20 -05:00
unknown
d3d8cb55d1 minor logging cleanup 2008-12-27 11:05:04 -05:00
dwight
12e8be2b62 ensurehaveidindex had a bug could have resulting in two _id indexes 2008-12-25 21:22:27 -05:00
Aaron
3148da81f2 Index simple objects within arrays 2008-12-24 13:57:30 -05:00
Aaron
11f58f1882 Use empty string for field names of key elements 2008-12-19 18:12:59 -05:00
Aaron
e416c1f119 Automatically repair databases when pdfile version changes 2008-12-18 13:32:47 -05:00
Aaron
b473e85b92 Make g++ warnings stricter, clear a few new warnings 2008-12-17 14:09:37 -05:00
Dwight
ac51aadd92 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p
Conflicts:

	db/pdfile.h
2008-12-16 18:01:00 -05:00
Aaron
75a45c346f Add repairDatabase support 2008-12-16 10:20:24 -05:00
Aaron
b3d2c2ebd8 Some basic array index improvements 2008-12-11 17:35:11 -05:00
Aaron
3ec2ba4d9d Added some index details tests 2008-12-11 15:20:28 -05:00
Dwight
9fadd09ac6 show assertions in the web console 2008-12-04 18:11:25 -05:00
Dwight
e0727dc658 clone/copy db now works on replicating databases 2008-12-03 18:27:32 -05:00
Dwight
eff1694cd7 repl tran log was smaller than it should be 2008-12-02 15:51:00 -05:00
Dwight
60b769a8cb replication fixes -- "first: true" support (local.dbinfo.*); clean up class name 2008-12-02 14:24:45 -05:00
Dwight
2a46ef9acd embedded object segfault fix 2008-11-04 15:05:01 -05:00
Dwight
a4968427e2 bug fix with $natural
timeout on connects w/dbgrid faster
2008-11-03 20:42:59 -05:00
Dwight
13480027d9 reorganize commands code for dbgrid 2008-10-22 16:56:39 -04:00
Dwight
0aef80f8cc rename classes 2008-10-21 16:13:48 -04:00
unknown
2a9c303a5a int datatype 2008-10-12 20:09:59 -05:00
Dwight
732e137119 BUG 905 fixed w/indexes case 2008-10-09 17:29:04 -04:00
dwight
8fbdd64997 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2008-10-08 18:20:17 -04:00
dwight
4f23bf199f minor, request.cpp started 2008-10-08 18:20:02 -04:00
Eliot Horowitz
98823b6ca4 don't use data files larger than 512mb on 32 bit 2008-10-07 08:18:19 -04:00
Dwight
ab00e9875b validate objects on clone() 2008-10-02 17:25:57 -04:00
Dwight
379a756262 copydb 2008-09-15 15:30:53 -04:00
dwight
e783239b3f copydb work 2008-09-14 22:49:30 -04:00
Dwight
f56113d736 arbitrate 2008-09-11 15:13:47 -04:00
Dwight
5727d1b853 repl tweaks
justCreated wasn't qutie right
 smarter about handling new db's beign advertised
 log cleaner
2008-09-05 10:40:00 -04:00
Dwight
5f9d52a2f5 more work on pairing 2008-09-04 18:24:03 -04:00
Dwight
8cac7e4dc4 advertise new dbs for replication; handle user asserts on repl 2008-09-03 16:43:00 -04:00
Dwight
10d993452b added transient namespace info 2008-08-27 20:33:47 -04:00
Dwight
43529c43cf we only clone one database per pass, even if a lot need done. This helps us
avoid overflowing the master's transaction log by doing too much work before going
back to read more transactions. (Imagine a scenario of slave startup where we try to
clone 100 databases in one pass.)
2008-08-26 13:34:34 -04:00
Dwight
ca08e48791 repl tweaks 2008-08-25 16:46:39 -04:00
Dwight
53c3f540b6 auto add _id index on slave so replication is fast 2008-08-19 17:13:20 -04:00
Dwight
f4f3aacad7 checkpoint my work 2008-08-12 10:30:27 -04:00
dwight
112b19a5d9 log cleanup 2008-08-02 17:02:41 -04:00
Dwight
6e1f782d16 important cursor bug fixes (getmore)
clean up logs a little
2008-07-30 14:07:02 -04:00
Dwight
a0d1c47ff7 replication some work done 2008-07-28 17:52:44 -04:00
Dwight
3363fe311c collection options are retained when db is cloned;
those options now listed in system.namespaces;
more repl work
2008-07-28 13:51:39 -04:00
Dwight
e011494cbc cloneDatabase() 2008-07-27 18:36:47 -04:00
Dwight
20c7cf953a Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2008-07-24 16:07:29 -04:00
Dwight
24fdaa1ed9 fix nasty drop / dropIndex bugs 2008-07-24 16:07:18 -04:00
Eliot Horowitz
517956ab60 hack namespace _hudsonSmall which uses small files so we can test file boundaries 2008-07-24 14:09:18 -04:00
Dwight
fa1bbbc78a defensive / better logging / minor 2008-07-23 18:09:53 -04:00
Eliot Horowitz
50e8a1a3f5 added AGPL License Header to every file
take 2
2008-07-20 17:37:33 -04:00
Eliot Horowitz
383a862ad3 Revert "added AGPL License Header to every file"
Oops - added multiple times.

This reverts commit 608769fd03.
2008-07-20 17:34:22 -04:00
Eliot Horowitz
608769fd03 added AGPL License Header to every file 2008-07-20 17:33:02 -04:00
Dwight
b9410e381f validation / defensive stuff. 2008-07-16 19:18:04 -04:00
Dwight
7d5c131193 roll back bad bug commited couple hours ago 2008-07-16 17:21:47 -04:00
Dwight
4bfd28fa48 npe fix and defensive code 2008-07-16 14:36:10 -04:00
Dwight
51bb240a58 --nojni option. 2008-07-11 12:27:23 -04:00
Dwight
017d3126bc logging wasnt' threadsafe 2008-07-09 16:29:58 -04:00
Dwight
ee68a8e252 --nocursors 2008-07-09 12:32:11 -04:00
Dwight
1bf45a0843 fix deleteindexes and drop issue
minor hashtab fix
ensureindex works now if collection DNE
2008-07-07 18:57:04 -04:00
Dwight
89b2164a18 more defensive code and smarter validate function 2008-06-30 21:08:31 -04:00
Dwight
d85e75b674 switching locations 2008-06-28 13:46:59 -04:00
Dwight
b1a480423b first cut at "fast count" 2008-06-27 18:35:03 -04:00
Dwight
d3e3876751 stack traces 2008-06-27 14:35:05 -04:00
Dwight
0c4751cb78 pad objects when allocated, when appropriate, to make updates faster. 2008-06-26 19:11:19 -04:00
Dwight
3d428ce459 fix zero pointers in deleted lists on alloc() 2008-06-25 18:58:04 -04:00
Dwight
2fc57c4159 change to do ref counts for JSObj objects.
should fix OS X
dangerous change.
2008-06-25 17:13:40 -04:00
Dwight
4bab168e0f better opLogging - smarter with $cmd, log subset of reads option. 2008-06-25 14:25:34 -04:00
Dwight
dc39662994 capped: don't assert on what could be a user error 2008-06-25 13:08:51 -04:00
Dwight
26dea1fcd6 db.dropDatabase(); 2008-06-24 17:31:51 -04:00
Dwight
e0ac9757ac extraneous loops assert 2008-06-12 16:19:29 -04:00
Dwight
3051b961ca dos2unix 2008-06-06 09:43:15 -04:00
Dwight
877b72efcd mysterious disappearing blog post fix 2008-06-06 09:38:22 -04:00
Dwight
9fba70e49f query embedded objects 2008-06-02 20:27:45 -04:00
Dwight
548adc2678 don't assert if key to index too big ; nicer msg too 2008-05-01 10:22:05 -04:00
Dwight
d67a202c14 sai hack 2008-04-30 19:31:54 -04:00
Dwight
8210548d7f dbproblem.log file 2008-04-25 17:24:27 -04:00
Eliot Horowitz
de0a31a3f0 some asserts 2008-04-01 17:58:33 -04:00
Dwight
8cdedebc9c jnicallback 2008-03-24 18:04:22 -04:00
Dwight
bdacd93bb8 profiling 2008-03-16 20:59:19 -04:00
Dwight
fba714c583 new dup key implementation 2008-03-13 15:39:09 -04:00
Dwight
d496242919 $natural 2008-03-09 11:05:25 -04:00