Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-16191

Add tests for Repair metrics

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Review In Progress
    • Priority: Normal
    • Resolution: Unresolved
    • Fix Version/s: 4.0-beta
    • Component/s: Test/dtest/python
    • Labels:
      None
    • Change Category:
      Quality Assurance
    • Complexity:
      Low Hanging Fruit
    • Test and Documentation Plan:
      Hide

      In existing preview_repair_test.py , which 3 nodes are started.
      After adding few records in node-3, its stopped, similarly few records
      are added in node-1 & its stopped.

      Later before performing sync operation, nodetool preview and validate operations
      are performed. So this preview operation will tick the RepairMetrics::previewFailures metric,
      so its expected that RepairMetrics::previewFailures metric count is increased.

      After performing sync operations in cluster, when same preview operation is performed,
      then RepairMetrics::previewFailures metric value should remain same.

      Show
      In existing preview_repair_test.py , which 3 nodes are started. After adding few records in node-3, its stopped, similarly few records are added in node-1 & its stopped. Later before performing sync operation, nodetool preview and validate operations are performed. So this preview operation will tick the RepairMetrics::previewFailures metric, so its expected that RepairMetrics::previewFailures metric count is increased. After performing sync operations in cluster, when same preview operation is performed, then RepairMetrics::previewFailures metric value should remain same.

      Description

      We do not seems to have some tests for the RepairMetrics.previewFailures counter.

        Attachments

        1. 0001-preview_failures_metric_test.patch
          2 kB
          Yasar Arafath Baigh

          Issue Links

            Activity

              People

              • Assignee:
                yasar_baigh Yasar Arafath Baigh
                Reporter:
                blerer Benjamin Lerer
                Authors:
                Yasar Arafath Baigh
                Reviewers:
                Adam Holmberg
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: