trove/releasenotes/notes
Zhao Chao 5895cf0ee9 Avoid diverged slave when migrating MariaDB master
When promoting one slave to the new master in a replication group,
previously the old master will be attached to the new one right after
the new master is on. For MariaDB, attaching the old master to the new
one, new GTID may be created on the old master and also may be synced
to some of the other replicas, as they're still connecting to the old
master. The new GTID does not exists in the new master, making these
slaves diverged from the master. After that, when the diverged slave
connects to the new master, 'START SLAVE' will fail with logs like:

    [ERROR] Error reading packet from server: Error: connecting slave
    requested to start from GTID X-XXXXXXXXXX-XX, which is not in the
    master's binlog. Since the master's binlog contains GTIDs with
    higher sequence numbers, it probably means that the slave has
    diverged due to executing extra erroneous transactions
    (server_errno=1236)

And these slaves will be left orphan and errored after
promote_to_replica_source finishs.

Attaching the other replicas to the new master before dealing with the
old master will fix this problem and the failure of the
trove-scenario-mariadb-multi Zuul job as well.

Closes-Bug: #1754539
Change-Id: Ib9c01b07c832f117f712fd613ae55c7de3561116
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
2018-03-09 10:51:41 +08:00
..
.placeholder Add reno for release notes management 2015-11-05 13:12:35 -06:00
add-cassandra-log-retrieval-a295f3d0d4c56804.yaml Add log retrieval to Cassandra 2016-08-14 17:45:02 +00:00
add-cors-support-fe3ecbecb68f7efd.yaml updating with other reno changes 2015-12-02 13:55:48 -06:00
add-icmp-flag-58937cce344e77d9.yaml Introduce "icmp" option for security group rule 2016-08-04 13:58:56 +09:00
add-max-prep-stmts-ac1056e127de7609.yaml Add max_prepared_stmt_count to validation rules 2016-09-23 03:06:45 +00:00
add-new-relic-license-driver-0f314edabb7561c4.yaml Add New Relic License module driver 2016-06-07 17:44:41 +00:00
alter-user-portable-021f4b792e2c129b.yaml Use proper queries to update user properties 2016-07-18 17:31:26 -04:00
associate-volume-type-datastore-97defb9279b61c1f.yaml Associate datastore, version with volume-type 2016-12-19 14:24:09 -05:00
avoid-diverged-slave-when-migrating-mariadb-master-37e2429a1ea75913.yaml Avoid diverged slave when migrating MariaDB master 2018-03-09 10:51:41 +08:00
cassandra-backup-and-restore-00de234de67ea5ee.yaml spelling mistake in release description for cassandra 2016-05-24 06:24:14 +00:00
cassandra-configuration-groups-e6bcf4014a79f14f.yaml updating the release notes from mitaka commits 2016-03-17 23:14:16 -04:00
cassandra-user-functions-041abfa4f4baa591.yaml updating the release notes from mitaka commits 2016-03-17 23:14:16 -04:00
cluster-configuration-groups-37f7de9e5a343165.yaml Add configuration support for clusters 2017-01-19 17:13:43 +00:00
cluster-volume-type-901329a3b3667cb4.yaml Cluster code looks for wrong field in request for volume type 2016-09-14 09:14:01 -04:00
cluster_list_show_all_ips-3547635440.yaml Have cluster-show list all ips 2016-11-18 16:46:34 +00:00
cluster_restart-bb5abb7372131ee0.yaml Add support for cluster restart 2017-01-13 11:41:09 -05:00
couchdb-backup-restore-0cc3324c3088f947.yaml updating the release notes from mitaka commits 2016-03-17 23:14:16 -04:00
couchdb-user-db-functions-fa41ac47fce095cb.yaml updating the release notes from mitaka commits 2016-03-17 23:14:16 -04:00
datastore-manager-refactor-5aeac4e6bfa6e07b.yaml updating with other reno changes 2015-12-02 13:55:48 -06:00
db2-backup-restore-96ab214cddd15181.yaml updating the release notes from mitaka commits 2016-03-17 23:14:16 -04:00
db2-configuration-groups-ca2164be741d35f9.yaml Implement configuration management for DB2 2016-09-08 00:47:32 -07:00
db2-online-backup-restore-3783afe752562e70.yaml Implement full online backups for DB2 2016-09-13 20:35:01 +00:00
dbaas-ceilometer-notifications-5a623d0d6520be72.yaml updating the release notes from mitaka commits 2016-03-17 23:14:16 -04:00
deprecate-long-query-time-b85af24772e2e7cb.yaml Deprecate 'guest_log_long_query_time' 2016-08-17 15:59:53 +00:00
disply_module_bools_properly-571cca9a87f28339.yaml Display boolean module values 2017-01-13 20:09:06 +00:00
drop-python-26-support-39dff0c5636edc74.yaml updating the release notes from mitaka commits 2016-03-17 23:14:16 -04:00
fix-apply-configuration-on-prepare-4cff827b7f3c4d33.yaml updating the release notes from mitaka commits 2016-03-17 23:14:16 -04:00
fix-bad-swift-endpoint-in-guestlog-05f7483509dacbbf.yaml updating the release notes from mitaka commits 2016-03-17 23:14:16 -04:00
fix-cluster-show-346798b3e3.yaml Fix race condition in cluster-show 2016-11-18 12:12:28 -05:00
fix-cluster-type-error-71cd846897dfd32e.yaml [Trivialfix]Fix typos in trove 2017-09-07 19:06:58 -07:00
fix-deprecated-SafeConfigParse-ca3fd3e9f52a8cc8.yaml Fix SafeConfigParser DeprecationWarning in Python 3.2 2016-10-01 09:55:54 +00:00
fix-galera_common-cluster-shrink-e2c80913423772dd.yaml Wrong load removed node of galera cluster. 2017-06-27 02:37:40 -04:00
fix-gtid-parsing-9f60ad6e9e8f173f.yaml Fix xtrabackup-binlog file GTID parsing 2016-07-28 19:36:04 +00:00
fix-module-apply-after-remove-97c84c30fb320a46.yaml Fixed module-apply on removed module 2016-05-12 17:19:53 -04:00
fix-mongo-cluster-grow-8fa4788af0ce5309.yaml updating the release notes from mitaka commits 2016-03-17 23:14:16 -04:00
fix-mysql-replication-bf2b131994a5a772.yaml Mysql GTID replication fails when data inserted 2016-04-21 16:05:24 +00:00
fix-mysql-replication-ca0928069c0bfab8.yaml Mysql replicas need to set binlog_format 2016-04-19 13:07:09 +00:00
fix-postgres-pg-rewind-6eef0afb568439ce.yaml Fix Postgresql pg_rewind call 2016-10-14 12:05:52 -04:00
fix-redis-configuration-f0543ede84f8aac3.yaml Redis 'repl-backlog-size' conf parameter using wrong MIN value 2017-06-14 08:26:54 -07:00
fix-trove-events-8ce54233504065cf.yaml updating the release notes from mitaka commits 2016-03-17 23:14:16 -04:00
fix_mod_inst_cmd-3a46c7233e3.yaml Fix module-instances command 2017-02-27 18:42:34 +00:00
fix_module_apply-042fc6e61f721540.yaml Fix module apply 2016-11-17 21:26:18 +00:00
fix_module_driver_logging-666601f411db784a.yaml Unsupported module driver not logged correctly 2016-05-09 21:22:39 +00:00
fix_notification_err_msgs-e52771108633c9cf.yaml Notification exceptions not sent back correctly 2016-05-06 02:05:52 -04:00
fixes-mariadb-config-groups-b5fa4f44a8ed7b85.yaml Fix MariaDB config groups 2016-04-16 14:39:35 +00:00
flavor-list-disk-6213c3760e374441.yaml Display more flavor information in trove flavor-list command 2016-08-29 04:43:06 -07:00
flavor-list-ephemeral-edf2dc35d5c247b3.yaml Display flavor-ephemeral in trove flavor-list command 2016-09-17 16:00:02 +00:00
flavor-list-vcpu-817b0f5715820377.yaml Add vCPUs to flavor-list 2016-07-08 16:59:27 +09:00
force_delete-c2b06dbead554726.yaml Add command to delete BUILD instances and clusters 2016-09-13 10:00:04 -04:00
grow-cluster-nic-az-0e0fe4083666c300.yaml Add support for nic and az in cluster grow 2016-12-12 15:49:31 +00:00
guest-call-timeout-2781a57ca8feb89a.yaml Extend guest agent call timeouts 2016-08-22 14:46:02 -04:00
implement-cassandra-clustering-9f7bc3ae6817c19e.yaml updating the release notes from mitaka commits 2016-03-17 23:14:16 -04:00
implement-cassandra-root-b0870d23dbf1a848.yaml updating the release notes from mitaka commits 2016-03-17 23:14:16 -04:00
implement-mariadb-clustering-088ac2f6012689fb.yaml updating the release notes from mitaka commits 2016-03-17 23:14:16 -04:00
implement-redis-root-347b5ee0107debb5.yaml Implementation of root-enable, root-disable in redis. 2017-12-08 13:23:36 +08:00
improve-mysql-user-list-pagination-71457d934500f817.yaml updating the release notes from mitaka commits 2016-03-17 23:14:16 -04:00
incremental_backup-1910ded0fc3474a3.yaml Add --incremental flag to backup-create 2016-09-06 21:55:01 +00:00
instance-show-comp-vol-id-964db9f52a5ac9c1.yaml Add compute instance ID and volume ID to trove show output 2016-11-28 16:54:58 -05:00
instance-upgrade-7d464f85e025d729.yaml Implement Instance Upgrade 2016-09-08 11:32:14 -04:00
locality-support-for-clusters-78bb74145d867df2.yaml Locality support for clusters 2016-07-07 21:30:10 +00:00
locality-support-for-replication-01d9b05d27b92d82.yaml Locality support for replication 2016-06-20 19:38:48 +00:00
make-password-length-datastore-specific-7cdb1bfeab6e6227.yaml Make 'default_password_length' datastore-specific 2016-04-22 19:34:04 +00:00
mariadb-gtid-replication-1ea972bcfe909773.yaml updating the release notes from mitaka commits 2016-03-17 23:14:16 -04:00
mask-configuration-passwords-317ff6d2415b2ca1.yaml Mask passwords in configuration-show 2017-05-31 16:01:20 +00:00
module-management-66d3979cc45ed440.yaml updating the release notes from mitaka commits 2016-03-17 23:14:16 -04:00
module-ordering-92b6445a8ac3a3bf.yaml Add support for module ordering on apply 2016-12-26 05:35:39 +00:00
module-support-for-clusters-87b41dd7648275bf.yaml Add support for modules in cluster create/grow 2016-09-08 18:55:20 +00:00
module_reapply-342c0965a4318d4e.yaml Add support for module-reapply command 2017-02-27 18:43:32 +00:00
module_reapply_update_values-1fb88dc58701368d.yaml Module re-apply does not reflect updated values 2016-08-15 20:11:48 +00:00
mongo-cluster-grow-use-az-and-nic-values-207b041113e7b4fb.yaml updating the release notes from mitaka commits 2016-03-17 23:14:16 -04:00
mountpoint-detection-096734f0097eb75a.yaml Fix mountpoint detection 2016-11-29 12:16:07 -05:00
multi-region-cd8da560bfe00de5.yaml Multi-Region Support 2016-11-04 15:36:16 +00:00
mysql-config-preserve-types-77b970162bf6df08.yaml Preserve data type when parsing MySQL configs 2016-07-18 11:07:00 -04:00
mysql-root-fix-35079552e25170ca.yaml Do not remove root user on disable 2016-04-15 07:54:12 -04:00
mysql-user-list-pagination-9496c401c180f605.yaml updating the release notes from mitaka commits 2016-03-17 23:14:16 -04:00
percona-2.3-support-2eab8f12167e44bc.yaml updating the release notes from mitaka commits 2016-03-17 23:14:16 -04:00
persist-error-message-fb69ddf885bcde84.yaml Persist error messages and display on 'show' 2016-07-01 22:27:30 +00:00
pgsql-incremental-backup-acb4421f7de3ac09.yaml Postgresql Incremental Backup and Restore 2016-06-14 19:39:48 +00:00
pgsql-streaming-replication-f4df7e4047988b21.yaml Postgresql Streaming Replication 2016-09-10 16:02:55 -04:00
post-upgrade-fixes-828811607826d433.yaml Various post-upgrade fixes 2016-11-29 12:18:34 -05:00
postgres-user-list-race-46624dc9e4420e02.yaml Fix race in Postgres user-list 2016-09-10 16:06:43 -04:00
postgresql-use-proper-guestagent-models-7ba601c7b4c001d6.yaml Add db-models and RootController for Postgres 2016-05-12 17:13:26 -04:00
pxc-cluster-root-enable-30c366e3b5bcda51.yaml updating the release notes from mitaka commits 2016-03-17 23:14:16 -04:00
pxc-grow-shrink-0b1ee689cbc77743.yaml updating the release notes from mitaka commits 2016-03-17 23:14:16 -04:00
quota-management-3792cbc25ebe16bb.yaml Quota Management 2016-09-01 17:37:37 -04:00
remove-override-templates-85429da7f66e006a.yaml Remove unused 'override.config.template' 2016-04-29 15:17:09 -04:00
remove-support-of-use-nova-server-volume-2a334f57d8213810.yaml Remove support of creating volume from Nova. 2018-02-09 14:30:50 +08:00
return-http-204-for-disable-root-api-a818fc41fd6e75eb.yaml Return 204 instead of 200 for root-disable API 2018-03-02 20:57:23 +08:00
reuse-cassandra-connections-092cf2a762a2e796.yaml Reuse Cassandra connections 2016-05-12 19:56:20 +00:00
secure-mongodb-instances-1e6d7df3febab8f4.yaml updating the release notes from mitaka commits 2016-03-17 23:14:16 -04:00
slo-backups-3c35135316f837e1.yaml Backup to swift using wrong large object type 2016-05-02 15:11:15 -04:00
update-myisam-recover-opt-232b9d680bc362bf.yaml Update 'myisam-recover-options' config template 2016-05-12 16:25:00 +00:00
use-oslo-policy-bbd1b911e6487c36.yaml Add support for Oslo Policies to Trove 2016-12-06 21:51:21 +00:00
use-osprofiler-options-58263c311617b127.yaml updating the release notes from mitaka commits 2016-03-17 23:14:16 -04:00
vertica-configuration-groups-710c892c1e3d6a90.yaml updating the release notes from mitaka commits 2016-03-17 23:14:16 -04:00
vertica-grow-shrink-cluster-e32d48f5b2e1bfab.yaml updating the release notes from mitaka commits 2016-03-17 23:14:16 -04:00
vertica-load-via-curl-call-4d47c4e0b1b53471.yaml updating the release notes from mitaka commits 2016-03-17 23:14:16 -04:00