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

CommitLogSegment uses RandomAccessFile which doesnt have fadvice

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Not A Problem
    • None
    • None
    • None

    Description

      Wondering if we even need MMap file in this case as it is always sequential.

      If yes, we need it we might want to replace
      logFileAccessor = new RandomAccessFile(logFile, "rw");
      to
      logFileAccessor = SequentialWriter.open(logFile, true);

      in CommitLogSegment

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vijay2win@yahoo.com Vijay
              Pavel Yaskevich
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: