Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-26632

Update DelegationTokenSecretManager current key ID to prevent erroneous database updates.

    XMLWordPrintableJSON

Details

    Description

      While rolling a new master key, TokenStoreDelegationTokenSecretManager does not update a base class member variable that tracks the current key ID. This can cause situations later where it attempts to update a key using an incorrect ID. This update attempt fails, even though the process had successfully generated a new master key. Since it appears to be a failure though, the thread immediately attempts to roll a new master key again, resulting in excess database load.

      Attachments

        Issue Links

          Activity

            People

              cnauroth Chris Nauroth
              cnauroth Chris Nauroth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m