[FEATURE] Flush on daemon shutdown #3
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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
d0dc923d92
mentioned in commit
ac2b3c464c
mentioned in commit
c5a7ac0738
I did some testing and based on how Systemd works, there is no way to selectively flush only on a
stop
- therestart
does astop
+start
unconditionally so there's no way to differentiate the two. Trying to do this withSIGHUP
/reload
also does not work since that doesn't respawn.Won't add; admin is always responsible for flushing first.
cc: @MichalKozanecki
closed
mentioned in commit
9eb1855add
mentioned in commit
75ed61908a
mentioned in commit
f27cdb024c
How do the other nodes know the difference between a node being down because an admin gracefully shut
pvc
down, andpvc
(orzookeeper
) crashed?reopened
If
pvc
crashes, it never sets its daemon state tostop
, and hence gets fenced. If Zookeeper crashes, the node stops sending keepalives, and hence gets fenced.💯 👍
closed