Uploaded image for project: 'Couchbase Monitoring and Observability Stack'
  1. Couchbase Monitoring and Observability Stack
  2. CMOS-334

When removing a cluster, delete its checker results from the store

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 0.3
    • None
    • cluster-monitor
    • None

    Description

      On my local setup, I ran the below query which should not return any results:

      sqlite> select * from checkerResults where clusterUUID not in (select uuid from clusters);
      unhealthyNode|||good|"2022-02-21T15:37:05.391081Z"|0|231b609b71c38e0819f6d51386fab218|4999d7754ffa834e7597a04847f66073||
      asymmetricalCluster|||good|"2022-02-21T15:37:05.391081Z"|0|231b609b71c38e0819f6d51386fab218|||
      duplicateNodeUUID|||good|"2022-02-21T15:37:05.391081Z"|0|231b609b71c38e0819f6d51386fab218|||
      

      This suggests we're not cleaning up checker results if a cluster is removed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            marks.polakovs Marks Polakovs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              PagerDuty