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

WIP: Add RAII to aggregator #596

Closed

Conversation

Iliamish
Copy link
Contributor

@Iliamish Iliamish commented Oct 1, 2021

Signed-off-by: Mishin, Ilya [email protected]

Description

If user code throws exception inside operation handling, that deadlock graph. RAII solve that problem.

Fixes # - #420

Type of change

Choose one or multiple, leave empty if none of the other choices apply

Add respective label(s) to PR if you have permissions

  • bug fix - change which fixes an issue
  • new feature - change which adds functionality
  • tests - change in tests
  • infrastructure - change in infrastructure and CI
  • documentation - documentation update

Tests

  • added - required for new features and for some bug fixes
  • not needed

Documentation

  • updated in # - add PR number
  • needs to be updated
  • not needed

Breaks backward compatibility

  • Yes
  • No
  • Unknown

Notify the following users

List users with @ to send notifications

Other information

@Iliamish Iliamish self-assigned this Oct 1, 2021
Signed-off-by: Mishin, Ilya <[email protected]>
Signed-off-by: Mishin, Ilya <[email protected]>
@Iliamish Iliamish changed the title WIP: Add RAII to aggregator Add RAII to aggregator Oct 4, 2021
Signed-off-by: Mishin, Ilya <[email protected]>
Copy link
Contributor

@aleksei-fedotov aleksei-fedotov left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@Iliamish Iliamish changed the title Add RAII to aggregator WIP: Add RAII to aggregator Oct 4, 2021
@aleksei-fedotov
Copy link
Contributor

Looks good to me!

As we further discussed, although the patch fixes the issue when aggregator is not contended, it does not have anything to do with other commands in the list if those are there. So the patch needs further improvement and/or rework of the approach.

@Iliamish Iliamish closed this Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants