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

Simplify the code in LogSegment

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.4.0
    • server
    • None

    Description

      This is a followup on RATIS-625. This JIRE is to simplify the code in LogSegment:

      • LogRecordWithEntry can be removed.
      • hasEntryCache can be removed.
      • appendToOpenSegment should take only a single LogEntryProto parameter.

      Attachments

        1. r628_20190719.patch
          14 kB
          Tsz-wo Sze
        2. r628_20190724.patch
          15 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: