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

PopulateCountMap: use atomics #1682

Merged
merged 1 commit into from
May 7, 2024
Merged

PopulateCountMap: use atomics #1682

merged 1 commit into from
May 7, 2024

Conversation

serprex
Copy link
Contributor

@serprex serprex commented May 7, 2024

Race existed with parallel queue processing

Race existed with parallel queues
@serprex serprex enabled auto-merge (squash) May 7, 2024 15:32
@serprex serprex disabled auto-merge May 7, 2024 17:20
@serprex
Copy link
Contributor Author

serprex commented May 7, 2024

Alternatively, we could adjust populate to happen at start of loop, counting 1 per incoming record, rather than 1 per outgoing record

@serprex serprex merged commit 756679e into main May 7, 2024
6 checks passed
@serprex serprex deleted the atomic-populate-counts branch May 7, 2024 18:19
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.

2 participants