From: antirez Date: Tue, 20 Mar 2012 16:32:48 +0000 (+0100) Subject: Support for read-only slaves. Semantical fixes. X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/f3fd419fc95e78818f9eeef15eb2d2e5a60bfbbb?ds=sidebyside;hp=f3fd419fc95e78818f9eeef15eb2d2e5a60bfbbb Support for read-only slaves. Semantical fixes. This commit introduces support for read only slaves via redis.conf and CONFIG GET/SET commands. Also various semantical fixes are implemented here: 1) MULTI/EXEC with only read commands now work where the server is into a state where writes (or commands increasing memory usage) are not allowed. Before this patch everything inside a transaction would fail in this conditions. 2) Scripts just calling read-only commands will work against read only slaves, when the server is out of memory, or when persistence is into an error condition. Before the patch EVAL always failed in this condition. ---