Closed gmesika-coti closed 3 years ago
Post fix log will show (new error information marked in bold):
2021-09-30 17:49:12.985 INFO 26268 --- [FullNode Main] i.c.b.s.BaseNodeDBRecoveryService : Starting DB restore flow 2021-09-30 17:49:12.988 ERROR 26268 --- [FullNode Main] i.c.b.s.BaseNodeDBRecoveryService : Error while trying to restore DB from Remote:io.coti.basenode.exceptions.DataBaseRestoreException: Restore node is either not existing or not active in Coti Network. 2021-09-30 17:49:12.989 INFO 26268 --- [FullNode Main] i.c.b.s.BaseNodeDBRecoveryService : Trying to restore from local: 2021-09-30 17:49:12.989 INFO 26268 --- [FullNode Main] i.c.b.database.BaseNodeRocksDBConnector : Starting database restore from /opt/coti-node-resources/FullNoderocksDB/backups/local 2021-09-30 17:49:12.990 INFO 26268 --- [FullNode Main] i.c.b.database.BaseNodeRocksDBConnector : Closing RocksDB 2021-09-30 17:49:12.991 INFO 26268 --- [FullNode Main] i.c.b.database.BaseNodeRocksDBConnector : RocksDB closed 2021-09-30 17:49:12.992 ERROR 26268 --- [FullNode Main] i.c.f.services.InitializationService : Errors at InitializationService 2021-09-30 17:49:12.992 ERROR 26268 --- [FullNode Main] i.c.b.exceptions.CotiRunTimeException : io.coti.basenode.exceptions.DataBaseRecoveryException : 2021-09-30 17:49:12.993 ERROR 26268 --- [FullNode Main] i.c.b.exceptions.CotiRunTimeException : Recovery service init error. 2021-09-30 17:49:12.993 ERROR 26268 --- [FullNode Main] i.c.b.exceptions.CotiRunTimeException : Restore database error. 2021-09-30 17:49:12.993 ERROR 26268 --- [FullNode Main] i.c.b.exceptions.CotiRunTimeException : Cause: io.coti.basenode.exceptions.DataBaseException: Failed to restore database 2021-09-30 17:49:13.001 INFO 26268 --- [localhost-startStop-1] io.coti.basenode.filters.AdminFilter : Shut down AdminFilter
Fix; 94268bb8 gmesika-coti guy@coti.io on 30/09/2021 at 21:05
upon trying to restore remote database, the restore process fails as following:
2021-09-30 17:37:57.788 INFO 25646 --- [FullNode Main] i.c.b.s.BaseNodeDBRecoveryService : Starting DB restore flow 2021-09-30 17:37:57.792 INFO 25646 --- [FullNode Main] i.c.b.database.BaseNodeRocksDBConnector : Starting database restore from /opt/coti-node-resources/FullNoderocksDB/backups/local 2021-09-30 17:37:57.793 INFO 25646 --- [FullNode Main] i.c.b.database.BaseNodeRocksDBConnector : Closing RocksDB 2021-09-30 17:37:57.794 INFO 25646 --- [FullNode Main] i.c.b.database.BaseNodeRocksDBConnector : RocksDB closed 2021-09-30 17:37:57.795 ERROR 25646 --- [FullNode Main] i.c.f.services.InitializationService : Errors at InitializationService 2021-09-30 17:37:57.795 ERROR 25646 --- [FullNode Main] i.c.b.exceptions.CotiRunTimeException : io.coti.basenode.exceptions.DataBaseRecoveryException : 2021-09-30 17:37:57.795 ERROR 25646 --- [FullNode Main] i.c.b.exceptions.CotiRunTimeException : Recovery service init error. 2021-09-30 17:37:57.796 ERROR 25646 --- [FullNode Main] i.c.b.exceptions.CotiRunTimeException : Restore database error. 2021-09-30 17:37:57.796 ERROR 25646 --- [FullNode Main] i.c.b.exceptions.CotiRunTimeException : Cause: io.coti.basenode.exceptions.DataBaseException: Failed to restore database 2021-09-30 17:37:57.804 INFO 25646 --- [localhost-startStop-1] io.coti.basenode.filters.AdminFilter : Shut down AdminFilter
no clear indication on why the remote restore process failed