Skip to content

deletepacer: don't use fifo.Queue#5524

Merged
RaduBerinde merged 1 commit intocockroachdb:masterfrom
RaduBerinde:pacer-msan-workaround
Nov 3, 2025
Merged

deletepacer: don't use fifo.Queue#5524
RaduBerinde merged 1 commit intocockroachdb:masterfrom
RaduBerinde:pacer-msan-workaround

Conversation

@RaduBerinde
Copy link
Copy Markdown
Member

There is a msan failure that goes away if we switch to using a slice
here. This isn't due to some bug in fifo.Queue but it looks like a
possible compiler bug; the problem will continue to be investigated as
part of golang/go#76138

We don't really need the specialized fifo.Queue here, a slice is
just as good; we just make sure to allocate in reasonable chunks.

Fixes #5498

@RaduBerinde RaduBerinde requested a review from a team as a code owner November 2, 2025 18:52
@RaduBerinde RaduBerinde requested a review from annrpom November 2, 2025 18:52
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

There is a msan failure that goes away if we switch to using a slice
here. This isn't due to some bug in `fifo.Queue` but it looks like a
possible compiler bug; the problem will continue to be investigated as
part of golang/go#76138

We don't really need the specialized `fifo.Queue` here, a slice is
just as good; we just make sure to allocate in reasonable chunks.

Fixes cockroachdb#5498
@RaduBerinde RaduBerinde force-pushed the pacer-msan-workaround branch from 4cbb05d to 8d767cc Compare November 3, 2025 02:23
Copy link
Copy Markdown
Contributor

@annrpom annrpom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

@annrpom reviewed all commit messages.
Reviewable status: 0 of 2 files reviewed, all discussions resolved

@RaduBerinde
Copy link
Copy Markdown
Member Author

TFTR!

@RaduBerinde RaduBerinde merged commit 8a7840b into cockroachdb:master Nov 3, 2025
8 checks passed
@RaduBerinde RaduBerinde deleted the pacer-msan-workaround branch November 3, 2025 16: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.

master: nightly linux-msan failed

3 participants