0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 17:10:48 +01:00
Commit Graph

207 Commits

Author SHA1 Message Date
Aaron
11f58f1882 Use empty string for field names of key elements 2008-12-19 18:12:59 -05:00
Aaron
b473e85b92 Make g++ warnings stricter, clear a few new warnings 2008-12-17 14:09:37 -05:00
Dwight
b971c4ab83 prettier plus eliminating a couple warnings on visual c++ 2008-12-10 11:39:13 -05:00
Aaron
f5f533a36f Bracket btree cursors with beginning and and ending keys 2008-12-09 09:54: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
Aaron Staple
0caf3b7529 Initialize cursor based on query in certain sorting cases where sorting is specified (fix bug 1079). 2008-12-04 08:18:07 -05:00
Dwight
60b769a8cb replication fixes -- "first: true" support (local.dbinfo.*); clean up class name 2008-12-02 14:24:45 -05:00
Dwight
ede1f1e2ba big change for stopOnMiss 2008-11-18 15:47:37 -05:00
Dwight
805b9b23ad $explain should honor limit() 2008-11-17 17:03:17 -05:00
Dwight
261d46c2f2 include execution time in $explain output 2008-11-17 16:38:41 -05:00
Dwight
20c1d67ee9 $hint+$explain fix 2008-11-17 16:22:01 -05:00
Dwight
7ce45ce381 first cut of $hint 2008-11-17 15:39:03 -05:00
unknown
b1a5b9ed52 nscanned on slow query output in log 2008-11-15 19:04:01 -05:00
Dwight
8c4778e59f beginnings of $explain 2008-11-14 16:19:47 -05:00
unknown
2c7fca7647 roll back change 2008-11-13 22:29:25 -05:00
unknown
48a432d4ad temp patch regarding query optimizer 2008-11-13 21:59:56 -05:00
Dwight
d7798312c6 more detail on slow queries 2008-11-11 17:27:26 -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
Dwight
87d0ed26c4 allow an array for sort order 2008-10-14 14:02:43 -04:00
unknown
2a9c303a5a int datatype 2008-10-12 20:09:59 -05:00
Dwight
084303afb7 $ne 2008-10-10 11:21:41 -04:00
Dwight
2b67b58085 Option_SlaveOk 2008-09-11 13:04:30 -04:00
Dwight
1d4379a5d2 dbgrid.cpp added; return $err on assert 2008-09-11 10:45:57 -04:00
Dwight
90d0885116 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p
Conflicts:

	db/makefile
2008-09-09 14:30:22 -04:00
Dwight
98d4a02dcb dbgrid start 2008-09-09 10:19:31 -04:00
dwight
4af0da7918 break out code to serparate file 2008-09-08 20:37:59 -04:00
Dwight
5deec92469 endian check capability
repl work in progress
cleanup
2008-09-04 10:33:56 -04:00
Dwight
8cac7e4dc4 advertise new dbs for replication; handle user asserts on repl 2008-09-03 16:43:00 -04:00
dwight
5bd0db4c4c chedck for indexes on $inc updates. disallow the update then for now -- but will eventually allow and just update
the index
2008-08-28 17:05:15 -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
26d4234362 minor repl; ocmments 2008-08-25 16:53:19 -04:00
dwight
94f9bdee47 forgot to implement skip() for scanandorder 2008-08-24 20:43:48 -04:00
Dwight
02bc370b37 sort without index 2008-08-21 18:05:13 -04:00
Dwight
d3099f01ab beginnings of some sorting stuff 2008-08-19 17:57:05 -04:00
Dwight
53c3f540b6 auto add _id index on slave so replication is fast 2008-08-19 17:13:20 -04:00
Dwight
c0867d2c3f replicate $inc right; implement $set 2008-08-18 18:00:17 -04:00
dwight
88c0900a4d segfault just introduced recently, fixed. 2008-08-15 11:02:59 -04:00
Dwight
edcee6aaa8 tailable cursors working 2008-08-13 12:17:18 -04:00
Dwight
236575ca95 minor cleanup pragmas 2008-08-11 14:53:08 -04:00
Dwight
6e1f782d16 important cursor bug fixes (getmore)
clean up logs a little
2008-07-30 14:07:02 -04:00
Dwight
227f630729 replication 2008-07-29 17:54:54 -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
1a5d90cc9d cursorid 0 on getmore; fix for hudsonSmall test 2008-07-24 16:47:24 -04:00
Dwight
24fdaa1ed9 fix nasty drop / dropIndex bugs 2008-07-24 16:07:18 -04:00
Dwight
fa1bbbc78a defensive / better logging / minor 2008-07-23 18:09:53 -04:00
Dwight
38dbc34d45 a little defensive plus better json output 2008-07-22 18:12:32 -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
258be59a79 compound $lt $gt statements now work, but query optimizer needs to be smarter 2008-07-17 19:34:47 -04:00
Dwight
08bbcb55f2 $in queries 2008-07-17 16:43:58 -04:00
Dwight
b9410e381f validation / defensive stuff. 2008-07-16 19:18:04 -04:00
Dwight
940273d635 show query expression when slow 2008-07-16 17:38:46 -04:00
Dwight
4bfd28fa48 npe fix and defensive code 2008-07-16 14:36:10 -04:00
Dwight
09da292c09 lots: new count implemenation,
segv handler fix,
tweak # of objects returned on unlimit()ed find
2008-07-11 16:47:02 -04:00
Dwight
51bb240a58 --nojni option. 2008-07-11 12:27:23 -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
f05e500055 not hexadecimal 2008-06-30 09:40:39 -04:00
Dwight
0bc5be592d validate a little smarter 2008-06-29 22:33:59 -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
0c4751cb78 pad objects when allocated, when appropriate, to make updates faster. 2008-06-26 19:11:19 -04:00
Dwight
59a93423a9 better validation - check if things mistakenly in the free list 2008-06-25 19:41:30 -04:00
Dwight
26dea1fcd6 db.dropDatabase(); 2008-06-24 17:31:51 -04:00
Dwight
cb18407a0d replay better 2008-06-23 16:28:25 -04:00
Dwight
5d2cdfbad0 replay 2008-06-18 17:34:14 -04:00
Dwight
f1b1ff1f79 ok really works now 2008-06-17 17:02:29 -04:00
Dwight
652faabd18 catch exception on getMore() 2008-06-17 16:57:12 -04:00
Dwight
1d8c3e37b3 bad memory issue with cursors 2008-06-11 16:58:34 -04:00
Dwight
bb7e499d70 debug stuff 2008-06-10 16:57:25 -04:00
Dwight
94cb05e36a Merge branch 'dwight' 2008-06-10 13:13:57 -04:00
Dwight
4690479e34 handle bad connect from something weird 2008-06-09 15:05:00 -04:00
Eliot Horowitz
343ce21110 less debugging spam 2008-06-08 12:11:50 -04:00
Dwight
5080d260b0 horrific cursor code gone 2008-06-08 10:58:19 -04:00
Dwight
3ac43db818 unifhished 2008-06-06 14:59:58 -04:00
Dwight
3051b961ca dos2unix 2008-06-06 09:43:15 -04:00
Dwight
6cc05ab96e make validatens better 2008-05-02 17:42:19 -04:00
Dwight
9b01407c9f get profiling level 2008-04-29 15:34:11 -04:00
Dwight
a8339eedf6 good error msg on an assertion failure in dbCommand 2008-04-28 15:19:53 -04:00
Dwight
50f7e4dc7a assert 2008-04-28 12:36:36 -04:00
Dwight
8210548d7f dbproblem.log file 2008-04-25 17:24:27 -04:00
Dwight
a3f3a664a8 group by
appendBool / return bool from jni
2008-04-08 15:42:14 -04:00
Dwight
993e4fd967 overassert fixed 2008-04-07 13:35:58 -04:00
Dwight
f26b090d41 minor 2008-04-07 13:08:28 -04:00
Dwight
e21dfab42e v104 assert 2008-03-31 09:39:43 -04:00
Dwight
b9666b4db1 switch machines 2008-03-31 08:35:28 -04:00
Dwight
3709542459 add assert 2008-03-29 17:32:42 -04:00
Dwight
a46965e010 where tweaks 2008-03-26 14:51:47 -04:00
Dwight
8cdedebc9c jnicallback 2008-03-24 18:04:22 -04:00
Dwight
f3fd7c2b7a dbeval 2008-03-21 20:01:49 -04:00
Dwight
cf6cd6c60b bad assert
cleanup
2008-03-21 18:21: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