mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-29 19:21:01 +00:00
Return an optional peer_info from get_peer_info_for_update
when the `app_state_map` arg does not change peer_info,
so that we can skip calling update_peer_info, if it didn't
change.
Fixes scylladb/scylladb#20991
Refs scylladb/scylladb#16376
Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
Closes scylladb/scylladb#21152
(cherry picked from commit 04d741bcbb)