Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set without getx in transaction does't work #21

Open
eitan101 opened this issue Jul 1, 2013 · 2 comments
Open

set without getx in transaction does't work #21

eitan101 opened this issue Jul 1, 2013 · 2 comments
Assignees

Comments

@eitan101
Copy link
Contributor

eitan101 commented Jul 1, 2013

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.

@ghost ghost assigned eitan101 Jul 19, 2013
@eitan101
Copy link
Contributor Author

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

@eitan101
Copy link
Contributor Author

Happened again when I started the client actor before the server

@eitan101 eitan101 reopened this Jul 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant