Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2290

OffsetIndex should open RandomAccessFile consistently

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.1.0
    • 0.9.0.0
    • core

    Description

      We open RandomAccessFile in "rw" mode in the constructor, but in "rws" mode in resize(). We should use "rw" in both cases since it's more efficient.

      Attachments

        1. KAFKA-2290.patch
          1.0 kB
          Chris Black

        Activity

          People

            cblack Chris Black
            junrao Jun Rao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: