galaxy
galaxy copied to clipboard
set without getx in transaction does't work
The scenario I tried is this. begin transaction
- root = getRoot
- set(root)
- commit
then from other node: 4.root = getRoot 5. get(root) ==> TIMEOUT
when I added before 2: 1.5: getX(root) everything worked fine.
In the logs I saw that the getX got to the first node, but handled moved to the PendingMessages probably by shouldHoldMessage. I think that the reason is that it was flagged as MODIFIED.
I removed the getX from the code and run the distributed pingPong example and the problem didn't happen.
Happened again when I started the client actor before the server