Uploaded image for project: 'Sentry'
  1. Sentry
  2. SENTRY-872 Uber jira for HMS HA + Sentry HA redesign
  3. SENTRY-1536

Refactor SentryStore transaction management to allow for extra TransanctionBlocks for a single permission update

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: Sentry
    • Labels:

      Description

      To persist single permission change, it needs to combine multiple things in a single transaction:

      • Doing the actual operation (priv change)
      • Updating notification ID.

      It is important to do this in a single transaction to guarantee that notificationID handling is atomic. Current code structure doesn't allow for that.

      So we need to pass extra transaction code to SentryStore functions or figure out a generic way to do this.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hahao Hao Hao
                Reporter:
                akolb Alexander Kolbasov
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: