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

BufferedRandomAccessFile.read doesn't always do full reads

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 0.5
    • None
    • None
    • Normal

    Description

      BufferedRandomAccessFile.read may read fewer bytes than required, even when EOF is not reached. This breaks commit log recovery, which assumes that when a read returns less than required, the EOF is reached.

      Attachments

        1. issue565.patchev2
          0.7 kB
          Jun Rao
        2. issue565.patchev1
          2 kB
          Jun Rao

        Activity

          People

            junrao Jun Rao
            junrao Jun Rao
            Jun Rao
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: