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

chore(o3): making txn release by TableReader more robust #1766

Merged
merged 5 commits into from
Jan 10, 2022

Conversation

bluestreak01
Copy link
Member

We are trying to avoid leaking txns from scoreboard and equally double-releasing them. I've added basic dedicated protection around acquisition and release of txns by reader such that neither of the above is possible.

@ideoma
Copy link
Collaborator

ideoma commented Jan 9, 2022

[PR Coverage check]

😍 pass : 24 / 25 (96.00%)

file detail

path covered line new line coverage
🔵 io/questdb/cairo/TableReader.java 24 25 96.00%

@bluestreak01 bluestreak01 merged commit b0a0663 into master Jan 10, 2022
@bluestreak01 bluestreak01 deleted the vi_tobust_reader_txn_release branch January 10, 2022 13:23
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

Successfully merging this pull request may close these issues.

None yet

2 participants