Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1252

Clustering: Trim in-memory log on persistence recovery

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Won't Do
    • Post-Helium
    • None
    • clustering
    • None
    • Operating System: All
      Platform: All

    • 2996
    • Normal

    Description

      At runtime, as state is applied and replicated, we trim the in-memory log to lower the memory footprint. However the persistent log is only trimmed when we do a real snapshot so, on restart, the recovered log will have a larger footprint. It will be trimmed as new state is subsequently applied but we should trim the in-memory log similarly as we're recovering the log.

      We'll need to persist the replicatedToAllIndex. We should be able include it with the ApplyJournalEntries message.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tpantelis Tom Pantelis
            tpantelis Tom Pantelis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: