You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jyothsna Konisa (Jira)" <ji...@apache.org> on 2021/09/17 18:13:00 UTC

[jira] [Created] (CASSANDRA-16967) Probabilistic diff to sample partitions for diff testing based on probability.

Jyothsna Konisa created CASSANDRA-16967:
-------------------------------------------

             Summary: Probabilistic diff to sample partitions for diff testing based on probability.
                 Key: CASSANDRA-16967
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16967
             Project: Cassandra
          Issue Type: New Feature
            Reporter: Jyothsna Konisa
            Assignee: Jyothsna Konisa


Probabilistic diff allows us to sample partitions randomly while running diff tests. It takes new config parameter `partition_sampling_probability ` that ranges between (0-1) and samples partitions based on this probability. The default value for this config property is 1 which means that all the partitions will be diffed. The partitions that are selected are also based on the JobId, for a given sampling probability and JobId we always diff on same partitions.This helps in reproducing any issues that one might run into. Probabilistic diff allows us to run diff jobs on large clusters by sampling some partitions.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org