• ny0312's avatar
    Introduce memory management on cluster link buffers (#9774) · 792afb44
    ny0312 authored
    Introduce memory management on cluster link buffers:
     * Introduce a new `cluster-link-sendbuf-limit` config that caps memory usage of cluster bus link send buffers.
     * Introduce a new `CLUSTER LINKS` command that displays current TCP links to/from peers.
     * Introduce a new `mem_cluster_links` field under `INFO` command output, which displays the overall memory usage by all current cluster links.
     * Introduce a new `total_cluster_links_buffer_limit_exceeded` field under `CLUSTER INFO` command output, which displays the accumulated count of cluster links freed due to `cluster-link-sendbuf-limit`.
    792afb44
object.c 62.4 KB