Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Release 1.6.0 #405

Merged
merged 43 commits into from
Jan 20, 2020
Merged

Release 1.6.0 #405

merged 43 commits into from
Jan 20, 2020

Conversation

goldworm-icon
Copy link
Member

Block recovery support

Chiwon Cho and others added 30 commits December 9, 2019 19:08
* Rename old rollback() to remove_precommit_state()
* Add ROLLBACK message to converter_template
* Add BackupManager and RollbackManager to database package
* Make storages ready prior to engines
* Remove _post_component_context() from IconServiceEngine
* Replace IconServiceEngine.rollback() with remove_precommit_state()
* Fix all unittest errors
* Pass icx_db to RollbackManager in IconServiceEngine.
* Add WALDBType
* Rename "status" to "success" in RollbackResponse
* Call rollback() of all storages
* Call rollback() of all engines
* Exception handling on rollback
* Minor bugfix
* Remove IDE warning messages
* RollbackResponse, QueryCalculateResultResponse and
QueryCalculateStatusResponse are added to test
* Refactor BackupManager
* Apply a new BackupManager to IconServiceEngine
* Add unittest code to test_backup_manager.py
* Revert last_block
* Fix unittest error in test_rollback.py
* Update create_eoa_account functions in TestIntegrateBase
* Add a unittest for score deploy rollback
* Add a unittest for score state rollback
* Move rollback-related files to iconservice.rollback package
* Apply BackupCleaner to IconServiceEngine
* Add a unit test for BackupCleaner
* Update logging of RollbackResponse
* Fix minor bug in IISSEngine.rollback_reward_calculator()
* The exception that there is no preps data at the end of prevote term is handled.
* Repeat to rollback up to a given block from the current block
* Add a unittest for multi block rollback
…eps-API

IS-946: Bugfix getInactivePReps API
* Consider the case that there is a term change during rollback
* Fix a minor bug in rollback/test_backup_manager.py
* Fix minor unittest errors caused by iiss_rc_db name change
* Record Rollback metadata before rollback for rollback recovery
* Add Metadata class
* Add unittests
Chiwon Cho added 13 commits December 20, 2019 16:23
* Refactor IconServiceEngine._recover_rc_db()
* Remove RewardCalcStorage.scan_rc_db()
* Optimize code
* Add load() and save() to rollback.Metadata class
* Add _recover_rollback() and _finish_to_recover_rollback() to IconServiceEngine.
* Consider the case that renaming iiss_db to current_db has been already done
* iiss_rc_db_{BH}_{revision} -> iiss_rc_db_{BH}
* Add IissDBNameRefactor class
* block-12345.bak -> block-0000012345.bak
* Divide run() into run_on_init(), run_on_commit() and run()
* Update the unittest for BackupCleaner
…at-runtime

IS-894: Rollback at run-time
@goldworm-icon goldworm-icon merged commit 982f7fb into master Jan 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants