Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-5589

Archive WAL segment after significant period of grid inactivity

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1
    • persistence
    • None

    Description

      Placing WAL records into files in work directory (preallocated size; files with same name) was intitially done for perfomance reasons.

      But for case there is no activity in the system there is no need to keep open segment in work directory.
      It is possible move data of this incomplete segment into archive.

      Proposed change: wait some configurable time, e.g N minutes and move WAL segment to archive.

      This operation should be done with appropriate lock held to avoid writting record to WAL segment which is being archived.

      Attachments

        Issue Links

          Activity

            People

              dpavlov Dmitry Pavlov
              dpavlov Dmitry Pavlov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: