(error) MISCONF redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about
因为再使用redis的过程中,开发A设置了 name-"zhaojun" 开发B设置了name-"zk",这就造成了A,B 一个人的数据丢失,会存在key 的冲突,冲突了又只有在获取的时候才知道,这种问题还再排查一遍.为了避免这种情况,我们在key的前面就上两层的字符串,避免key的重复,同时对key的存在时间进行一层封装.具体看代码: 1.接口的封装 public interface K