diff options
author | ilnaz <ilnaz@ydb.tech> | 2023-03-30 21:49:50 +0300 |
---|---|---|
committer | ilnaz <ilnaz@ydb.tech> | 2023-03-30 21:49:50 +0300 |
commit | 87053b82b262f9ae8b762a099ae0e4850ce0267f (patch) | |
tree | bca56f89f80b961eb23a65b4c8de5f24cd505359 | |
parent | c566c781e725fb39d9b2491400a3a3e13c8e7cba (diff) | |
download | ydb-87053b82b262f9ae8b762a099ae0e4850ce0267f.tar.gz |
Unlink from async index's tablet
-rw-r--r-- | ydb/core/tx/datashard/change_sender_async_index.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ydb/core/tx/datashard/change_sender_async_index.cpp b/ydb/core/tx/datashard/change_sender_async_index.cpp index bc1d87abe85..554f4a9f814 100644 --- a/ydb/core/tx/datashard/change_sender_async_index.cpp +++ b/ydb/core/tx/datashard/change_sender_async_index.cpp @@ -201,6 +201,14 @@ class TAsyncIndexChangeSenderShard: public TActorBootstrapped<TAsyncIndexChangeS PassAway(); } + void PassAway() override { + if (LeaderPipeCache) { + Send(LeaderPipeCache, new TEvPipeCache::TEvUnlink(ShardId)); + } + + TActorBootstrapped::PassAway(); + } + public: static constexpr NKikimrServices::TActivity::EType ActorActivityType() { return NKikimrServices::TActivity::CHANGE_SENDER_ASYNC_INDEX_ACTOR_PARTITION; |