Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-284

Make Log::GetReadableLogSegments() take a log anchor automatically

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • M3
    • None
    • log
    • None

    Description

      It's currently a bit awkward to safely get the full list of log segments, because you first have to take a log anchor on the MinimumOpId(), then get the list of segments, and then re-anchor on the minimum OpId returned in the segments map. It would be more user friendly to just automatically pass a LogAnchor* to Log::GetReadableLogSegments() and have it anchor for you, but this requires a little plumbing so leaving as a TODO.

      Attachments

        Activity

          People

            mpercy Mike Percy
            mpercy Mike Percy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: