Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-74

Write snapshots and backups in a way that requires less memory

    XMLWordPrintableJSON

Details

    • Story
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Scheduler
    • None

    Description

      Snapshots and backups currently involve passing around instances of the Snapshot struct. These are fully-hydrated copies of the entire storage. As a result, a scheduler process needs a constant multiplier of heap space headroom in order to perform these operations without encountering OutOfMemoryError s. Fixing this will require the ability to 'stream' fixed-size parts of storage from MemStorage to the backing store (currently an org.apache.mesos.Log), or a file in the case of backups. The reverse is also necessary — a snapshot must be read from a sequence of {{org.apache.mesos.Log.Entry}}s and fed into the in-memory storage.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wfarner Bill Farner
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: