The state is already being reset in the set_* methods. The _set_value helper method removes the {relname}.master.available state at the same time it publishes the requested changes on the relation.
I'm at a loss how the example code could end up in such a situation.
The state is already being reset in the set_* methods. The _set_value helper method removes the {relname} .master. available state at the same time it publishes the requested changes on the relation.
I'm at a loss how the example code could end up in such a situation.