Commit Graph

225 Commits

Author SHA1 Message Date
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
Aaron
668cf57c52 Revert "do preallocation after initial allocation too, make file allocator interface more flexible"
This reverts commit 5d9cb32605.
2009-04-15 15:39:57 -04:00
Aaron
ebcd7f9157 Merge branch 'master' of git@github.com:mongodb/mongo 2009-04-15 15:16:38 -04:00
Aaron
a233875fbb preallocate on implicit creation of first data file 2009-04-15 15:12:37 -04:00
Aaron
5d9cb32605 do preallocation after initial allocation too, make file allocator interface more flexible 2009-04-15 14:57:37 -04:00
Aaron
643ceabc75 uassert on invalid size spec to create collection 2009-04-15 13:49:06 -04:00
Aaron
0033bd91df allocate files in background 2009-04-15 11:58:38 -04:00
Aaron
26bddf1ef8 log separate op for each deleted object 2009-04-09 13:30:28 -04:00
Aaron
56f8696909 don't allow _id to be an array 2009-04-07 11:02:29 -04:00
Aaron
0b73b8d325 array elt may not contain referenced subobject 2009-04-06 13:41:47 -04:00
Dwight
c88389e558 checkpoint: beginnings of cleaning up the recstore interface 2009-03-20 15:39:22 -04:00
Aaron
3c2196420e Merge branch 'master' of git@github.com:mongodb/mongo 2009-03-19 16:23:19 -04:00
Aaron
5a276ef621 Replace emptyObj with BSONObj() 2009-03-19 16:23:04 -04:00
Dwight
e35ffd32dd improved dropIndex for new recstore 2009-03-19 15:38:49 -04:00
Aaron
cc83107966 Now forward startLoc, with test 2009-03-18 17:50:45 -04:00
Aaron
6d10afbd49 Find requested oplog entry starting from tail of log 2009-03-18 17:24:10 -04:00
Dwight
7165d7369e implemented dropIndexes for alt rec store 2009-03-17 17:02:21 -04:00
Aaron
93ac9027cd finishCloneCollection checkpoint 2009-03-11 17:37:25 -04:00
Aaron
3931f7efcb Revert "Use os file locking to lock dbpath"
This reverts commit 56e81849a0.
2009-03-10 10:14:37 -04:00
Aaron
56e81849a0 Use os file locking to lock dbpath 2009-03-09 20:02:02 -04:00
Aaron
bf123c2925 Remove log 2009-03-05 18:55:09 -05:00
Aaron
ae78648781 Better cloneCollection checkpoint 2009-03-04 15:57:35 -05:00
Aaron
2ba030abe0 Move index cache to NamespaceDetailsTransient 2009-03-03 17:30:26 -05:00
Aaron
253a49d2a1 Add new Matcher interface, use in count, add consts 2009-03-02 10:41:36 -05:00
Eliot Horowitz
b1a1e98294 make timestamp work on update, and a test 2009-02-28 18:55:04 -05:00
Aaron
9d792eb0c5 Rename CurrentTime to Timestamp, don't change type on insert 2009-02-27 18:14:45 -05:00
Aaron
63e5764fe2 Add BSONElementManipulator and CurrentTime type 2009-02-27 17:18:56 -05:00
Aaron
f1ad2c2875 Adjust dependencies 2009-02-26 11:08:23 -05:00
Aaron
bedaec4142 Clear query cache if an index is removed 2009-02-25 11:06:03 -05:00
Aaron
0d8dded1c3 Merge branch 'master' of git@github.com:mongodb/mongo 2009-02-24 17:51:58 -05:00
Aaron
17b7897f19 Remember best index for query pattern 2009-02-24 17:48:06 -05:00
Dwight
06ec54c285 oops, recent checking broke everything badly 2009-02-24 17:44:56 -05:00
Dwight
70ad274d41 look for the best match when reusing old extents 2009-02-24 16:55:56 -05:00