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

Read scan count once instead of once per vector to avoid issue where scan counts between vectors could become mis-aligned in concurrent scenarios #12135

Merged
merged 1 commit into from
May 20, 2024

Conversation

Mytherin
Copy link
Collaborator

@Mytherin Mytherin commented May 20, 2024

Previously this could result in an InternalException being triggered in scenarios where we are appending data to the same table while we are also reading it - this would happen when the StandardColumnData thinks we are scanning an entire vector (and hence can emit a ConstantVector) but the ValidityColumnData thinks we are not.

…scan counts between vectors could become mis-aligned in concurrent scenarios
@Mytherin Mytherin merged commit 3b64ce9 into duckdb:main May 20, 2024
39 checks passed
github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request May 20, 2024
Merge pull request duckdb/duckdb#12135 from Mytherin/concurrentvectorscan
@Mytherin Mytherin deleted the concurrentvectorscan branch June 7, 2024 12:52
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

1 participant