Closed bfdy18 closed 3 years ago
This change is made atop v1.4.0 (currently used in our lua driver) adding set_peer_maintenance to mark a node in/out of maintenance mode. can_try_peer function ignores node in maintenance mode, which prevents traffic to it during maintenance period
set_peer_maintenance
can_try_peer
Other changes, will moved to different PR: the patch file from https://github.com/lotusflare/cm/blob/master/docker/openresty/files-libs-thirdparty/cluster.lua.patch and https://github.com/lotusflare/cm/blob/master/docker/openresty/f…
This change is made atop v1.4.0 (currently used in our lua driver) adding
set_peer_maintenance
to mark a node in/out of maintenance mode.can_try_peer
function ignores node in maintenance mode, which prevents traffic to it during maintenance periodOther changes, will moved to different PR: the patch file from https://github.com/lotusflare/cm/blob/master/docker/openresty/files-libs-thirdparty/cluster.lua.patch and https://github.com/lotusflare/cm/blob/master/docker/openresty/f…