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

Don't give checkers pointers to CouchbaseCluster

Details

    Description

      Currently the signature of a checker function is

      type CheckerFn func(cluster *CouchbaseCluster) ([]*WrappedCheckerResult, error)

      This, in theory, means that any checker could mutate the CouchbaseCluster, which means that (in theory) the checker functions aren't thread-safe and can't be called concurrently.

      While there shouldn't be a reasonable scenario where they would mutate it, we should still look into the viability of changing this to cluster CouchbaseCluster, ensuring they can't mutate the underlying source data.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Alex.emery Alex Emery (Inactive)
            marks.polakovs Marks Polakovs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty