overleaf/libraries/redis-wrapper
Jakob Ackermann a53eef5e3d [healthCheck] bring back support for redis cluster
Assume `cluster-require-full-coverage=yes` is set for the redis cluster,
 which is the default value.

We are writing into a single hash slot, resulting in a partial health
 check only.
The 'cluster-require-full-coverage=yes' blocks writes as soon as any
 hash slot is not covered by an active primary.
We are leveraging the health check build into the redis cluster topology
 to bring the scope of the single read/write/delete to the full cluster.

REF: 1b3566d6c830289dc826da1d13b75d68205d8dec
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
2020-11-09 16:02:29 +00:00
..
.gitignore v1 of the redis driver wrapper 2014-09-25 17:33:27 +01:00
Gruntfile.coffee v1 of the redis driver wrapper 2014-09-25 17:33:27 +01:00
health.coffee make health check more robust 2019-09-19 15:05:32 +01:00
index.coffee [healthCheck] bring back support for redis cluster 2020-11-09 16:02:29 +00:00
index.js Add javascript wrapper so it can be loaded directly 2014-11-07 15:02:45 +00:00
package.json [misc] drop support for redis-sentinel 2020-11-09 15:59:28 +00:00
Readme.md added readme 2014-09-29 12:00:03 +01:00
test.coffee [misc] drop references for 'redis' package from unit tests 2020-11-09 16:02:25 +00:00