Upgrading the HA notary service
Version 3 to Version 4
In Corda Enterprise 4.0 an additional table
notary_committed_transactions is being used by the HA notary to support the new reference state functionality.
- Backup your Percona XtraDB Cluster, see operating percona.
- Test you can restore from backup.
- Log in to any Percona XtraDB Cluster database server and create the
notary_committed_transactionstable. It will be replicated to all other database servers.>
CREATE TABLE IF NOT EXISTS notary_committed_transactions ( transaction_id BINARY(32) NOT NULL, CONSTRAINT tid PRIMARY KEY (transaction_id) );
- In the unlikely event that the database gets corrupted, take all the notary worker nodes down and follow the “Repair” guide under operating percona to restore the database.
- Perform a rolling upgrade on the notary worker nodes. Follow the node upgrade guide for each node, and make sure the node is running and is no longer in flow draining mode before moving on to the next one.