
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`.
16 lines
411 B
JSON
16 lines
411 B
JSON
{
|
|
"LINKS": {
|
|
"summary": "Returns a list of all TCP links to and from peer nodes in cluster",
|
|
"complexity": "O(N) where N is the total number of Cluster nodes",
|
|
"group": "cluster",
|
|
"since": "7.0.0",
|
|
"arity": 2,
|
|
"container": "CLUSTER",
|
|
"function": "clusterCommand",
|
|
"command_flags": [
|
|
"RANDOM",
|
|
"STALE"
|
|
]
|
|
}
|
|
}
|