diff options
author | chertus <azuikov@ydb.tech> | 2023-06-19 13:08:01 +0300 |
---|---|---|
committer | chertus <azuikov@ydb.tech> | 2023-06-19 13:08:01 +0300 |
commit | ff43da9a3ff8beff2560cc9fa0d9c7c45c544816 (patch) | |
tree | bd78098397244537c0859f441b3d5daa3cc0c090 | |
parent | 4feedd726591f38c19369ac80cbdc8a045d00399 (diff) | |
download | ydb-ff43da9a3ff8beff2560cc9fa0d9c7c45c544816.tar.gz |
prevent send TEvWaitPlanStep before TEvRegisterTablet
-rw-r--r-- | ydb/core/tx/columnshard/columnshard_impl.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ydb/core/tx/columnshard/columnshard_impl.cpp b/ydb/core/tx/columnshard/columnshard_impl.cpp index 956ff0602b..448298a88e 100644 --- a/ydb/core/tx/columnshard/columnshard_impl.cpp +++ b/ydb/core/tx/columnshard/columnshard_impl.cpp @@ -179,7 +179,9 @@ bool TColumnShard::WaitPlanStep(ui64 step) { } void TColumnShard::SendWaitPlanStep(ui64 step) { - Send(MakeMediatorTimecastProxyID(), new TEvMediatorTimecast::TEvWaitPlanStep(TabletID(), step)); + if (MediatorTimeCastRegistered) { + Send(MakeMediatorTimecastProxyID(), new TEvMediatorTimecast::TEvWaitPlanStep(TabletID(), step)); + } } void TColumnShard::RescheduleWaitingReads() { |