resharding.py now uses the new PlannedReparentShard.

This commit is contained in:
Alain Jobart 2015-04-24 17:02:06 -07:00
Родитель 184abfad8f
Коммит 527e207f3b
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -702,7 +702,7 @@ primary key (name)
# reparent shard_2 to shard_2_replica1, then insert more data and # reparent shard_2 to shard_2_replica1, then insert more data and
# see it flow through still # see it flow through still
utils.run_vtctl(['ReparentShard', 'test_keyspace/80-c0', utils.run_vtctl(['PlannedReparentShard', 'test_keyspace/80-c0',
shard_2_replica1.tablet_alias]) shard_2_replica1.tablet_alias])
logging.debug("Inserting lots of data on source shard after reparenting") logging.debug("Inserting lots of data on source shard after reparenting")
self._insert_lots(3000, base=2000) self._insert_lots(3000, base=2000)