mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-27 11:55:15 +00:00
Gossip SYN and ACK uses std::vector to store a list of gossip_digest, the larger the cluster, the more continuous memory is needed. To reduce the memory pressure which might cause std::bad_alloc, switch the std::vector to chunked_vector. In addition, change add_local_application_state to use std::list instead of std::vector. Refs #2782