Fix reporting to Consul, report even if we are purely secondary
This commit is contained in:
@@ -38,10 +38,6 @@ void osd_t::init_primary()
|
||||
{
|
||||
peering_state = OSD_LOADING_PGS;
|
||||
load_pgs();
|
||||
this->consul_tfd = new timerfd_interval(ringloop, consul_report_interval, [this]()
|
||||
{
|
||||
report_status();
|
||||
});
|
||||
}
|
||||
if (autosync_interval > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user