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

Make BatchlogManagerMBean.forceBatchlogReplay() blocking

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 2.2.11
    • Component/s: Legacy/Coordination
    • Labels:
      None

      Description

      In 3.0, BatchlogManagerMBean.forceBatchlogReplay() blocks until completion. In 2.2 it just submits a runnable and instaexits, which makes it impossible to create non-flaky dtests that rely on batchlog replay.

      here is a small 2.2-only commit that make the behaviour consistent between 2.2 and 3.0.

        Attachments

          Activity

            People

            • Assignee:
              aleksey Aleksey Yeschenko
              Reporter:
              aleksey Aleksey Yeschenko
              Authors:
              Aleksey Yeschenko
              Reviewers:
              Jeff Jirsa
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: