Error: error READONLY You can not write against a read only slave when connected using java api redis clusters.

报错: READONLY You can’t write against a read only slave.

The reason given:

Because the connection is from the node, the node from only read access, no write permissions

solution:

Redis.conf into the configuration file, modify the slave-read-only configuration file is no, then it may write operations from the node, the code is not being given
--------------- -
Disclaimer: this article is the "wind cll ancient city" CSDN bloggers original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/weixin_42458708/article/details/100027055

Guess you like

Origin www.cnblogs.com/telwanggs/p/11511511.html