Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-7237

Optimize batchlog manager to avoid full scans

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 3.0 beta 1
    • None
    • None

    Description

      Now that we use time-UUIDs for batchlog ids, and given that w/ local strategy the partitions are ordered in time-order here, we can optimize the scanning by limiting the range to replay taking the last replayed batch's id as the beginning of the range, and uuid(now+timeout) as its end.

      Attachments

        Issue Links

          Activity

            People

              blambov Branimir Lambov
              aleksey Aleksey Yeschenko
              Branimir Lambov
              Aleksey Yeschenko
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: