Skip to content

At the start of a partition, the order of messages may change. (#15160) #15197

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

Conversation

Alek5andr-Kotov
Copy link
Collaborator

Changelog entry

Move changes from #15160

The partition actor puts messages in the queue until it enters the StateIdle state. Then he sends himself these messages again. There may be a situation when new messages will be processed before the accumulated ones.

#15070

Changelog category

  • Bugfix

Description for reviewers

Message processing rule:

  • in the StateInit state, messages are queued up in the PendingEvents queue.
  • in the StateIdle state, messages are processed immediately if the queue is empty and queued otherwise.

After switching from StateInit to StateIdle, all messages in the queue are processed.

@Alek5andr-Kotov Alek5andr-Kotov requested a review from a team as a code owner February 28, 2025 12:11
Copy link

github-actions bot commented Feb 28, 2025

2025-02-28 12:12:55 UTC Pre-commit check for 9e967ed has started.
2025-02-28 12:15:31 UTC Build linux-x86_64-release-asan is running...

Copy link

github-actions bot commented Feb 28, 2025

2025-02-28 12:13:06 UTC Pre-commit check for 9e967ed has started.
2025-02-28 12:15:48 UTC Build linux-x86_64-relwithdebinfo is running...
2025-02-28 12:18:54 UTC Check cancelled

Copy link

github-actions bot commented Feb 28, 2025

2025-02-28 12:25:26 UTC Pre-commit check for f87d1bb has started.
2025-02-28 12:28:04 UTC Build linux-x86_64-release-asan is running...
🟢 2025-02-28 12:52:43 UTC Build successful.
2025-02-28 12:52:57 UTC Tests are running...
🔴 2025-02-28 15:00:26 UTC Some tests failed, follow the links below.

Test history | Test log

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
11605 11504 0 37 25 39

Copy link

github-actions bot commented Feb 28, 2025

2025-02-28 12:28:30 UTC Pre-commit check for f87d1bb has started.
2025-02-28 12:31:09 UTC Build linux-x86_64-relwithdebinfo is running...
🟢 2025-02-28 13:11:42 UTC Build successful.
2025-02-28 13:11:57 UTC Tests are running...
🔴 2025-02-28 14:40:02 UTC Some tests failed, follow the links below.

Test history | Test log

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
16042 14682 0 19 1302 39

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