diff options
author | dcherednik <dcherednik@ydb.tech> | 2023-06-13 13:40:00 +0300 |
---|---|---|
committer | dcherednik <dcherednik@ydb.tech> | 2023-06-13 13:40:00 +0300 |
commit | cbaa5ef3a76c30c6f672f1ae3bfaf6d6d46e19aa (patch) | |
tree | 59ec9641a8e4abecc4de7372125233d3de2d1138 /contrib/libs/libf2c/getenv_.c | |
parent | 8fdf1deee61e063769a90a12dfbd84fbfd8abb6e (diff) | |
download | ydb-cbaa5ef3a76c30c6f672f1ae3bfaf6d6d46e19aa.tar.gz |
Fix race in case of early TEvDiscardSnapshot event.
kqp session actor can send TEvDiscardSnapshot before getting snapshot id
from snapshot manager. Possible situations:
- If snapshot manager if AwaitCreation state we must
wait for getting snapshot id from TEvProposeTransactionStatus response and
send DiscardVolatileSnapshot back.
- If snapshot manager already send snapshot id to session actor and become
StateRefreshing but session actor has not received this message and send
TEvDiscardSnapshot without snapshot id
Diffstat (limited to 'contrib/libs/libf2c/getenv_.c')
0 files changed, 0 insertions, 0 deletions