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

Add tests for Repair metrics

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0-rc1, 4.0
    • Test/dtest/python
    • None
    • Quality Assurance
    • Low Hanging Fruit
    • 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

              yasar_baigh Yasar Arafath Baigh
              blerer Benjamin Lerer
              Yasar Arafath Baigh
              Adam Holmberg, Andres de la Peña, Benjamin Lerer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: