Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

switch default policy to tokenaware,hostpool-epsilon-greedy + typo #374

Merged
merged 1 commit into from
Nov 9, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ cassandra-consistency = one
# roundrobin : iterate all hosts, spreading queries evenly.
# hostpool-simple : basic pool that tracks which hosts are up and which are not.
# hostpool-epsilon-greedy : prefer best hosts, but regularly try other hosts to stay on top of all hosts.
# tokenaware,roundrobin : prefer host that the needed data, fallback to roundrobin.
# tokenaware,hostpool-simple : prefer host that the needed data, fallback to hostpool-simple.
# tokenaware,hostpool-epsilon-greedy : prefer host that the needed data, fallback to hostpool-epsilon-greedy.
cassandra-host-selection-policy = roundrobin
# tokenaware,roundrobin : prefer host that has the needed data, fallback to roundrobin.
# tokenaware,hostpool-simple : prefer host that has the needed data, fallback to hostpool-simple.
# tokenaware,hostpool-epsilon-greedy : prefer host that has the needed data, fallback to hostpool-epsilon-greedy.
cassandra-host-selection-policy = tokenaware,hostpool-epsilon-greedy
# cassandra timeout in milliseconds
cassandra-timeout = 1000
# max number of concurrent reads to cassandra
Expand Down
8 changes: 4 additions & 4 deletions metrictank-sample.ini
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ cassandra-consistency = one
# roundrobin : iterate all hosts, spreading queries evenly.
# hostpool-simple : basic pool that tracks which hosts are up and which are not.
# hostpool-epsilon-greedy : prefer best hosts, but regularly try other hosts to stay on top of all hosts.
# tokenaware,roundrobin : prefer host that the needed data, fallback to roundrobin.
# tokenaware,hostpool-simple : prefer host that the needed data, fallback to hostpool-simple.
# tokenaware,hostpool-epsilon-greedy : prefer host that the needed data, fallback to hostpool-epsilon-greedy.
cassandra-host-selection-policy = roundrobin
# tokenaware,roundrobin : prefer host that has the needed data, fallback to roundrobin.
# tokenaware,hostpool-simple : prefer host that has the needed data, fallback to hostpool-simple.
# tokenaware,hostpool-epsilon-greedy : prefer host that has the needed data, fallback to hostpool-epsilon-greedy.
cassandra-host-selection-policy = tokenaware,hostpool-epsilon-greedy
# cassandra timeout in milliseconds
cassandra-timeout = 1000
# max number of concurrent reads to cassandra
Expand Down
8 changes: 4 additions & 4 deletions scripts/config/metrictank-docker.ini
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ cassandra-consistency = one
# roundrobin : iterate all hosts, spreading queries evenly.
# hostpool-simple : basic pool that tracks which hosts are up and which are not.
# hostpool-epsilon-greedy : prefer best hosts, but regularly try other hosts to stay on top of all hosts.
# tokenaware,roundrobin : prefer host that the needed data, fallback to roundrobin.
# tokenaware,hostpool-simple : prefer host that the needed data, fallback to hostpool-simple.
# tokenaware,hostpool-epsilon-greedy : prefer host that the needed data, fallback to hostpool-epsilon-greedy.
cassandra-host-selection-policy = roundrobin
# tokenaware,roundrobin : prefer host that has the needed data, fallback to roundrobin.
# tokenaware,hostpool-simple : prefer host that has the needed data, fallback to hostpool-simple.
# tokenaware,hostpool-epsilon-greedy : prefer host that has the needed data, fallback to hostpool-epsilon-greedy.
cassandra-host-selection-policy = tokenaware,hostpool-epsilon-greedy
# cassandra timeout in milliseconds
cassandra-timeout = 1000
# max number of concurrent reads to cassandra
Expand Down
8 changes: 4 additions & 4 deletions scripts/config/metrictank-package.ini
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ cassandra-consistency = one
# roundrobin : iterate all hosts, spreading queries evenly.
# hostpool-simple : basic pool that tracks which hosts are up and which are not.
# hostpool-epsilon-greedy : prefer best hosts, but regularly try other hosts to stay on top of all hosts.
# tokenaware,roundrobin : prefer host that the needed data, fallback to roundrobin.
# tokenaware,hostpool-simple : prefer host that the needed data, fallback to hostpool-simple.
# tokenaware,hostpool-epsilon-greedy : prefer host that the needed data, fallback to hostpool-epsilon-greedy.
cassandra-host-selection-policy = roundrobin
# tokenaware,roundrobin : prefer host that has the needed data, fallback to roundrobin.
# tokenaware,hostpool-simple : prefer host that has the needed data, fallback to hostpool-simple.
# tokenaware,hostpool-epsilon-greedy : prefer host that has the needed data, fallback to hostpool-epsilon-greedy.
cassandra-host-selection-policy = tokenaware,hostpool-epsilon-greedy
# cassandra timeout in milliseconds
cassandra-timeout = 1000
# max number of concurrent reads to cassandra
Expand Down