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

convert mmap assertion to if/throw

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.7.5
    • None
    • None
    • 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

            jbellis Jonathan Ellis
            jbellis Jonathan Ellis
            Jonathan Ellis
            Sylvain Lebresne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: