Comments (3)
- You have also configured a password for the sentinel nodes. The password specified in the
shake.toml
will only be applied to the redis data nodes, as by default, it is assumed that the sentinel nodes do not have a password configured. You may need to modify the code for it to take effect, or alternatively, you can temporarily use the standalone writer instead of the sentinel writer. #806 - I suspect that dev-redis-ha.dev-redis-ha:6379 returned a read-only replica node. You can test this using redis-cli.
from redisshake.
Right we configured password for the sentinel, is that not the common practice?
Unfortunately I'm not very familiar with your code base and golang, could you please point me to a file where I should modify the code? [Edit] Figured it out by looking at the linked feature.
You're right, read-only replica was returned, I could try to check which node is the master before running RedisShake...
Can RedisShake handle failover scenario if connected to Sentinel? [Edit] After looking at the linked feature seems like it doesn't.
from redisshake.
Thank you for your help. I modified the code and now it works. We set sentinel password and master password to be the same. Not sure if this is common practice. In case it is, I can submit it as feature.
from redisshake.
Related Issues (20)
- 自建Redis与云Redis同步异常 HOT 2
- RedisShake 3.1.11 从4.0.11同步到6.0.14,key数量对不上 HOT 2
- RedisShake 4.x支持断点续传吗 HOT 2
- 使用redis-shake做增量数据同步的时候,有很多warn的信息,我不确认会不会因为这些问题导致我数据不一致 HOT 2
- 同步数据较慢 HOT 3
- 通过nat转换进行同步报 i/o timeout HOT 1
- scan_reader模式不能直接同步增量? HOT 3
- can_reader模式同步过程中报:ERR unexpected EOF HOT 1
- redis6同步支持 HOT 1
- 4.05版本使用sync_reader模式连接阿里云Redis集群版直连地址报错 HOT 15
- RedisShake 4.x 初次单机迁移到集群Key丢失以及scan数量与keyspace数量差异问题 HOT 6
- 最新的4.10版本,设置了scan = false不起作用 HOT 3
- ERR The ID specified in XADD is equal or smaller than the target stream top item HOT 8
- sync_rdb设为false之后依然拉取全量rdb文件发给slave HOT 4
- 使用codis->的时候少key HOT 1
- scan_reader模式下,如何降低对源端的压力 HOT 3
- scan_reader模式下,无法同步被删除的key HOT 1
- SCAN_READER模式下,设置prefer_replica = true报错
- 同步过程中经常遇到 “ERR write tcp xxxx>xxxx : write:broken pipe” HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redisshake.