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

payment: fix race condition in on-the-fly Janitor #1597

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pierre
Copy link
Member

@pierre pierre commented Feb 15, 2022

When running the on-the-fly Janitor while the onSuccessCalls of the initial payment control state machine haven't finished running yet, the plugin properties could have been wiped.

Draft PR as this is very much a conversation starter (we cannot just store the initial plugin properties, as it would introduce a regression for payment deployments).

When running the on-the-fly Janitor while the onSuccessCalls of the
initial payment control state machine haven't finished running yet,
the plugin properties could have been wiped.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
@pierre pierre requested a review from sbrossie February 15, 2022 15:31
@sbrossie
Copy link
Member

@pierre Should we close or merge - don't have a strong feeling either way, your choice.

@pierre
Copy link
Member Author

pierre commented Mar 24, 2022

Should we address this TODO, i.e. introducing a config for this, and commit the fix?

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.

None yet

2 participants