ISPN-3443 State transfer can undo write command

https://issues.jboss.org/browse/ISPN-3443