diff options
author | zalyalov <zalyalov@yandex-team.com> | 2023-06-08 14:23:28 +0300 |
---|---|---|
committer | zalyalov <zalyalov@yandex-team.com> | 2023-06-08 14:23:28 +0300 |
commit | a2cacd6516597be1cb46d9965500435db5ffad64 (patch) | |
tree | de656013e5914320a779de64ae65835e1e3f7499 /util/thread | |
parent | 40479c2d3d1e9bd3eb213aba537570d28d37d8a2 (diff) | |
download | ydb-a2cacd6516597be1cb46d9965500435db5ffad64.tar.gz |
consider tablets alive only after they signal active
Local no longer counts tablets as alive until they connect to pipe and actually start operating. This way, if a tablet is stuck reading its state on restart, it will not be incorrectly reported as alive.
This is achieved by adding a new event, TEvReady, that is similar to previously used TEvRestored, but is only sent when the tablet receives TEvTabletActive from itself. This way, the only change in general tablet behavior is the addition of a new event, that may need to be handled.
Diffstat (limited to 'util/thread')
0 files changed, 0 insertions, 0 deletions