Commit Graph

257 Commits

Author SHA1 Message Date
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
Dwight
f136b4b850 towards update unique key fix 2009-06-18 13:30:49 -04:00
Eliot Horowitz
00df88c21d moved BSONObjIterator::more to BSONObjectIteratore::moreWEOO()
added _more temporarily
SERVER-101
2009-06-09 11:43:04 -04:00
Dwight
573c3e419b cleanup of update() before fixing dup keys issue there 2009-06-05 17:12:49 -04:00
Dwight
a9f4598e25 just comments todo on update dup keys MINOR 2009-06-04 14:55:41 -04:00
Aaron
c03a7186cf file allocator compile windows MINOR 2009-05-28 12:59:27 -04:00
Aaron
83be71666f wait for file allocator to finish before removing files 2009-05-27 17:23:47 -04:00
Aaron
087e7c857e add id index to correct collection MINOR 2009-05-26 15:58:22 -04:00
Aaron
d22db6f05d BUG SERVER-71 don't allow multiple _id indexes 2009-05-26 14:33:19 -04:00
Aaron
7552a7ccb5 fix op logging for collection creation and for convertToCapped 2009-05-21 11:07:11 -04:00
Aaron
b773d2c965 autoIndexId defaults to false when creating a capped collection 2009-05-18 11:18:16 -04:00
Aaron
f0363bef0d refactor dropCollection 2009-05-11 10:45:10 -04:00
Aaron
e9b4457aa7 better id index logging MINOR 2009-04-21 17:52:11 -04:00
Aaron
54f806da95 don't update id index when id field is to be added 2009-04-21 17:01:33 -04:00
Aaron
302bc3a3b0 Merge branch 'master' of git@github.com:mongodb/mongo 2009-04-21 15:57:33 -04:00
Aaron
e0fd1d4c26 fix issue rolling back indexes on uniqueness violation 2009-04-21 15:56:45 -04:00
Aaron
eb5fa5c7d8 add index id in userCreateNS, unless this is not requested in create spec 2009-04-21 15:42:22 -04:00
Aaron
ecc651ea43 create id index correctly when cloning 2009-04-20 20:17:39 -04:00
Aaron
b1cc3f6223 add _id index automatically, don't allow it to be deleted 2009-04-20 18:40:38 -04:00
Dwight
c34ef0f68d create index, when unique, will now completely fail if there is a duplicate key error during index creation. 2009-04-20 12:38:36 -04:00
Dwight
9b2f190ab9 unique indexes
use { unique : true } in the index info
2009-04-20 10:29:26 -04:00
Aaron
405b490672 don't preallocate on very first allocation for file, to avoid splitting new capped collections unnecessarily 2009-04-15 16:13:59 -04:00
Aaron
f86d33372d update size in map and allocate asap interfaces 2009-04-15 16:11:54 -04:00
Aaron
e8c1ce4dc1 Revert "Revert "do preallocation after initial allocation too, make file allocator interface more flexible""
This reverts commit 668cf57c52.
2009-04-15 16:10:34 -04:00
Aaron
89884a1811 Revert "Revert "uassert on invalid size spec to create collection""
This reverts commit 40bbf305b5.
2009-04-15 16:10:28 -04:00
Aaron
c99883578c Revert "Revert "allocate files in background""
This reverts commit e577a2c64e.
2009-04-15 16:10:21 -04:00
Aaron
d8fbc8817d Revert "Revert "preallocate on implicit creation of first data file""
This reverts commit 7cb2b1e84d.
2009-04-15 16:10:13 -04:00
Aaron
7cb2b1e84d Revert "preallocate on implicit creation of first data file"
This reverts commit a233875fbb.
2009-04-15 15:58:43 -04:00
Aaron
e577a2c64e Revert "allocate files in background"
This reverts commit 0033bd91df.
2009-04-15 15:40:16 -04:00
Aaron
40bbf305b5 Revert "uassert on invalid size spec to create collection"
This reverts commit 643ceabc75.
2009-04-15 15:40:05 -04:00