mirror of
https://github.com/ceph/ceph
synced 2025-01-31 07:22:56 +00:00
rbd-mirror: use the already known pool name directly
no need to try to get the pool name by pool id again Signed-off-by: runsisi <runsisi@zte.com.cn>
This commit is contained in:
parent
89d1601cf8
commit
e7fa159e7e
@ -122,7 +122,7 @@ void ClusterWatcher::read_configs(map<peer_t, set<int64_t> > *peer_configs,
|
||||
(*peer_configs)[peer].insert(pool_id);
|
||||
}
|
||||
|
||||
pool_names->insert(ioctx.get_pool_name());
|
||||
pool_names->insert(pool_name);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user