Jimdo / prometheus_client_php

Prometheus instrumentation library for PHP applications
https://prometheus.io/docs/concepts/metric_types/
Apache License 2.0
281 stars 213 forks source link

CROSSSLOT Keys in request don't hash to the same slot #110

Open garoose opened 5 years ago

garoose commented 5 years ago

When using a Redis cluster that hashes keys to select a node, each key involved in an eval must hash to the same node. Specifying a prefix surrounded by {} should be sufficient to ensure all the keys hash to the same place, but the eval scripts in the Redis adapter inappropriately specify more than the 2 actual keys as KEYS.