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

FoundationDBTx restart() race condition #37

Open
twilmes opened this issue Jul 27, 2020 · 0 comments
Open

FoundationDBTx restart() race condition #37

twilmes opened this issue Jul 27, 2020 · 0 comments

Comments

@twilmes
Copy link
Collaborator

twilmes commented Jul 27, 2020

getMultiRange (which is synchronized) is being called which is locking the transaction. Then, a transaction reset is being triggered, likely by the time limit being exceeded by the FDB driver, on that same transaction which triggers a call to restart(), which is also synchronized. It can't get the lock so it's stuck and then that blocks everything.

Steps to reproduce:

mvn -Dtest=FoundationDBOLAPTest clean package test

This thread dump demonstrates the issue on lines 23 and 502.

jgfdb-stack-dump.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant