diff --git a/matrix/init_backfill.cc b/matrix/init_backfill.cc index e87ace804..2cf69d27e 100644 --- a/matrix/init_backfill.cc +++ b/matrix/init_backfill.cc @@ -66,8 +66,7 @@ ircd::m::init::backfill::init() { log::warning { - log, "Initial synchronization of rooms from remote servers has" - " been disabled by the configuration to avoid write operations." + log, "Not performing initial backfill because write-avoid flag is set." }; return; @@ -270,13 +269,6 @@ try room }; - log::debug - { - log, "Resynchronizing %s with %zu joined servers.", - string_view{room_id}, - origins.count(), - }; - // When the room isn't public we need to supply a user_id of one of our // users in the room to satisfy matrix protocol requirements upstack. const auto user_id @@ -292,6 +284,16 @@ try m::top(std::nothrow, room) }; + log::info + { + log, "Resynchronizing %s from %s [idx:%lu depth:%ld] from %zu joined servers...", + string_view{room_id}, + string_view{top_event_id}, + top_event_idx, + top_event_depth, + origins.count(), + }; + feds::opts opts; opts.op = feds::op::head; opts.room_id = room_id;