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

Log Warning Rather than Verbose Trace when Preview Repair Validation Conflicts with Incremental Repair

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 4.0-beta3
    • Component/s: Local/Compaction
    • Labels:
      None
    • Change Category:
      Operability
    • Complexity:
      Low Hanging Fruit
    • Platform:
      All
    • Impacts:
      None
    • Test and Documentation Plan:
      Hide

      A test has been created that hits the codepath that produces this log message (and verifies that the preview and incremental repairs that interleaved behave as we expect).

      Show
      A test has been created that hits the codepath that produces this log message (and verifies that the preview and incremental repairs that interleaved behave as we expect).

      Description

      When a preview repair on repaired data identifies which SSTables to validate, it might come across an SSTable that's still pending for an in-progress incremental repair session. It makes sense that we immediately fail the preview repair in that case, but the resulting error and verbose stack trace in the logs is a bit too severe a reaction. We should downgrade this to a simple warning message.

        Attachments

          Activity

            People

            • Assignee:
              maedhroz Caleb Rackliffe
              Reporter:
              maedhroz Caleb Rackliffe
              Authors:
              Caleb Rackliffe
              Reviewers:
              David Capwell, Marcus Eriksson
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h