mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-13 03:12:13 +00:00
check_needs_view_update_path is async and might yield
so the token_metadata reference passed to it must be kept
alive throughout the call.
Fixes scylladb/scylladb#20979
Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
(cherry picked from commit eaa3b774a6)
Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
Closes scylladb/scylladb#21038