Skip to content

There is a data race bug in write counter#866

Open
SYaoJun wants to merge 1 commit intocmu-db:masterfrom
SYaoJun:fix
Open

There is a data race bug in write counter#866
SYaoJun wants to merge 1 commit intocmu-db:masterfrom
SYaoJun:fix

Conversation

@SYaoJun
Copy link
Contributor

@SYaoJun SYaoJun commented Jan 21, 2026

The value is not in the lock protect scope, so it will have data race.
You can use -fsanitize=thread compile flag to reproduce this bug, when you run bpm-bench.

image

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.

1 participant