Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-15581 4.0 quality testing: Compaction
  3. CASSANDRA-16345

Test SSTables are in the correct location after range movement with 1/5/20 data directories

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 4.0-beta5, 4.0
    • Component/s: Test/benchmark
    • Labels:
      None
    • Change Category:
      Quality Assurance
    • Complexity:
      Normal
    • Platform:
      All
    • Impacts:
      None
    • Source Control Link:

      none

    • Test and Documentation Plan:
      Hide

      Test Plan

      1. Create 4 nodes cluster and create keyspace with RF == 3
      2. Run data prepopulation
      3. Run steady state load for X seconds as Phase 1.
      4. Trigger token move and wait for completion
      5. Let the traffic continue for Y seconds, then trigger relocatesstable and wait for completion
      6. Let the traffic continue for Z seconds, then trigger relocatesstable again.

      The expectation is that the second relocatesstable should be a no-op.

      The workload used in the test was generated from tlp-stress.

      Steady state load Read : Write : Delete == 5 : 4 : 1, and the QPS was kept at 3K/s.

      Show
      Test Plan Create 4 nodes cluster and create keyspace with RF == 3 Run data prepopulation Run steady state load for X seconds as Phase 1. Trigger token move and wait for completion Let the traffic continue for Y seconds, then trigger relocatesstable and wait for completion Let the traffic continue for Z seconds, then trigger relocatesstable again. The expectation is that the second relocatesstable should be a no-op. The workload used in the test was generated from tlp-stress. Steady state load Read : Write : Delete == 5 : 4 : 1, and the QPS was kept at 3K/s.

      Description

      The testing cluster should be pre-populated with ~200GB data in each node. Change the token ranges and verify that each data directory only contains SSTables belongs to it. In other word, no SSTables are relocated by running nodetool "relocatesstables". Both LCS and STCS need to be covered.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yifanc Yifan Cai
                Reporter:
                yifanc Yifan Cai
                Authors:
                Yifan Cai
                Reviewers:
                Marcus Eriksson
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: