mirror of
https://github.com/ceph/ceph
synced 2025-01-13 14:33:36 +00:00
rgw: add missing current_history initialization
Fixes: http://tracker.ceph.com/issues/21996 Signed-off-by: Orit Wasserman <owasserm@redhat.com> Signed-off-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
parent
8b30167916
commit
cc3246cf46
@ -137,6 +137,8 @@ RGWPeriodHistory::Impl::Impl(CephContext* cct, Puller* puller,
|
||||
|
||||
// get a cursor to the current period
|
||||
current_cursor = make_cursor(current_history, current_period.get_realm_epoch());
|
||||
} else {
|
||||
current_history = histories.end();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user