mirror of
https://github.com/ceph/ceph
synced 2024-12-17 00:46:05 +00:00
mon/PGMonitor: remove unused variable
last_pg_scan is not used in PGMonitor::update_from_paxos(), so remove it. Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
d86f15ca65
commit
89810eeb31
@ -176,8 +176,6 @@ void PGMonitor::update_from_paxos(bool *need_bootstrap)
|
||||
|
||||
// pg/osd keys in leveldb
|
||||
// read meta
|
||||
epoch_t last_pg_scan = pg_map.last_pg_scan;
|
||||
|
||||
while (version > pg_map.version) {
|
||||
// load full state?
|
||||
if (pg_map.version == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user