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

CommitLogSegment uses RandomAccessFile which doesnt have fadvice

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment