chore: add DCHECK to easier tests debugging (#5018)

This commit is contained in:
Borys 2025-04-28 14:15:05 +03:00 committed by GitHub
parent 2128eb31c9
commit 70be62c6a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -311,6 +311,7 @@ bool OutgoingMigration::FinalizeMigration(long attempt) {
dfly::Pause(server_family_->GetNonPriviligedListeners(), &namespaces->GetDefaultNamespace(),
nullptr, ClientPause::ALL, is_pause_in_progress);
DCHECK(pause_fb_opt);
if (!pause_fb_opt) {
auto err = absl::StrCat("Migration finalization time out ", cf_->MyID(), " : ",
migration_info_.node_info.id, " attempt ", attempt);