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

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

    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: ljain szetszwo

      Attachments

        1. RATIS-625.001.patch
          1 kB
          Mukul Kumar Singh

        Issue Links

          Activity

            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: