Skip to content

Commit

Permalink
memcached clusters - replicated - mcrouter config fix (#195)
Browse files Browse the repository at this point in the history
add gets command to replicated mcrouter config
  • Loading branch information
bazmurphy authored Apr 28, 2024
1 parent 6d7b124 commit a0e1e26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/memcached-clusters/replicated/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ services:
- memcached1:memcached1
- memcached2:memcached2
- memcached3:memcached3
command: mcrouter --config-str='{"pools":{"A":{"servers":["memcached1:11211", "memcached2:11211", "memcached3:11211"]}},"route":{"type":"OperationSelectorRoute","operation_policies":{"add":"AllFastestRoute|Pool|A","delete":"AllFastestRoute|Pool|A","get":"AllFastestRoute|Pool|A","set":"AllFastestRoute|Pool|A"}}}' -p 11211
command: mcrouter --config-str='{"pools":{"A":{"servers":["memcached1:11211", "memcached2:11211", "memcached3:11211"]}},"route":{"type":"OperationSelectorRoute","operation_policies":{"add":"AllFastestRoute|Pool|A","delete":"AllFastestRoute|Pool|A","get":"AllFastestRoute|Pool|A","gets":"AllFastestRoute|Pool|A","set":"AllFastestRoute|Pool|A"}}}' -p 11211
ports:
- 11211:11211

0 comments on commit a0e1e26

Please sign in to comment.