Skip to content

Commit

Permalink
Enable Olric read repair (fluxninja#3062)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwapik authored Dec 18, 2023
1 parent 11a26f4 commit 0444bb6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ require (
)

replace (
github.com/buraksezer/olric => github.com/fluxninja/olric v0.5.4-fn.patch.12
github.com/buraksezer/olric => github.com/fluxninja/olric v0.5.4-fn.patch.15
github.com/fluxninja/aperture/api/v2 => ./api
github.com/jsonnet-bundler/jsonnet-bundler => github.com/fluxninja/jsonnet-bundler v0.5.1-fn.patch.1
github.com/open-telemetry/opentelemetry-collector-contrib/exporter/fileexporter => github.com/fluxninja/opentelemetry-collector-contrib/exporter/fileexporter v0.90.0-fn.patch.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,8 @@ github.com/fluxninja/jsonnet-bundler v0.5.1-fn.patch.1 h1:aZbbKMGqnRUQubdJS5tfoZ
github.com/fluxninja/jsonnet-bundler v0.5.1-fn.patch.1/go.mod h1:Qrdw/7mOFS2SKCOALKFfEH8gdvXJi8XZjw9g5ilpf4I=
github.com/fluxninja/lumberjack v0.0.0-20220729045908-655029e4d814 h1:AHC1PtYLUw9PWqmgB9VHcxzGEm1GDYGXzC1PRtgIqqs=
github.com/fluxninja/lumberjack v0.0.0-20220729045908-655029e4d814/go.mod h1:kARLh/xWGaisrwkOGOWKcqk7fagFUFthOTX7mIFVJlw=
github.com/fluxninja/olric v0.5.4-fn.patch.12 h1:Hx7kd8ath8N4tCJlId5uIW0H8QEnnOzqjRnupXxYyDs=
github.com/fluxninja/olric v0.5.4-fn.patch.12/go.mod h1:ndjlnRvJfFrE8eJlQNBJsDJa11tIsb5BXSfPmTi7qjE=
github.com/fluxninja/olric v0.5.4-fn.patch.15 h1:xPsbNHqZORv9gn9EQsWbYJR273EXbFiW07CWz4DdnUQ=
github.com/fluxninja/olric v0.5.4-fn.patch.15/go.mod h1:ndjlnRvJfFrE8eJlQNBJsDJa11tIsb5BXSfPmTi7qjE=
github.com/fluxninja/opentelemetry-collector v0.90.0-fn.patch.2 h1:rnn1nD9JDMD7EygV0pAVKi19HjC+SWio0h6ss4yjasA=
github.com/fluxninja/opentelemetry-collector v0.90.0-fn.patch.2/go.mod h1:w8gyH9neR4INnLmcILvIQI1f1XV5dAEIYYXA1BMM38Y=
github.com/fluxninja/opentelemetry-collector-contrib/exporter/fileexporter v0.90.0-fn.patch.1 h1:2JT05bz6InX8RU1iqMXNc0ZL9RyV5M3KX6c+0goCYP0=
Expand Down
2 changes: 1 addition & 1 deletion pkg/dist-cache/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (constructor DistCacheConstructor) ProvideDistCache(in DistCacheConstructor
oc.WriteQuorum = 1
oc.ReadQuorum = 1
oc.MemberCountQuorum = 1
oc.ReadRepair = false
oc.ReadRepair = true

oc.ReplicaCount = defaultConfig.ReplicaCount
if defaultConfig.SyncReplication {
Expand Down

0 comments on commit 0444bb6

Please sign in to comment.