rails_failover 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +2 -2
- data/lib/rails_failover/redis/connector.rb +1 -1
- data/lib/rails_failover/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dd1e8f697f988b96e0c149599da43cd69946dd19b06cbe8be89727f6d0775776
|
|
4
|
+
data.tar.gz: 1119bda19483587f9dc3a7c3a41017b30d66f266342c7e818d1fe9e16a14c997
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4a1f151de2cb49d0728d01de7e62b569f80a025e21401b083a5662e8f967b29c1a6df8b283f02da047b5ce39c190363768b892144d6c28e9dffc2aad2c69d26f
|
|
7
|
+
data.tar.gz: 9b48b8054f3ae13ec473b7a0869bdbb09ff7f05c6149e9602d1cd2c131383b0be3701ee607aeac2d5cd013e5a59f187a009799e948c4e9bcb7598763ef8932d6
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.6.1] - 2020-11-19
|
|
10
|
+
|
|
11
|
+
- FIX: Recover correctly if both the primary and replica go offline
|
|
12
|
+
|
|
13
|
+
Previously, a replica failing would cause it to be added to the 'primaries_down' list. The fallback handler would then continuously try and fallback the replica to itself, looping forever, and meaning that fallback to primary would never happen.
|
|
14
|
+
|
|
9
15
|
## [0.6.0] - 2020-11-09
|
|
10
16
|
- FEATURE: Run failover/fallback callbacks once for each backend
|
|
11
17
|
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
rails_failover (0.6.
|
|
4
|
+
rails_failover (0.6.1)
|
|
5
5
|
activerecord (~> 6.0)
|
|
6
6
|
railties (~> 6.0)
|
|
7
7
|
|
|
@@ -38,7 +38,7 @@ GEM
|
|
|
38
38
|
concurrent-ruby (1.1.6)
|
|
39
39
|
crass (1.0.6)
|
|
40
40
|
diff-lcs (1.3)
|
|
41
|
-
erubi (1.
|
|
41
|
+
erubi (1.10.0)
|
|
42
42
|
i18n (1.8.2)
|
|
43
43
|
concurrent-ruby (~> 1.0)
|
|
44
44
|
loofah (2.7.0)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails_failover
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alan Tan
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-11-
|
|
11
|
+
date: 2020-11-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|