From 52ebb5f3107528dd615166201eef0b79f9513d40 Mon Sep 17 00:00:00 2001 From: Federico Campoli Date: Sun, 19 Aug 2018 08:36:22 +0100 Subject: [PATCH] stamp version 2.0.9 --- CHANGELOG.rst | 2 +- RELEASE_NOTES.rst | 19 ++++++++++++++++++- docs/conf.py | 4 ++-- setup.py | 2 +- 4 files changed, 22 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 379558a4..9d9e615b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,7 +1,7 @@ changelog ************************* -2.0.9 - XX Aug 2018 +2.0.9 - 19 Aug 2018 .......................................................... * Fix wrong check for the next auto maintenance run if the maintenance wasn't run before * Improve the replay function's speed diff --git a/RELEASE_NOTES.rst b/RELEASE_NOTES.rst index d4328d50..d2c3845b 100644 --- a/RELEASE_NOTES.rst +++ b/RELEASE_NOTES.rst @@ -13,6 +13,23 @@ However your mileage may vary. The GTID operational mode has been improved removing the blocking mode which caused increased lag in systems with larger binlog size. +As this change requires a replica catalogue upgrade 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 `` +* Take a backup of the schema ``sch_chameleon`` with pg_dump for 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 `` +* Start all the replicas. + + +If the upgrade procedure refuses to upgrade the catalogue because of running or errored replicas is possible to reset the statuses using the command ``chameleon enable_replica --source ``. + +If the catalogue upgrade is still not possible downgrading pgchameleon to the previous version. E.g. ``pip install pg_chameleon==2.0.8`` will make the replica startable again. + + 2.0.8 -------------------------- This maintenance release adds the support for skip events. Is now is possible to skip events (insert,delete,update) for single tables or for entire schemas. @@ -62,7 +79,7 @@ As this change requires a replica catalogue upgrade is very important to follow If the upgrade procedure refuses to upgrade the catalogue because of running or errored replicas is possible to reset the statuses using the command ``chameleon enable_replica --source ``. -If the catalogue upgrade is still not possible downgrading pgchameleon to the previous version. E.g. ``pip install pg_chameleon==2.0.7``. +If the catalogue upgrade is still not possible downgrading pgchameleon to the previous version. E.g. ``pip install pg_chameleon==2.0.7`` will make the replica startable again. 2.0.7 diff --git a/docs/conf.py b/docs/conf.py index d3387206..41450ff0 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -65,9 +65,9 @@ # built documents. # # The short X.Y version. -version = u'2.0.8' +version = u'2.0.9' # The full version, including alpha/beta/rc tags. -release = u'v2.0.8' +release = u'v2.0.9' # The language for content autgenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.py b/setup.py index 00d996dd..d964f063 100644 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ def readme(): setup( name="pg_chameleon", - version="2.0.8", + version="2.0.9", description="MySQL to PostgreSQL replica and migration", long_description=readme(), author = "Federico Campoli",