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

fix: update disk state when disk migrate completed #1088

Merged
merged 4 commits into from
Apr 15, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/replica/replica_disk_migrator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ void replica_disk_migrator::update_replica_dir()

_replica->get_replica_stub()->_fs_manager.remove_replica(get_gpid());
_replica->get_replica_stub()->_fs_manager.add_replica(get_gpid(), _target_replica_dir);
_replica->get_replica_stub()->update_disk_holding_replicas();
_replica->get_replica_stub()->on_disk_stat();

_status = disk_migration_status::CLOSED;
ddebug_replica("disk replica migration move data from origin dir({}) to new dir({}) "
Expand Down