Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-7540

Alerts: Stack Alerts Should Not Be Merged Into the DB

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: alerts, ambari-server
    • Labels:
      None

      Description

      Initially, it was thought that alerts defined on the stack should be merged into existing alerts in the database on server startup so that changes made to the stack will be updated in the DB.

      However, there is a problem with this approach where editing a stack-based alert from the REST endpoints will be overwritten on the next startup. We could track this state change in the database, but this seems like a v2 feature.

      For v1, let's change the logic so that stack merging into the DB is only done for new alerts detected in alerts.json.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jonathan.hurley Jonathan Hurley
                Reporter:
                jonathan.hurley Jonathan Hurley
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: