From 7118f47136e23338e49449ba9992c2cbbbf56770 Mon Sep 17 00:00:00 2001 From: Raj Reddy Date: Tue, 17 May 2016 14:51:01 -0700 Subject: [PATCH] Closes-Bug: #1582835 with the current compaction throughput we have seen the pending compaction tasks increases significantly, hence increaseing the compaction throughput to 96MBps in provisioning. (cherry picked from commit 72c167f58109cc4b14c888022c6359509104be56) Conflicts: contrail_provisioning/database/setup.py Change-Id: I5163d3e33f16156daff81689bcc6f29d759a35a9 --- contrail_provisioning/database/setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/contrail_provisioning/database/setup.py b/contrail_provisioning/database/setup.py index 0935501e..73bc3755 100755 --- a/contrail_provisioning/database/setup.py +++ b/contrail_provisioning/database/setup.py @@ -105,6 +105,7 @@ def fixup_cassandra_config_files(self): self.replace_in_file(conf_file, 'rpc_address: ', 'rpc_address: ' + listen_ip) self.replace_in_file(conf_file, '# num_tokens: 256', 'num_tokens: 256') self.replace_in_file(conf_file, 'initial_token:', '# initial_token:') + self.replace_in_file(conf_file, 'compaction_throughput_mb_per_sec: 16', 'compaction_throughput_mb_per_sec: 96') if self._args.cassandra_user is not None: self.replace_in_file(conf_file,'authenticator: AllowAllAuthenticator','authenticator: PasswordAuthenticator') if data_dir: