Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-2186

Increment service-specific policy and tag versions after update transaction is committed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • master
    • 2.0.0, 1.2.0
    • Ranger
    • None

    Description

      Policy updates to different policies within a service, when successful, update the service's policy version. If the update transactions are concurrent, and executed on different ranger-admin servers (in HA configuration), then it is possible that policy-version of the transaction that commits later overwrites policy-version of earlier transaction, effectively losing track of the first change.

      If policy-version is updated after update to policy is committed, then the window of such loss is greatly reduced.

      Similar considerations apply for tag updates.

       

      Attachments

        Activity

          People

            abhayk Abhay Kulkarni
            abhayk Abhay Kulkarni
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: