aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorzalyalov <zalyalov@yandex-team.com>2023-06-08 14:23:28 +0300
committerzalyalov <zalyalov@yandex-team.com>2023-06-08 14:23:28 +0300
commita2cacd6516597be1cb46d9965500435db5ffad64 (patch)
treede656013e5914320a779de64ae65835e1e3f7499 /util
parent40479c2d3d1e9bd3eb213aba537570d28d37d8a2 (diff)
downloadydb-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')
0 files changed, 0 insertions, 0 deletions