Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-625

LogSegment#append leaks entryCache when the entries are loaded on a restart.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.3.0
    • 0.4.0
    • server
    • None

    Description

      LogSegment#append leaks the entryCache when a RaftServerImpl is restarted.
      On restart, the entries are loaded from the raft Logs and then added in the entryCache, however after adding the entry in the cache, hasEntryCache is not set to true.

      cc: Lokesh Jain Tsz-wo Sze

      Attachments

        Issue Links

        Activity

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

          People

            msingh Mukul Kumar Singh
            msingh Mukul Kumar Singh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment