Comments (3)
@ondrejbartas this error is occurred from redis, not redis-sentinel, could you try to connect to redis directly using sentinel config?
from redis-sentinel.
Hello,
Problem is that redis sentinel uses redis gem to connect to sentinel by host and port. After conmection is succesfully created it calls select 1 for selecting database. This is just bad config from my side. Redis sentinel can prevent it to happen by removing db property from hash. Ondrej
On Thu, Aug 29, 2013 at 2:35 PM, Richard Huang [email protected]
wrote:
@ondrejbartas this error is occurred from redis, not redis-sentinel, could you try to connect to redis directly using sentinel config?
Reply to this email directly or view it on GitHub:
#20 (comment)
from redis-sentinel.
@ondrejbartas I think it's good to raise error for bad config, so developer know the bad config exists
from redis-sentinel.
Related Issues (20)
- Version 1.3 HOT 2
- License missing from gemspec
- Stacktrace due to offline sentinel during reconnect HOT 3
- Subscribe to switch master message is necessary HOT 4
- Work with Redis sentinel 2.8.X HOT 7
- ERR Wrong number of commands for 'sentinel is-master-down-by-addr' (Redis::CommandError) HOT 3
- Use with Rails.config.cache_store? HOT 2
- Reconnects broken since 1.4 HOT 5
- Inconsistent failover when there is no failover timeout set
- No route to host - connect(2)
- Not possible to set db: ? HOT 2
- undefined method `values_at' for nil:NilClass HOT 4
- Handle +sentinel messages HOT 1
- Incorrect master name causes endless flood of connection attempts HOT 3
- Round robin to redis slaves HOT 1
- Add information that redis-sentinel should not be used with redis >= 3.2 HOT 3
- Failure to define :sentinels option results in error when calling 'slaves'
- Bubble up error so that I can kill my server if there is no redis sentinel connection
- Logging to syslog 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 redis-sentinel.