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

Missing null check for READ-REPAIR header

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.3
    • None
    • None
    • Low

    Description

      The READ-REPAIR header is assumed to always be present which is no longer the case. This leads to a non-critical NullPointerException in ReadVerbHandler:109

      String repair = new String( message.getHeader(ReadCommand.DO_REPAIR) );

      A null check is needed.

      Attachments

        1. null_check.patch
          0.9 kB
          Per Mellqvist

        Activity

          People

            permellqvist Per Mellqvist
            permellqvist Per Mellqvist
            Per Mellqvist
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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