Commit Graph

53 Commits

Author SHA1 Message Date
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
Eliot Horowitz
ff33ac45c3 moveChunk timing and introspection SERVER-1433 2010-07-19 17:15:53 -04:00
Eliot Horowitz
41f0163961 be paranoid about removing data in moveChunk SERVER-1428
option to turn it off
2010-07-19 16:44:47 -04:00
Eliot Horowitz
671778afa9 put removeRange back 2010-07-19 15:36:12 -04:00
Eliot Horowitz
7ba534ce17 cleaning unit/test 2010-07-16 15:22:36 -04:00
Eliot Horowitz
6d47fb7ea5 handle removes during moveChunk SERVER-1425 2010-07-16 14:39:14 -04:00
Eliot Horowitz
c5d5b0341c debugging and better index handling 2010-07-16 14:31:42 -04:00
Eliot Horowitz
47261779b8 fix sharded count on moves
make Client::Context check shard versions
SERVER-1396
2010-07-16 12:30:37 -04:00
Eliot Horowitz
15697cf216 clear range before moving data into it SERVER-1425 2010-07-16 10:32:00 -04:00
Eliot Horowitz
cbfcd15433 try to fix win32 2010-07-16 00:53:47 -04:00
Eliot Horowitz
135c9d3f2e fixde race condition between threads trying to update version with moveChunk lock
big sharding test passes now
2010-07-15 23:04:36 -04:00
Eliot Horowitz
a446751e34 chunk migration totally its own logic now
should solve SERVER-1239 SERVER-1404
2010-07-15 17:15:15 -04:00
Eliot Horowitz
df489393a8 checkpoint 2 for re-write of migrate transfer
SERVER-1239 SERVER-1404
NOT FULL WORKING YET
2010-07-15 14:48:48 -04:00
Eliot Horowitz
9d53bc19ed checkpoint for re-write of migrate transfer
SERVER-1239 SERVER-1404
NOT FULL WORKING YET
2010-07-15 14:18:26 -04:00
Eliot Horowitz
6bd7d29d99 better distributed locking 2010-07-02 16:48:21 -04:00
Eliot Horowitz
3612e8ca54 log moveChunk 2010-07-02 10:15:21 -04:00
Eliot Horowitz
92e8ad86fa finish first cut at migrate in mognod and lots of fixes SERVER-933 2010-07-02 00:51:41 -04:00