From 1d1bf7f032cd3d5d249c834b634fad91b4a8a4e6 Mon Sep 17 00:00:00 2001 From: antirez Date: Wed, 5 Sep 2018 19:58:25 +0200 Subject: [PATCH] Document that effects replication is Redis 5 default. --- 00-RELEASENOTES | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/00-RELEASENOTES b/00-RELEASENOTES index 6e37a1ce..dad2049e 100644 --- a/00-RELEASENOTES +++ b/00-RELEASENOTES @@ -1245,6 +1245,14 @@ non-backward compatible changes introduced in the 5.0 release: always idempotent. TLDR: the new behavior is much better for 99.999% of use cases, revert it if you really know what you are doing. +* Scripts are only replicated by their *effects* and not by sending EVAL/EVALSHA + to slaves or the AOF log itself. This is much better in the general case + and in the future we want to totally remove the other possiblity of propagating + scripts the old way (as EVAL). However you can still turn this back to the + default via the non-documented (if not here) Redis configuration directive + "lua-replicate-commands yes" or "DEBUG lua-always-replicate-commands 0". + However note that Redis 6 may completely remove such feature. + -------------------------------------------------------------------------------- Credits: For each release, a list of changes with the relative author is