]
Radoslav Husar updated WFLY-10442:
----------------------------------
Summary: mod_cluster proxy operations' rollback handlers make potentially
dangerous assumptions (was: mod_cluster proxy operations' rollback handlers make
potentially dangerous asumptions)
mod_cluster proxy operations' rollback handlers make potentially
dangerous assumptions
--------------------------------------------------------------------------------------
Key: WFLY-10442
URL:
https://issues.jboss.org/browse/WFLY-10442
Project: WildFly
Issue Type: Bug
Components: mod_cluster
Affects Versions: 13.0.0.Beta1
Reporter: Radoslav Husar
Assignee: Radoslav Husar
Priority: Critical
The current implementation of certain mod_cluster proxy operations are registering
potentially dangerous rollback handlers. They are making an assumption what was the state
of the system prior to the operation.
For instance, if the proxy was already disabled, and a disable operation is called which
intermittently fails, a callback handler will be called which will enable the proxy. This
is dangerous as attempting to disable an already disabled proxy may potentially enable
it.
This behavior should be removed.