From b5914df4f9d110bf986d1a920515308241ab2e26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Wed, 3 Jan 2018 09:55:18 +0200 Subject: [PATCH] Add documentation on how to reset the conversion process The resetting of the conversion process is now documented. --- Documentation/Routers/Avrorouter.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/Routers/Avrorouter.md b/Documentation/Routers/Avrorouter.md index 2a1ac05b7..a6bd99d45 100644 --- a/Documentation/Routers/Avrorouter.md +++ b/Documentation/Routers/Avrorouter.md @@ -199,6 +199,14 @@ the locations of the GTIDs in the .avro files. The _avro-conversion.ini_ contain the last converted position and GTID in the binlogs. If you need to reset the conversion process, delete these two files and restart MaxScale. +# Resetting the Conversion Process + +To reset the binlog conversion process, issue the `purge` module command by +executing it via MaxAdmin and stop MaxScale. If manually created schema files +were used, they need to be recreated once MaxScale is stopped. After stopping +MaxScale and optionally creating the schema files, the conversion process can be +started by starting MaxScale. + # Example Client The avrorouter comes with an example client program, _cdc.py_, written in Python 3.