Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-69 Improvement on Segmented Log and its cache
  3. RATIS-70

Separate term/index/offset and log entry content in LogSegment

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.1.0-alpha
    • None
    • None

    Description

      The current RaftLogCache consists of LogSegment, and logSegment consists of log entries. Instead of directly storing all the log entries, we should separate the term/index/offset information and the entry content information. The former part is more like the index information and can be always kept in the memory. The entry content part can later be evicted from the memory based on eviction policies.

      Attachments

        1. RATIS-70.000.patch
          49 kB
          Jing Zhao
        2. RATIS-70.001.patch
          65 kB
          Jing Zhao
        3. RATIS-70.002.patch
          70 kB
          Jing Zhao

        Activity

          People

            jingzhao Jing Zhao
            jingzhao Jing Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: