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

OffsetIndex should open RandomAccessFile consistently

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.1.0
    • Fix Version/s: 0.9.0.0
    • Component/s: core
    • Labels:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: