Alexander Kolbasov created SENTRY-1536:
------------------------------------------

             Summary: Refactor SentryStore transaction management to allow for 
extra transactions
                 Key: SENTRY-1536
                 URL: https://issues.apache.org/jira/browse/SENTRY-1536
             Project: Sentry
          Issue Type: Sub-task
          Components: Sentry
    Affects Versions: sentry-ha-redesign
            Reporter: Alexander Kolbasov


HMSFollower 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to