Skip to content

The apply pending actions can double-post when having concurrent requests #6873

Description

@suhaibmujahid

Note

This did not happen yet, so no examples, but in theory it is a bug that needs to be fixed.

The apply_all_pending method reads a run's not-yet-applied rows, then dispatches and commits each one, with no lock. Two concurrent calls both see the same pending rows and both dispatch them, so the same Bugzilla comment can be posted twice.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Fields

    Priority

    None yet

    Effort

    Medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions