Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

feat(disk_balance): support and validate disk migration rpc #660

Merged
merged 37 commits into from
Nov 16, 2020

Conversation

foreverneverer
Copy link
Contributor

@foreverneverer foreverneverer commented Nov 5, 2020

replica migration status

   client(shell)----------->replicaServer--------->metaServer
         |                      |                     |
         |------- start ------->|----> IDLE           |
         |                      |      | (validate)   |
         |                      |     MOVING          |
         |                      |      | (copy data)  |
         |                      |     MOVED           |     
         |                      |      | (rename dir) |
         |                      |     CLOSED          |
         |                      |      |              |
         |          ------------|<- Learning <--------|
         |         |            |                     |
         |  LearningSucess      |                     |
         |         |            |                     |
         |          ----------->|                     |

as above, this pr complete the work from IDLE to MOVING

src/replication.thrift Outdated Show resolved Hide resolved
src/replication.thrift Outdated Show resolved Hide resolved
src/replication.thrift Outdated Show resolved Hide resolved
src/replica/replica_disk_balancer.cpp Outdated Show resolved Hide resolved
src/replication.thrift Outdated Show resolved Hide resolved
src/replication.thrift Outdated Show resolved Hide resolved
src/replica/replica_disk_balancer.cpp Outdated Show resolved Hide resolved
src/replica/replica.h Outdated Show resolved Hide resolved
src/replication.thrift Show resolved Hide resolved
src/replica/disk_migration/test/run.sh Outdated Show resolved Hide resolved
src/replication.thrift Show resolved Hide resolved
src/replica/disk_migration/replica_disk_migrator.cpp Outdated Show resolved Hide resolved
src/replica/disk_migration/replica_disk_migrator.cpp Outdated Show resolved Hide resolved
src/replica/disk_migration/replica_disk_migrator.cpp Outdated Show resolved Hide resolved
src/replica/disk_migration/replica_disk_migrator.cpp Outdated Show resolved Hide resolved
src/replication.thrift Outdated Show resolved Hide resolved
src/replication.thrift Show resolved Hide resolved
hycdong
hycdong previously approved these changes Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants