[FEATURE] Flush on daemon shutdown #3
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Flush node on daemon shutdown, however also have a separate "restart" signal from Systemd trapped to do a graceful restart without flushing.
Suggested by @michal
changed the description
mentioned in commit
d0dc923d92mentioned in commit
ac2b3c464cmentioned in commit
c5a7ac0738I did some testing and based on how Systemd works, there is no way to selectively flush only on a
stop- therestartdoes astop+startunconditionally so there's no way to differentiate the two. Trying to do this withSIGHUP/reloadalso does not work since that doesn't respawn.Won't add; admin is always responsible for flushing first.
cc: @MichalKozanecki
closed
mentioned in commit
9eb1855addmentioned in commit
75ed61908amentioned in commit
f27cdb024cHow do the other nodes know the difference between a node being down because an admin gracefully shut
pvcdown, andpvc(orzookeeper) crashed?reopened
If
pvccrashes, it never sets its daemon state tostop, and hence gets fenced. If Zookeeper crashes, the node stops sending keepalives, and hence gets fenced.💯 👍
closed