Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-1931 Support Zero-Copy in ratis-grpc
  3. RATIS-1964

Avoid Ratis internal data from referring to external input protobuf data source

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.1
    • None
    • None

    Description

      Cached Raft IDs, such asRaftPeerId or RaftGroupId, now refer to original ByteStrings in the input protobuf data. That is not zero-copy friendly, as these original ByteString may be released.

      Similarly, CommitInfoCache also keeps CommitInfo proto objects from original input data.

      Attachments

        Issue Links

          Activity

            People

              duongnguyen Duong
              duongnguyen Duong
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h