sorintlab / stolon

PostgreSQL cloud native High Availability and more.
https://talk.stolon.io
Apache License 2.0
4.66k stars 447 forks source link

Defer tabOut.Flush #804

Closed edwinakatosh closed 3 months ago

edwinakatosh commented 4 years ago

When running stolonctl status, i'm seeing the following output:

UID     HEALTHY PG LISTENADDRESS        PG HEALTHY      PG WANTEDGENERATION     PG CURRENTGENERATION
keeper0 true    10.1.0.36:5432          true            4                       4
keeper1 true    10.1.0.47:5432  true    2       2

instead of

UID     HEALTHY PG LISTENADDRESS        PG HEALTHY      PG WANTEDGENERATION     PG CURRENTGENERATION
keeper0 true    10.1.0.36:5432          true            2                       2
keeper1 true    10.1.0.47:5432          true            2                       2

Example: https://play.golang.org/p/K9kBnGbYBEE

edwinakatosh commented 4 years ago

@sgotti Please review and advise.

edwinakatosh commented 3 years ago

I think i had tested that, but i'll confirm and update. Thanks @sgotti