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

Spurious calls of task state handler in sequencer #163

Open
AlexDontsov2008 opened this issue Jan 31, 2023 · 0 comments
Open

Spurious calls of task state handler in sequencer #163

AlexDontsov2008 opened this issue Jan 31, 2023 · 0 comments

Comments

@AlexDontsov2008
Copy link

AlexDontsov2008 commented Jan 31, 2023

Describe the bug
When I enqueued a single task with sequencer and checked a number of times the task state handler processed Started state, I noticed that it was called for all coroutine threads in case of "old" Sequencer and 2 times for experimental Sequencer.

To Reproduce
Steps to reproduce the behavior:

  1. Create a handler with atomic counters and setup it to the configuration
  2. Create dispatcher and sequencer with a simple integer key
  3. Enqueue a simple task
  4. Check counters

Expected behavior
Task state handler must be called only on a thread to which the task is assigned to

Environment (please complete the following information):

  • Ubuntu Linux 20.04
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

No branches or pull requests

1 participant