Skip to content

Conversation

nfm
Copy link

@nfm nfm commented Oct 20, 2015

Redis defines a number of different exception classes (see https://github.com/redis/redis-rb/blob/1bd43346cdf71ba69176612714616289a5a70ed4/lib/redis/errors.rb for details). When Redis raises an exception, we need to be able to have the db_failover configuration used, whether it's a failure to connect, a timeout, or an invalid command.

We ran into this issue when our Redis instance ran out of memory. In that case (and most others), Split should be able to handle things gracefully.

Redis defines a number of different exception classes (see
https://github.com/redis/redis-rb/blob/1bd43346cdf71ba69176612714616289a5a70ed4/lib/redis/errors.rb
for details). When Redis raises an exception, we need to be able to have
the db_failover configuration used, whether it's a failure to connect, a
timeout, or an invalid command.

We ran into this issue when our Redis instance ran out of memory. In
that case (and most others), Split should be able to handle things
gracefully.
@andrew
Copy link
Member

andrew commented Oct 20, 2015

Thanks @nfm, I'll get a new release out later today.

andrew added a commit that referenced this pull request Oct 20, 2015
Rescue from Redis::BaseError in #ab_test
@andrew andrew merged commit ffe35d6 into splitrb:master Oct 20, 2015
@nfm
Copy link
Author

nfm commented Oct 20, 2015

Thanks for the quick release @andrew 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants