This release comes with the following fixes and improvements.
- PR #163 provided by @bukem providing an optimization of the procedure for applying changes to Postgresql
- Fix for issue #170. Now if the replica schema is not present on the target database it will display an hint instead of an exception
- Fix incorrect placement of the new parameter net_read_timeout. Now it's set as an instance variable from global_lib.py. The previous configuration may cause a crash of the replica process.
This release requires a replica catalogue upgrade, therefore is very important to follow the upgrade instructions provided below.
- If working via ssh is suggested to use screen or tmux for the upgrade
- Stop all the replica processes with
chameleon stop_all_replicas --config <your_config>
- Take a backup of the schema
sch_chameleon
with pg_dump as a good measure. - Install the upgrade with
pip install pg_chameleon --upgrade
- Check if the version is upgraded with
chameleon --version
- Upgrade the replica schema with the command
chameleon upgrade_replica_schema --config <your_config>
- Start all the replicas.
Changelog from v2.0.20
- PR #163 provided by @bukem providing an optimization of the procedure for applying changes to Postgresql
- Fix for issue #170. Now if the replica schema is not present on the target database it will display an hint instead of an exception
- Fix incorrect placement of the new parameter net_read_timeout. Now it's set as an instance variable from global_lib.py. The previous configuration may cause a crash of the replica process.