diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/config-schema.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/config-schema.yaml b/docs/config-schema.yaml index 2f5ef0c6da5d..437ee899c6e8 100644 --- a/docs/config-schema.yaml +++ b/docs/config-schema.yaml @@ -2487,6 +2487,14 @@ config-schema: key hashing. This helps mitigate MySQL bugs 61735 and 61736. - writeBatchSize: Default maximum number of rows to change in each query for write operations that can be chunked into a set of smaller writes. + - dataRedundancy: When set to a number higher than one, instead of sharding values, + it writes to that many servers (out of all servers) and reads from all of them too. + In case of inconsistency between servers, it picks the value with the highest exptime. + Mostly useful for stronger consistency such as mainstash. + This option has many limitations (for example when TTL is set to indef or changes) + and it shouldn't be used to handle race conditions nor canonical data. + The main point of data redundancy is to allow depool of a cluster for maintenance + without displacing too many keys. For MemcachedPhpBagOStuff parameters see {@link MemcachedPhpBagOStuff::__construct} For MemcachedPeclBagOStuff parameters see {@link MemcachedPeclBagOStuff::__construct} For RedisBagOStuff parameters see {@link Wikimedia\ObjectCache\RedisBagOStuff::__construct} |