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

386 Commits

Author SHA1 Message Date
Dwight
1120113826 towards bg indexing 2010-02-01 12:01:26 -05:00
Eliot Horowitz
afa43dc8cd get rid of setClient - all Database storage is in Client::Context 2010-01-29 17:22:34 -05:00
Dwight
b8f779a2a2 shell should use the db's reIndex command 2010-01-29 14:58:10 -05:00
Dwight
8f21c738c1 small cleanup 2010-01-29 14:12:02 -05:00
Dwight
03abb654fb eliminate findElement - use getField() instead 2010-01-28 13:41:51 -05:00
Aaron
d0847c9912 SERVER-308 add support for --directoryperdb option 2010-01-26 14:40:06 -08:00
Aaron
ec3731c75b SERVER-308 add directoryperdb option, remove dead code 2010-01-26 11:21:31 -08:00
Aaron
3b4a0b04dd SERVER-426 make repair path configurable 2010-01-25 11:32:51 -08:00
Dwight
33bd6d1fe1 towards bg indexing 2010-01-25 12:25:29 -05:00
Dwight
530b1b2e7a deleteIndexes -> dropIndexes 2010-01-22 15:58:49 -05:00
Dwight
adf21e9404 block administrative things like dropping namespace while a background index job is in progress 2010-01-22 15:17:03 -05:00
Dwight
28f3a90f8c fix an issue with new clientcursor::pinvalue code
and more on bg indexing
2010-01-22 12:15:24 -05:00
Dwight
c78ec26e0f some work towards bg indexing 2010-01-21 16:35:35 -05:00
Aaron
f623739aca SERVER-525 check for index conflict before inserting into capped collection 2010-01-20 18:09:27 -08:00
Dwight
2772af49a1 SERVER-182 allow queries with array indexes 2010-01-20 13:57:20 -05:00
Dwight
036e6f7ba8 some work towards background indexing
option
2010-01-18 14:34:33 -05:00
Dwight
0165ec1fda fix extraneous info put in profiler objects, and make a tiny bit faster (updates) too 2010-01-15 17:33:44 -05:00
Dwight
98db9eed8a comment MINOR 2010-01-15 17:12:16 -05:00
Dwight
2628d0213a refactor and clean up some index building code
no longer allow two indexes with same key pattern (with diff names)
2010-01-15 16:05:14 -05:00
Dwight
94ed98667f make buildindex interruptable 2010-01-15 13:19:35 -05:00
Eliot Horowitz
c02e200b10 move some Index* stuff to db/index.* 2010-01-15 11:03:05 -05:00
Dwight
5e557f4071 fix warning on vc++ 2010-01-06 13:41:20 -05:00
Aaron
df1c01d6fe MINOR always allocate new extents when 'nExtents' debug parameter is specified, to avoid occasional capped2.js failures 2010-01-05 09:54:01 -08: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
Eliot Horowitz
5f36804299 stop using stringstream for logging 2009-12-29 23:30:29 -05:00
Eliot Horowitz
d5a5401f9a use code in getLastError SERVER-112 2009-12-28 17:12:49 -05:00
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Aaron
e6b27edec7 MINOR comments 2009-12-21 09:26:16 -08:00
Dwight
2437f989c9 fix a problem with extent re-use SERVER-490 2009-12-18 17:43:40 -05:00
Dwight
4390797b88 make query optimizer map thread-safe 2009-12-09 18:13:36 -05:00
Dwight
5ee785e34a cleaning/comments for namespacedetailstranient readability 2009-12-09 16:36:31 -05:00
Eliot Horowitz
4e9630f5d5 fail fast on capped delete SERVER-395 2009-11-23 23:34:17 -05:00
Eliot Horowitz
253a1cd0cd progress meters for large index builds 2009-11-19 11:19:48 -05:00
Dwight
2e21112c7d fix error message reporting on build index 2009-11-18 14:54:37 -05:00
Eliot Horowitz
7db9f7ee87 some index building code cleaning looking at SERVER-423, but can't see anything yet 2009-11-13 17:26:00 -05:00
Eliot Horowitz
3818050a7d use any type for bool value 2009-11-04 17:09:03 -05:00
Eliot Horowitz
e0c377e0ee update returns DiskLoc where object ends up 2009-10-30 15:50:21 -04:00
Eliot Horowitz
63e0ee59e4 fix invalid ensureIndex crashing server SERVER-388 2009-10-26 21:10:45 -04:00
dwight
fe0226cd79 MINOR global var cleanup 2009-10-24 14:34:54 -04:00
Eliot Horowitz
bf4e08f0f3 assert when trying to remove from a capped collection 2009-10-22 13:40:44 -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
672f2821af --quotaFiles SERVER-374 2009-10-20 13:29:05 -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
Dwight
01f1f6915d move CurOp into Client and make inprog handle multiple in progress 2009-10-16 15:36:34 -04:00
Eliot Horowitz
f634e70093 move quota/cpu to cmdLine 2009-10-16 11:36:38 -04:00
Eliot Horowitz
72dc2b9c22 fix sayDbContext to work w/o Client 2009-10-14 21:53:17 -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
97391936f7 Merge branch 'master' of git@github.com:mongodb/mongo
Conflicts:

	db/pdfile.cpp
2009-10-10 10:15:15 -04:00
dwight
1fd038c699 comment 2009-10-10 10:14:28 -04:00
Eliot Horowitz
ee72859d26 --smallfiles for some regression tests 2009-10-08 16:29:04 -04:00
Eliot Horowitz
3e3dda9c97 fix compount key with array indexing SERVER-279 2009-10-08 13:07:25 -04:00
Eliot Horowitz
a0d3663765 whitespace 2009-10-08 12:59:03 -04:00
Eliot Horowitz
677fbad312 client cursor cleaning and fix masked error 2009-10-08 12:04:27 -04:00
Dwight
d2db017c7a some code cleanup 2009-10-07 15:34:14 -04:00
Dwight
cb8a425f39 system.profile collection can now be dropped 2009-10-05 16:40:24 -04:00
Dwight
2967c63e92 exit faster on ctrl-c 2009-10-05 12:59:51 -04:00
Dwight
151d960765 correctly rollback a failed index create 2009-10-05 10:19:51 -04:00
Dwight
04104f13a1 add mapreduce() to the c++ client api.
not yet tested.
2009-10-02 16:55:47 -04:00
Eliot Horowitz
ae3d49d718 allow you to store js functions in the server SERVER-157 2009-09-29 16:54:31 -04:00
dwight
29ec5bf837 tuning index performance
log less too
2009-09-27 14:46:51 -04:00
Eliot Horowitz
5f75cfe408 some debugging 2009-09-26 23:47:01 -04:00
Eliot Horowitz
ad29f40716 warning and debugging 2009-09-25 11:56:17 -04:00
Dwight
0c5d8a7b3f build indexes bottom up
Merge branch 'master' of git@github.com:mongodb/mongo

Conflicts:

	db/extsort.cpp
2009-09-24 17:47:13 -04:00
Dwight
7a6f8d2398 Merge branch 'master' of git@github.com:mongodb/mongo
Conflicts:

	db/pdfile.cpp
2009-09-24 17:13:52 -04:00
Dwight
29f0d36640 more buildindex 2009-09-24 17:10:45 -04:00
Eliot Horowitz
56698dc313 return Iterator * 2009-09-24 17:04:44 -04:00
Dwight
0678cedd5b intermediate buildindex commit 2009-09-24 14:21:40 -04:00
Dwight
6cf3d75d08 btreebuilder work / temp commit 2009-09-24 12:11:55 -04:00
Eliot Horowitz
663b1bfd8e spam 2009-09-21 20:30:40 -04:00
Dwight
6bbaf0fdc3 better unit tests for unique indexes and dropDup : true on indexing 2009-09-21 16:31:00 -04:00
Dwight
926eecc0ce prep for buildIndex() work 2009-09-18 13:28:40 -04:00
Dwight
2706a28123 begin cmdline.h 2009-08-25 10:24:44 -04:00
Dwight
6c4a830e21 alloc() bug fix 2009-08-24 16:43:33 -04:00
Eliot Horowitz
93382dd24e fix case where there is a large object early in a collection that is bigger than an early sized extent 2009-08-21 17:17:20 -04:00
Eliot Horowitz
4be8bfc805 log(1) new extents 2009-08-21 17:05:29 -04:00
Dwight
062e60a661 cleaning MINOR 2009-08-13 13:26:47 -04:00
Dwight
f0c2c8003f don't allow dropping an index $ collection
http://jira.mongodb.org/browse/SERVER-217
2009-08-13 13:26:03 -04:00
Eliot Horowitz
01ff742b4e changed dbpath to std::string 2009-08-11 14:29:03 -04:00
Aaron Staple
63b8f32e13 Merge branch 'master' of git@github.com:mongodb/mongo 2009-08-11 01:43:03 -04:00
Dwight
17042c403e use $snapshot in the clone / repl code where appropriate
also adds snapshot to the C++ client driver
2009-08-10 16:57:59 -04:00
Eliot Horowitz
de9543ff4d cleaner drop debugging 2009-08-06 11:54:30 -04:00
Dwight
4875e282d1 better error message on drop() 2009-08-06 11:37:33 -04:00
Aaron Staple
f76fbbc402 BUG SERVER-184 mode for dropping duplicate records when creating unique index; correct index cache update behavior when createIndex called by ensureIndex fails 2009-08-05 16:02:20 -04:00
Aaron Staple
68dc075c00 MINOR comments, cleanup 2009-08-05 14:03:29 -04:00
Aaron Staple
d91bb3a565 more flexible $all matching 2009-08-03 16:26:18 -04:00
Aaron Staple
7162ec9343 MINOR remove cruft 2009-08-03 14:47:03 -04:00
Aaron Staple
137f185298 SERVER-62 generate keys for more complex array arrangements, also ensure generation of null key and semi-null keys 2009-08-03 14:32:23 -04:00
Aaron Staple
de1ce6719e MINOR relocate variable to make other binaries happy 2009-08-01 15:11:10 -04:00
Aaron Staple
24a6ae09d7 disable data file preallocation for pairing/repl tests 2009-08-01 14:54:20 -04:00
Aaron Staple
5dcdc3a59c fast collection renaming within a database 2009-07-29 15:53:14 -04:00
Eliot Horowitz
45f29d0123 beginnings of mms client 2009-07-17 15:49:24 -04:00
Eliot Horowitz
bd018f61d5 long instead of int for file size 2009-07-09 16:56:34 -04:00
Dwight
d73d4587ed correct comments MINOR 2009-07-07 16:43:49 -04:00
Dwight
85e8f71c1c fixed bug SERVER-118 multikey duplicate results from queries 2009-07-07 13:17:53 -04:00
Dwight
aaa1769381 fix bug SERVER-96 update that changes unique index field disregards unique constraint 2009-06-19 16:03:44 -04:00
Dwight
5b8ca64dbb fix bug where the feature that ensures _id is preserved on an update
had a case that didn't work - test cases added too
2009-06-19 13:26:58 -04:00