Skip to content

Conversation

@git-hulk
Copy link
Member

The root cause should be the blocking callback was triggered after pushing the key1's elements. The key1 will be consumed before key2 because the BLMPOP command will check keys by order when waking up. We can fix this by putting the key1 before key2 so that the key order is always correct even if the blocking callback was delayed.

This closes #2752.

The root cause should be the blocking callback was triggered after
pushing the key1's elements. And the key1 will be consumed before key2
because BLMPOP command will check keys by order when waking up. We can
fix by putting the key1 before key2, so that the key order is always
correct even if the blocking callback was delayed.
@sonarqubecloud
Copy link

@PragmaTwice PragmaTwice merged commit 1308d8a into apache:unstable Jan 31, 2025
35 checks passed
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.

Flaky test about BLMPOP in go cases

3 participants