From ab81b36a4b1a4981cc4f2b987e7394afe9479115 Mon Sep 17 00:00:00 2001 From: vinllen Date: Thu, 11 Jul 2019 15:02:59 +0800 Subject: [PATCH] polish conf --- conf/redis-shake.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/conf/redis-shake.conf b/conf/redis-shake.conf index 9b2fecf..0667c63 100644 --- a/conf/redis-shake.conf +++ b/conf/redis-shake.conf @@ -103,15 +103,17 @@ fake_time = # 当源目的有重复key,是否进行覆写 rewrite = true -# filter db or key or slot -# choose these db, e.g., 5, only choose db5. defalut is all. +# filter db, key, slot, lua. +# filter db. # used in `restore`, `sync` and `rump`. # e.g., "0;5;10" means match db0, db5 and db10. # at most one of `filter.db.whitelist` and `filter.db.blacklist` parameters can be given. # if the filter.db.whitelist is not empty, the given db list will be passed while others filtered. # if the filter.db.blacklist is not empty, the given db list will be filtered while others passed. # all dbs will be passed if no condition given. +# 指定的db被通过,比如0;5;10将会使db0, db5, db10通过, 其他的被过滤 filter.db.whitelist = +# 指定的db被过滤,比如0;5;10将会使db0, db5, db10过滤,其他的被通过 filter.db.blacklist = # filter key with prefix string. multiple keys are separated by ';'. # e.g., "abc;bzz" match let "abc", "abc1", "abcxxx", "bzz" and "bzzwww".