antirez / antirez/disque

HELLO response with node missing IP address

Offen
#201 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C
Sterne
8.1k
Forks
532
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

In our testing environment, we saw a Disque node start to respond to `HELLO` with a response missing an IP address for its own node (it had neither 127.0.0.1 nor the local network IP - two interfaces available on this machine):

```
127.0.0.1:7711> hello
1) (integer) 1
2) "e4b6ad92530fa59da330ff921d9ef00ed1eea985"
3) 1) "e4b6ad92530fa59da330ff921d9ef00ed1eea985"
2) ""
3) "7711"
4) "1"
```

This confused the client I was using to no end. The client shouldn't try to use the HELLO information for a cluster of one node, but it was trying to anyway, and not expecting the missing IP.

Uptime on this disque node was 7 days, with very low load over that time.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.