diff --git a/src/rgw/rgw_rados.cc b/src/rgw/rgw_rados.cc index dc2af290731..95d4316d6ae 100644 --- a/src/rgw/rgw_rados.cc +++ b/src/rgw/rgw_rados.cc @@ -6970,6 +6970,12 @@ bool RGWRados::is_meta_master() */ bool RGWRados::is_syncing_bucket_meta(rgw_bucket& bucket) { + + /* no current period */ + if (current_period.get_id().empty()) { + return false; + } + /* zonegroup is not master zonegroup */ if (!get_zonegroup().is_master) { return false;