This is an automated email from the ASF dual-hosted git repository.
brandonwilliams pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-dtest.git
The following commit(s) were added to refs/heads/trunk by this push:
new da9a8ba Disable autocompaction during snapshot test
da9a8ba is described below
commit da9a8ba4bf86a1d833b12f52b6a38f89cc77bcc4
Author: Brandon Williams <[email protected]>
AuthorDate: Tue Feb 23 17:25:51 2021 -0600
Disable autocompaction during snapshot test
Patch by brandonwilliams; reviewed by mck for CASSANDRA-16441
---
snapshot_test.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/snapshot_test.py b/snapshot_test.py
index 6da49da..7110fa7 100644
--- a/snapshot_test.py
+++ b/snapshot_test.py
@@ -33,6 +33,7 @@ class SnapshotTester(Tester):
def make_snapshot(self, node, ks, cf, name):
logger.debug("Making snapshot....")
+ node.nodetool('disableautocompaction')
node.flush()
snapshot_cmd = 'snapshot {ks} -cf {cf} -t {name}'.format(ks=ks, cf=cf,
name=name)
logger.debug("Running snapshot cmd:
{snapshot_cmd}".format(snapshot_cmd=snapshot_cmd))
@@ -200,6 +201,7 @@ class TestArchiveCommitlog(SnapshotTester):
def make_snapshot(self, node, ks, cf, name):
logger.debug("Making snapshot....")
+ node.nodetool('disableautocompaction')
node.flush()
snapshot_cmd = 'snapshot {ks} -cf {cf} -t {name}'.format(ks=ks, cf=cf,
name=name)
logger.debug("Running snapshot cmd:
{snapshot_cmd}".format(snapshot_cmd=snapshot_cmd))
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]