Skip to content

Commit 468e2bd

Browse files
authored
Merge 2fdad43 into 0db3d8b
2 parents 0db3d8b + 2fdad43 commit 468e2bd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ydb/core/kqp/common/shutdown/controller.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ void TKqpShutdownController::Stop() {
4040
++iteration;
4141
spent = (TInstant::Now() - startedAt).SecondsFloat();
4242
}
43+
if (!ShutdownState_->ShutdownComplete()) {
44+
Cerr << "Failed to gracefully shutdown KQP after " << timeout.Seconds() << " seconds: spent " << spent << " seconds, ";
45+
Cerr << ShutdownState_->GetPendingSessions() << " sessions to shutdown left" << Endl;
46+
}
4347
}
4448

4549
} // namespace NKikimr::NKqp

0 commit comments

Comments
 (0)