You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each nats pod knows each other but when querying "all servers" subject I obtain 2 replies from just one or (very rarely) 2 of them. The main effect of this is I miss the window of closure of some connections because the wrong server replied. This applies to all $SYS.REQ.SERVER.PING.* and $SYS.REQ.ACCOUNT.> topics.
Behavior
I am working with a nats cluster with 3 pods and trying to poll information about account connections (in_bytes, out_msgs, etc.). After noticing my DB was not closing some connections and tried manually making the request via CLI and this is what I got:
I will be posting more examples if required, but I get the same pattern happens when calling nats server list: only one of the servers is randomly shown (even when specifying the number of expected servers). The same exact thing happens even if I do not include all 3 addresses in the --server flag and a random server replies at each call.
Expected behavior
When making a request to $SYS.REQ.SERVER.PING.* or $SYS.REQ.ACCOUNT.> endpoints obtain responses from all 3 servers.
Server and client version
Server Version: 2.11.1-binary
Client Version (golang): v1.41.2
Client Version (NATS CLI): 0.2.3
Observed behavior
Short description
Each nats pod knows each other but when querying "all servers" subject I obtain 2 replies from just one or (very rarely) 2 of them. The main effect of this is I miss the window of closure of some connections because the wrong server replied. This applies to all
$SYS.REQ.SERVER.PING.*
and$SYS.REQ.ACCOUNT.>
topics.Behavior
I am working with a nats cluster with 3 pods and trying to poll information about account connections (in_bytes, out_msgs, etc.). After noticing my DB was not closing some connections and tried manually making the request via CLI and this is what I got:
After a few retries:
And querying for a specific connection
Second try:
I will be posting more examples if required, but I get the same pattern happens when calling
nats server list
: only one of the servers is randomly shown (even when specifying the number of expected servers). The same exact thing happens even if I do not include all 3 addresses in the--server
flag and a random server replies at each call.Expected behavior
When making a request to
$SYS.REQ.SERVER.PING.*
or$SYS.REQ.ACCOUNT.>
endpoints obtain responses from all 3 servers.Server and client version
Server Version: 2.11.1-binary
Client Version (golang): v1.41.2
Client Version (NATS CLI): 0.2.3
Host environment
Server config:
Steps to reproduce
Setup Cluster and query System events subjects
The text was updated successfully, but these errors were encountered: