Commit Graph

49 Commits

Author SHA1 Message Date
Alberto Lerner
bceacf2544 SERVER-1292 A bit more prep, separate grid.{h,cpp} from config 2010-07-28 14:24:55 -04:00
Alberto Lerner
a976d6ed88 SERVER-1280 Bring back the stop balancer marker 2010-07-21 19:56:18 -04:00
Eliot Horowitz
1d7c6c8b3a sleep on balancer error 2010-07-19 10:57:04 -04:00
Alberto Lerner
daf8c0fbd0 Revert "SERVER-1270 Prep for hooking StringData"
This reverts commit b7c9a9fc57.
2010-07-17 16:07:38 -04:00
Alberto Lerner
b7c9a9fc57 SERVER-1270 Prep for hooking StringData 2010-07-17 14:33:17 -04:00
Alberto Lerner
38eb41bf4a Balancer refreshes shard state at every round 2010-07-16 15:06:20 -04:00
Eliot Horowitz
e953d1482e fix balance sleep schedule 2010-07-13 22:45:22 -04:00
Alberto Lerner
13708352c2 More logging messages 2010-07-13 20:22:25 -04:00
Eliot Horowitz
130f70d3d4 use distlock for balancer SERVER-1354 2010-07-13 14:50:53 -04:00
Eliot Horowitz
453398b8b2 distlock pings, get rid of ourHostname 2010-07-13 00:56:08 -04:00
Eliot Horowitz
b19fb22ca1 Merge branch 'master' of github.com:mongodb/mongo 2010-07-08 18:46:01 -04:00
Eliot Horowitz
7a43996200 todo comment 2010-07-08 18:45:53 -04:00
Alberto Lerner
62d7b02c1e Better balancer messages 2010-07-08 12:09:05 -04:00
Alberto Lerner
4717034108 SERVER-1280 Allow balancer to be turned off 2010-07-06 19:58:37 -04:00
Alberto Lerner
e3e227686b SERVER-940 A bit more cleanup after shard was removed 2010-06-30 13:50:16 -04:00
Alberto Lerner
30b1524a77 SERVER-940 Balancer now drains chunks off a shard that's being removed 2010-06-23 19:25:03 -07:00
Eliot Horowitz
e1e111d05e didn't mean to compile that 2010-06-21 18:28:52 -04:00
Eliot Horowitz
a71cc3cd4b cleaning exceptions 2010-06-21 13:41:34 -04:00
Alberto Lerner
21bb8b439c Don't wait for an incoming query to load the shards info 2010-06-08 16:24:39 -04:00
Alberto Lerner
88c7f16767 Better balancer messages 2010-06-08 16:01:52 -04:00
Alberto Lerner
9f22a44e05 SERVER-950 addshard's maxSize option is in effect (carefull, no way to undo it yet). 2010-06-07 15:15:06 -04:00
Alberto Lerner
ef6a47ad09 SERVER-950 Balancer policy now picks up size limits (but balancer is not passing it yet) 2010-06-05 17:54:49 -04:00
Alberto Lerner
e9ac0d3a9f SERVER-950 Pass space usage and limits information the to balancer policy 2010-06-05 16:17:59 -04:00
Alberto Lerner
efe90867ca SERVER-950 Separate the space-based policy from the balancing mechanism [2/2] 2010-06-04 16:14:34 -04:00
Alberto Lerner
d7a8bfbf3a SERVER-950 Separate the space-based policy from the balancing mechanism [1/2] 2010-06-04 14:39:12 -04:00
Mathias Stearn
743d21d752 Use shared_ptr for DBConfig 2010-05-28 17:24:03 -04:00
Alberto Lerner
2e1f93c573 Merge branch 'master' of github.com:mongodb/mongo 2010-05-26 13:18:25 -04:00
Alberto Lerner
4021dd2187 Comments describing the balancer takeover. 2010-05-26 13:16:54 -04:00
Eliot Horowitz
ffd977a64c don't leak ChunkManager use - shared_ptr 2010-05-26 12:40:46 -04:00
Eliot Horowitz
a1c8d1b2c3 balancing functional test 2010-05-26 11:32:36 -04:00
Eliot Horowitz
2f12fef4cf Merge branch 'master' of github.com:mongodb/mongo 2010-05-26 10:34:52 -04:00
Eliot Horowitz
24df6ebf21 fix balancing 2010-05-26 10:34:43 -04:00
Alberto Lerner
c86f376300 Balancer now skips a database that doesn't have any sharded collections in it 2010-05-26 09:56:51 -04:00
Eliot Horowitz
4bdbf1fc67 use shared_ptr for Chunk references
handle splits on another server during splits SERVER-1109
2010-05-24 17:24:41 -04:00
Eliot Horowitz
ecec906288 fix connection pooling a bit 2010-05-20 13:36:29 -04:00
Eliot Horowitz
66683609c5 some debugging for SERVER-1109 2010-05-11 23:44:14 -04:00
Eliot Horowitz
04662e21d9 object id coordination across cluster SERVER-927 2010-05-11 12:06:09 -04:00
Dwight Merriman
02e174be47 vs2008 project updated 2010-05-09 18:56:06 -04:00
Eliot Horowitz
274e404f83 balancing improvements 2010-05-05 11:02:46 -04:00
Eliot Horowitz
d1082cf676 some refactoring for SERVER-946 2010-05-03 11:18:27 -04:00
Eliot Horowitz
5a4d061c89 balancing will involve all shards now SERVER-945 2010-04-28 14:41:07 -04:00
Eliot Horowitz
c2af7912ca more thread safety for DBConfig 2010-04-27 17:22:17 -04:00
Dwight
bd28578ab8 stdafx->pch 2010-04-27 15:27:52 -04:00
Eliot Horowitz
a19e992925 use Shard class instead of string for passing around Shards 2010-04-27 12:32:59 -04:00
Eliot Horowitz
e7e41410dc clean up ping and don't fsync before or after 2010-04-23 11:22:56 -04:00
Dwight Merriman
2ec0b874c7 vcproj 2010-04-22 23:50:02 -04:00
Eliot Horowitz
f86d93fd94 fix race check 2010-04-22 17:22:46 -04:00
Eliot Horowitz
5cd1a20b7f basic balancing working SERVER-945 2010-04-22 17:06:39 -04:00
Eliot Horowitz
be37180c5d auto balance checkpoint SERVER-945 2010-04-22 13:34:53 -04:00