GWicke has uploaded a new change for review.
https://gerrit.wikimedia.org/r/195483
Change subject: WIP: Don't include a node in its own seeds
......................................................................
WIP: Don't include a node in its own seeds
Bug: T91617
Change-Id: Iaa3bbf07b6053e139dc9483f849f6d4acba1418b
---
M templates/cassandra.yaml.erb
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet/cassandra
refs/changes/83/195483/1
diff --git a/templates/cassandra.yaml.erb b/templates/cassandra.yaml.erb
index b5ce977..b383744 100644
--- a/templates/cassandra.yaml.erb
+++ b/templates/cassandra.yaml.erb
@@ -262,7 +262,7 @@
parameters:
# seeds is actually a comma-delimited list of addresses.
# Ex: "<ip1>,<ip2>,<ip3>"
- - seeds: <%= Array(@seeds).join(',') %>
+ - seeds: <%= Array(@seeds).select{ |x| x != @hostname }.join(',') %>
# For workloads with more data than can fit in memory, Cassandra's
# bottleneck will be reads that need to fetch data from
--
To view, visit https://gerrit.wikimedia.org/r/195483
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaa3bbf07b6053e139dc9483f849f6d4acba1418b
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