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

convert mmap assertion to if/throw

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 0.7.5
    • Component/s: None
    • Labels:
      None
    • Severity:
      Low

      Description

      This will allow scrub to catch this:

      java.lang.AssertionError: mmap segment underflow; remaining is 73936639 but 1970430821 requested
      
                      at org.apache.cassandra.io.util.MappedFileDataInput.readBytes(MappedFileDataInput.java:119)
      
                      at org.apache.cassandra.utils.ByteBufferUtil.read(ByteBufferUtil.java:315)
      
                      at org.apache.cassandra.utils.ByteBufferUtil.readWithLength(ByteBufferUtil.java:272)
      
                      at org.apache.cassandra.db.ColumnSerializer.deserialize(ColumnSerializer.java:76)
      

        Attachments

        1. 2417.txt
          1.0 kB
          Jonathan Ellis

          Activity

            People

            • Assignee:
              jbellis Jonathan Ellis
              Reporter:
              jbellis Jonathan Ellis
              Authors:
              Jonathan Ellis
              Reviewers:
              Sylvain Lebresne
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: