mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-26 03:20:37 +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 d34878e96c)
Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
Closes scylladb/scylladb#21040