galaxy icon indicating copy to clipboard operation
galaxy copied to clipboard

set without getx in transaction does't work

Open eitan101 opened this issue 11 years ago • 2 comments

The scenario I tried is this. begin transaction

  1. root = getRoot
  2. set(root)
  3. 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.

eitan101 avatar Jul 01 '13 08:07 eitan101

I removed the getX from the code and run the distributed pingPong example and the problem didn't happen.

eitan101 avatar Jul 22 '13 06:07 eitan101

Happened again when I started the client actor before the server

eitan101 avatar Jul 28 '13 08:07 eitan101