GWicke has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/192732

Change subject: Add a daily incremental repair job
......................................................................

Add a daily incremental repair job

Cassandra 2.1 adds a new incremental repair mode, which should make daily
repairs fairly fast. Lets see if the impact with -par is okay. If I understand
the docs right it sounds like it would be a win over repairing each node
sequentially, especially in combination with incremental repairs.

See the docs for background:
http://www.datastax.com/documentation/cassandra/2.1/cassandra/operations/ops_repair_nodes_c.html

Change-Id: Ifc5d3826229ca6aa7cfd9bd3a680e97c9abc05e4
---
M manifests/init.pp
1 file changed, 9 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet/cassandra 
refs/changes/32/192732/1

diff --git a/manifests/init.pp b/manifests/init.pp
index 683fdcb..b10ed96 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -346,6 +346,15 @@
         ensure => 'absent',
     }
 
+    # Cron for daily incremental repairs
+    # 
http://www.datastax.com/documentation/cassandra/2.1/cassandra/operations/ops_repair_nodes_c.html
+    cron { 'daily incremental repairs':
+        command => "/usr/bin/nodetool repair -par -inc",
+        user    => 'cassandra',
+        hour    => '04',
+        minute  => '45',
+    }
+
     service { 'cassandra':
         ensure     => 'running',
         enable     => true,

-- 
To view, visit https://gerrit.wikimedia.org/r/192732
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifc5d3826229ca6aa7cfd9bd3a680e97c9abc05e4
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet/cassandra
Gerrit-Branch: master
Gerrit-Owner: GWicke <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to