backups not possible when node is only
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- aws, javascript, node.js
Direzione di ricerca
Inizia riproducendo il fallimento del ripristino dello snapshot AWS e leggendo ocore/storage.js intorno alla riga 1685, insieme alle voci dello stack di kvstore.js e levelup mostrate nel report. Traccia il modo in cui il database ripristinato gestisce l’unità mancante e considera completata l’issue quando un node riavviato da un backup completo automatico non fallisce più con un missing-unit error.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
To be able to recover a full node fast and easy, if would be nice to allow full backups in an automatic way: Creating disc snapshots instead of application / database backups.
I tried this on AWS with automated backups , which creates backups while the vm is running.
Trying to relaunch the node from such a backup leads to the following errors
Error: unit not found: RWxLmESDr7........B1nFk/ljbKQ=
at Object.ifNotFound (/home/obyte/obyte-hub/node_modules/ocore/storage.js:1685:13)
at /home/obyte/obyte-hub/node_modules/ocore/storage.js:54:21
at /home/obyte/obyte-hub/node_modules/ocore/kvstore.js:30:13
at /home/obyte/obyte-hub/node_modules/levelup/lib/levelup.js:164:14
at /home/obyte/obyte-hub/node_modules/encoding-down/index.js:51:21
(node:3467) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 ready listeners added. Use emitter.setMaxListeners() to increase limit
/home/obyte/obyte-hub/node_modules/ocore/storage.js:1685
throw Error("unit not found: "+row.unit);
Probably the obyte core is not able to deal with small database inconsistencies?
- Lingua principale
- JavaScript
- Stelle
- 149
- Fork
- 120
- Merge medio
- 2h 5m
- PR unite (30g)
- 1
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di byteball/ocore
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
Introduce health checkAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
-
Introduce logging frameworkAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Tutte le issue di byteball/ocore
Issue simili
-
xsd:integer cast from a string rejects negative numbers, a leading + and surrounding whitespaceApertabug 🐛
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
comunica/comunica#1960 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Waiting for: Product Owner
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
getsentry/sentry-javascript#26203 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
bytedance/flowgram.ai#1235 ·
I maintainer di solito rispondono entro 1 giorno