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

ServiceTagsProcessor fails to handle update of an existing Service-Resource

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Ranger
    • None

    Description

      When an ENTITY_UPDATE notification is processed by tagsync process, it invokes Ranger admin's TagREST.importServiceTags() REST endpoint to add or update corresponding service-resource. However, if the incoming service-resource contains a GUID value, and Ranger admin's database does not have a service-resource that matches the GUID value, then instead of searching the database for the resource-signature, the implementation tries to create a service-resource. Such creation may fail with violation of uniqueness constraint for resource-signature value, resulting in the notification not correctly handled.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: