You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Analyse if it would make sense to test db-sync rollbacks with cardano-node-tests framework.
Currently the only way to invoke rollback is to stop current db-sync process and start it again with flag --rollback-to-slot :
This might be a time consuming process - however on a test blockchain with minimal amount of data this could be a faster process than on real networks either test ones or mainnet.
This should be probably run after all regular cluster tests are finished so we have test data including all conway era tests and check if rollback propagates properly and deletes all data. Currently some columns , tables might be ignored during rollbacks.
Detailed list of tables / columns / cases (flag configurations causing issues) would be needed in case this would make sense to implement and we wanted to proceed with idea - but for now just the concept itself can be checked from the efficiency point of view and how much time consuming it would be.
The text was updated successfully, but these errors were encountered:
Analyse if it would make sense to test db-sync rollbacks with
cardano-node-tests
framework.Currently the only way to invoke rollback is to stop current db-sync process and start it again with flag
--rollback-to-slot
:This might be a time consuming process - however on a test blockchain with minimal amount of data this could be a faster process than on real networks either test ones or
mainnet
.This should be probably run after all regular cluster tests are finished so we have test data including all
conway
era tests and check if rollback propagates properly and deletes all data. Currently some columns , tables might be ignored during rollbacks.Detailed list of tables / columns / cases (flag configurations causing issues) would be needed in case this would make sense to implement and we wanted to proceed with idea - but for now just the concept itself can be checked from the efficiency point of view and how much time consuming it would be.
The text was updated successfully, but these errors were encountered: