Skip to content

Commit eef688d

Browse files
reinkrulclaude
andauthored
Fix node startup failure when syncing on slow disk (v5.4) (#4170)
* Fix node startup failure when syncing on slow disk, update go-stoabs to v1.11.1 Updates go-stoabs from v1.9.0 to v1.11.1, which removes an unnecessary Go-level read lock from the BBolt wrapper. The read lock caused reader starvation (context deadline exceeded) when a write transaction was pending, preventing network notifiers from starting on nodes with slow disk I/O (e.g. SMB/Azure Files volume mounts). Fixes #4162 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * go mod tidy * Fix Redis sentinel test: use ErrorContains for go-redis v9.12.1 compatibility --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent a5c362a commit eef688d

4 files changed

Lines changed: 45 additions & 135 deletions

File tree

docs/pages/release_notes.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
Release notes
44
#############
55

6+
*************************
7+
Hazelnut update (v5.4.29)
8+
*************************
9+
10+
Release date: 2026-04-10
11+
12+
- Fix node failing to start when syncing many transactions on a slow disk (e.g. SMB/Azure Files): concurrent read transactions were incorrectly blocked by pending write transactions at the Go level, causing read lock timeouts during startup. See `#4162 <https://github.com/nuts-foundation/nuts-node/issues/4162>`_.
13+
14+
**Full Changelog**: https://github.com/nuts-foundation/nuts-node/compare/v5.4.28...v5.4.29
15+
616
*************************
717
Hazelnut update (v5.4.28)
818
*************************

go.mod

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module github.com/nuts-foundation/nuts-node
55
go 1.26.1
66

77
require (
8-
github.com/alicebob/miniredis/v2 v2.33.0
8+
github.com/alicebob/miniredis/v2 v2.34.0
99
github.com/avast/retry-go/v4 v4.6.0
1010
github.com/cbroglie/mustache v1.4.0
1111
github.com/chromedp/chromedp v0.13.0
@@ -25,22 +25,22 @@ require (
2525
github.com/nuts-foundation/crypto-ecies v0.0.0-20211207143025-5b84f9efce2b
2626
github.com/nuts-foundation/go-did v0.5.1
2727
github.com/nuts-foundation/go-leia/v4 v4.3.0
28-
github.com/nuts-foundation/go-stoabs v1.9.0
28+
github.com/nuts-foundation/go-stoabs v1.11.1
2929
github.com/piprate/json-gold v0.8.0
3030
github.com/privacybydesign/irmago v0.17.1
3131
github.com/prometheus/client_golang v1.19.1
3232
github.com/prometheus/client_model v0.6.1
33-
github.com/redis/go-redis/v9 v9.7.3
33+
github.com/redis/go-redis/v9 v9.12.1
3434
github.com/shengdoushi/base58 v1.0.0
3535
github.com/sirupsen/logrus v1.9.3
3636
github.com/spf13/cobra v1.8.1
3737
github.com/spf13/pflag v1.0.6
38-
github.com/stretchr/testify v1.10.0
38+
github.com/stretchr/testify v1.11.1
3939
github.com/twmb/murmur3 v1.1.8
4040
go.etcd.io/bbolt v1.4.3
4141
go.uber.org/atomic v1.11.0
4242
go.uber.org/goleak v1.3.0
43-
go.uber.org/mock v0.4.0
43+
go.uber.org/mock v0.5.2
4444
golang.org/x/crypto v0.49.0
4545
golang.org/x/time v0.15.0
4646
google.golang.org/grpc v1.79.3
@@ -57,7 +57,7 @@ require (
5757
github.com/Joker/jade v1.1.3 // indirect
5858
github.com/Shopify/goreferrer v0.0.0-20220729165902-8cddb4f5de06 // indirect
5959
github.com/alexandrevicenzi/go-sse v1.6.0 // indirect
60-
github.com/alicebob/gopher-json v0.0.0-20200520072559-a9ecdc9d1d3a // indirect
60+
github.com/alicebob/gopher-json v0.0.0-20230218143504-906a9b012302 // indirect
6161
github.com/andybalholm/brotli v1.0.5 // indirect
6262
github.com/antithesishq/antithesis-sdk-go v0.6.0-default-no-op // indirect
6363
github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect
@@ -98,7 +98,7 @@ require (
9898
github.com/go-playground/universal-translator v0.18.1 // indirect
9999
github.com/go-playground/validator/v10 v10.14.1 // indirect
100100
github.com/go-redis/redis/v8 v8.11.5 // indirect
101-
github.com/go-redsync/redsync/v4 v4.8.2 // indirect
101+
github.com/go-redsync/redsync/v4 v4.13.0 // indirect
102102
github.com/go-sql-driver/mysql v1.7.1 // indirect
103103
github.com/gobwas/httphead v0.1.0 // indirect
104104
github.com/gobwas/pool v0.2.1 // indirect

0 commit comments

Comments
 (0)