当前位置:Gxlcms >
数据库问题 >
MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report e
MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report e
时间:2021-07-01 10:21:17
帮助过:37人阅读
instance is configured to report errors during writes
if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs
for details about the RDB error.
org.springframework.data.redis.RedisSystemException: Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes
if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs
for details about the RDB error.
at org.springframework.data.redis.connection.lettuce.LettuceExceptionConverter.convert(LettuceExceptionConverter.java:54
)
at org.springframework.data.redis.connection.lettuce.LettuceExceptionConverter.convert(LettuceExceptionConverter.java:52
)
at org.springframework.data.redis.connection.lettuce.LettuceExceptionConverter.convert(LettuceExceptionConverter.java:41
)
at org.springframework.data.redis.PassThroughExceptionTranslationStrategy.translate(PassThroughExceptionTranslationStrategy.java:44
)
at org.springframework.data.redis.FallbackExceptionTranslationStrategy.translate(FallbackExceptionTranslationStrategy.java:42
)
at org.springframework.data.redis.connection.lettuce.LettuceConnection.convertLettuceAccessException(LettuceConnection.java:257
)
at org.springframework.data.redis.connection.lettuce.LettuceHashCommands.convertLettuceAccessException(LettuceHashCommands.java:445
)
at org.springframework.data.redis.connection.lettuce.LettuceHashCommands.hSet(LettuceHashCommands.java:70
)
at org.springframework.data.redis.connection.DefaultedRedisConnection.hSet(DefaultedRedisConnection.java:827
)
at org.springframework.data.redis.connection.DefaultStringRedisConnection.hSet(DefaultStringRedisConnection.java:501
)
at org.springframework.data.redis.core.DefaultHashOperations.lambda$put$8(DefaultHashOperations.java:178
)
at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:224
)
at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:184
)
at org.springframework.data.redis.core.AbstractOperations.execute(AbstractOperations.java:95
)
at org.springframework.data.redis.core.DefaultHashOperations.put(DefaultHashOperations.java:177
)
at com.app.cache.RedisCacheUtils.hset(RedisCacheUtils.java:105
)
at com.app.user.config.ConsumerRedisListener.sendMessageToUser(ConsumerRedisListener.java:494
)
at com.app.user.config.ConsumerRedisListener.doBusiness(ConsumerRedisListener.java:108
)
at com.app.user.config.ConsumerRedisListener.onMessage(ConsumerRedisListener.java:81
)
at org.springframework.data.redis.listener.RedisMessageListenerContainer.executeListener(RedisMessageListenerContainer.java:250
)
at org.springframework.data.redis.listener.RedisMessageListenerContainer.processMessage(RedisMessageListenerContainer.java:240
)
at org.springframework.data.redis.listener.RedisMessageListenerContainer.lambda$dispatchMessage$0(RedisMessageListenerContainer.java:986
)
at java.lang.Thread.run(Thread.java:748
)
Caused by: io.lettuce.core.RedisCommandExecutionException: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes
if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs
for details about the RDB error.
at io.lettuce.core.protocol.AsyncCommand.completeResult(AsyncCommand.java:118
)
at io.lettuce.core.protocol.AsyncCommand.complete(AsyncCommand.java:109
)
at io.lettuce.core.protocol.CommandWrapper.complete(CommandWrapper.java:57
)
at io.lettuce.core.protocol.CommandHandler.complete(CommandHandler.java:598
)
at io.lettuce.core.protocol.CommandHandler.decode(CommandHandler.java:556
)
at io.lettuce.core.protocol.CommandHandler.channelRead(CommandHandler.java:508
)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362
)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348
)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340
)
at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86
)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362
)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348
)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340
)
at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86
)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362
)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348
)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340
)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1434
)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362
)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348
)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:965
)
at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:808
)
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:408
)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:308
)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884
)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30
)
... 1 common frames omitted
赶紧连接服务器看下问题,玛德,服务器都连不上,第一反应,服务器挂了,缓存挂了,解决方法:找运维重启服务器,重启缓存,ok,搞定。
MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report e
标签:cache container pipeline nta lin prot ESS bec process