Check peer config (at least, number) after connecting

This commit is contained in:
Vitaliy Filippov
2020-04-21 00:08:54 +03:00
parent 642802b595
commit 6a21ea207e
6 changed files with 69 additions and 8 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ void osd_t::init_cluster()
{
report_status();
}
printf("OSD %lu reporting to Consul at %s each %d seconds\n", osd_num, consul_address.c_str(), consul_report_interval);
printf("[OSD %lu] reporting to Consul at %s each %d seconds\n", osd_num, consul_address.c_str(), consul_report_interval);
this->consul_tfd = new timerfd_interval(ringloop, consul_report_interval, [this]()
{
report_status();