Commit Graph

69 Commits

Author SHA1 Message Date
Eliot Horowitz
31984c056b during migrate, lock around each insertion to minimize impact on production systems 2010-10-24 01:52:44 -04:00
Eliot Horowitz
9923c7b636 yield when storing locs to migrate and yield while doing so 2010-10-23 17:40:58 -04:00
Alberto Lerner
abccecb42a MigrateStatus classes require thread-safe access 2010-10-23 11:23:58 -04:00
Alberto Lerner
d1ff952a41 SERVER-1979 check max key before accepting a move request 2010-10-20 16:32:49 -04:00
Alberto Lerner
cac8c78947 comment 2010-10-18 15:24:18 -04:00
Alberto Lerner
3e32ba710f release connection before returning 2010-10-18 12:13:11 -04:00
Alberto Lerner
ad76936753 extre semi-colon 2010-10-18 11:56:45 -04:00
Alberto Lerner
d344f95e6e which lock? 2010-10-18 11:02:08 -04:00
Eliot Horowitz
8b29ca04e5 use buffer len rather than computing ourself 2010-10-17 22:44:31 -04:00
Alberto Lerner
da51257c3b comments and readability 2010-10-12 13:57:24 -04:00
Eliot Horowitz
53a0d295e3 split bson max size into User and Internal
sometimes objects have to be bigger (oplog insertion for example)
more prep for SERVER-431
2010-10-11 11:26:41 -04:00
Eliot Horowitz
d3c3b8a903 using BSONObjMaxSize everywhere bson size comes into play
still 4mb, this is just prep for changing SERVER-431
2010-10-10 20:01:17 -04:00
Eliot Horowitz
7a429535ff trying to diagnose memory "leak" on migrate 2010-10-09 21:58:07 -04:00
Alberto Lerner
400cb48a83 SERVER-1858 add chunk info to moveChunk.from and moveChunk.to changelog entries 2010-10-08 21:26:57 -04:00
Alberto Lerner
a71647e66d fix: large chunks would try to grow Builder past 64Mb. test upcoming 2010-10-07 14:33:13 -04:00
Alberto Lerner
e6d6f5f5e9 comment 2010-10-07 12:39:46 -04:00
Eliot Horowitz
a329d4a4b9 remove old migrate code 2010-09-23 20:22:06 -04:00
Eliot Horowitz
ac505f9786 instead of using normal cursor for doing chunk migration, get all DiskLocs sort, and use a command
is much faster for randomly distributed data SERVER-1828
2010-09-22 14:56:55 -04:00
Alberto Lerner
1a69db26cf better message 2010-09-20 15:51:39 -04:00
Alberto Lerner
44a681a836 avoid shadowing variable in scope 2010-09-20 15:35:20 -04:00
Alberto Lerner
f8897d2e65 avoid shadowing variable in scope 2010-09-20 15:11:43 -04:00
Eliot Horowitz
d5bd13f7a6 in the middle of making migrate clone in diskloc order 2010-09-17 16:50:32 -04:00
Eliot Horowitz
d78667f289 track cloned bytes 2010-09-17 11:16:32 -04:00
Eliot Horowitz
1c778d93ed abort chunk move if too big SERVER-1806 2010-09-16 16:57:08 -04:00
Eliot Horowitz
ceb1bc7f04 better log message 2010-09-14 11:07:23 -04:00
Eliot Horowitz
a53ff9a810 better name and comments 2010-09-14 10:06:06 -04:00
Eliot Horowitz
e35a30f2b4 go back to dblock for transfer and remove local lock 2010-09-12 13:18:08 -04:00
Eliot Horowitz
dd8b17f014 use simple lock around transfer data structures rather than relying on dblock 2010-09-11 13:14:40 -04:00
Eliot Horowitz
fc92d29a25 remove lock from MigrateFromStatus since already using db lock 2010-09-10 23:37:06 -04:00
Eliot Horowitz
4d77f5e86a better help method for internal command 2010-09-10 23:35:54 -04:00
Eliot Horowitz
cd92ee466a some safety checks for migrate and will obey killOp 2010-09-07 19:03:05 -04:00
Eliot Horowitz
e9043f2f7a cursor paranoia 2010-08-16 01:01:35 -04:00
Eliot Horowitz
87b6b56813 even more migrate debugging 2010-08-15 01:08:53 -04:00
Eliot Horowitz
befdfdd44e return connection to pool 2010-08-15 00:37:08 -04:00
Eliot Horowitz
2f3f678019 compile 2010-08-14 20:08:57 -04:00
Eliot Horowitz
7d278318b3 better transfer error logging 2010-08-14 20:03:01 -04:00
Eliot Horowitz
c8f11dff74 clean up chunk version handling - prep for SERVER-1473 2010-08-04 13:28:11 -04:00
Eliot Horowitz
240f550d7a spam less 2010-08-03 18:22:11 -04:00
Eliot Horowitz
d85c39b69d move RemoveSaver out of d_migrate into helpers - prep for SERVER-1512 2010-08-03 09:13:53 -04:00
Dwight
08eaec0599 check for null return from query() 2010-08-02 14:44:53 -04:00
Eliot Horowitz
397c58b347 debugging for forked cleanup 2010-07-29 11:18:41 -04:00
Eliot Horowitz
3ba454f168 debugging for migrate problem 2010-07-28 17:33:05 -04:00
Eliot Horowitz
0053bd9833 debugging/safety 2010-07-28 14:10:25 -04:00
Eliot Horowitz
6b4e91bef9 some edge case fixes with isnerts 2010-07-23 16:06:24 -04:00
Eliot Horowitz
83c9e34df8 fix comments 2010-07-23 10:50:24 -04:00
Eliot Horowitz
bc06aca3e8 better size calc for transfer mods 2010-07-23 01:16:57 -04:00
Eliot Horowitz
ae3cd41143 handle cleaning old data when no cursors inline 2010-07-23 00:46:53 -04:00
Eliot Horowitz
4308df6f3b don't delete old chunk data until there aren't cursors iterating it SERVER-937 2010-07-22 17:24:51 -04:00
Eliot Horowitz
7456810dad typo 2010-07-20 09:57:56 -04:00
Eliot Horowitz
e7405c154f make sure configServer is set 2010-07-19 21:23:00 -04:00