V6 startup takes ~5 hours repeatedly due to VDR history processing after restart (ACI + Azure File Share)
Los mantenedores suelen responder en 1 día
@reinkrul ya está trabajando en esto.
Desde el 16/4/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Summary
Our Nuts Node v6.1.5 startup regularly takes about 5 hours after deployment/restart.
The delay appears during VDR migration/history processing and repeated VC processing from the network.
Environment
- Nuts Node version:
6.1.5 - Deployment: Azure Container Instance (ACI)
- Storage:
- SQL configured (
storage.sql.connectionis set) - BBolt data on mounted Azure File Share (
/opt/nuts/data)
- SQL configured (
- TLS:
tls.certfile,tls.certkeyfile,tls.truststorefileconfigured and readable
- Network:
- bootstrap node configured (
nuts.test.kikstarter.nl:5555) - node connects/discovers peers successfully
- bootstrap node configured (
Observed behavior
After deploy/restart, startup phase takes very long (~5 hours), especially around:
Migrating VDR- processing historical network/VDR data
- log pattern similar to
Processing VC received from Nuts Network
We also see:
Completed 0 migrationsfor SQL storage (so SQL schema migrations themselves are not the bottleneck)- gRPC starts and peer discovery works
Expected behavior
- Startup should complete in reasonable time
- VDR history/migration should not repeatedly take hours on normal restarts
- Idempotent migration should be fast after first successful completion
Relevant startup logs
time="2026-04-15T10:24:05Z" level=debug msg="Running database migrations..." module=Storage
time="2026-04-15T10:24:05Z" level=info msg="Completed 0 migrations" module=Storage
...
time="2026-04-15T10:25:07Z" level=debug msg="Migrating VDR" module=core
time="2026-04-15T10:25:07Z" level=info msg="Running did:nuts migration: 'remove controller'" module=VDR
time="2026-04-15T10:25:07Z" level=info msg="Running did:nuts migration: 'document history'" module=VDR
time="2026-04-15T10:25:07Z" level=info msg="Running did:nuts migration: 'add did:web to subject'" module=VDR
...
time="2026-04-15T10:25:07Z" level=debug msg="Starting gRPC server on :5555" module=Network
time="2026-04-15T10:25:07Z" level=info msg="gRPC server started on :5555" module=Network
time="2026-04-15T10:25:07Z" level=debug msg="Discovered Nuts node" did="did:nuts:..." module=Network nodeAddr="grpc.****.test.***-v-da*******tion.nl:443"
- Lenguaje dominante
- Go
- Estrellas
- 29
- Forks
- 24
- Merge medio
- 1 d 9 h
- PR fusionados (30 d)
- 48
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de nuts-foundation/nuts-node
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
nuts-foundation/nuts-node#4450 ·
Los mantenedores suelen responder en 1 día
-
bug discuss
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
nuts-foundation/nuts-node#4436 ·
Los mantenedores suelen responder en 1 día
-
auth bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
nuts-foundation/nuts-node#4435 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
nuts-foundation/nuts-node#4321 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
nuts-foundation/nuts-node#4230 ·
Los mantenedores suelen responder en 1 día
Todos los issues de nuts-foundation/nuts-node
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
adrianbrad/queue#92 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
agent-ready area:skills
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
jmbarzee/temporal-architect#444 ·
Los mantenedores suelen responder en 1 día
-
enhancement needs:sonnet ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día