[Bug 1854880] Re: Conflicting Transaction Sets following Complete Outage of InnoDB Cluster

2019-12-04 Thread Bryce Harrington
A patch is not yet available for this issue from upstream, however it is
confirmed by them with their own test case defined, and a workaround,
both of which I've updated in the bug description.  I've linked the
upstream bug to hopefully give visibility when a patch does become
available.


** Description changed:

+ [Impact]
  The 8.0.18 version of mysql-8.0 has this upstream bug:
  
  https://bugs.mysql.com/bug.php?id=97279
  
  Note 8.0.17 did not display this bug.
  
  After a complete outage dba.rebootClusterFromCompleteOutage() errors
  with:
  
  output: "ERROR: Conflicting transaction sets between 10.5.0.55:3306 and
  10.5.0.52:3306 Dba.rebootClusterFromCompleteOutage: Conflicting
  transaction sets between 10.5.0.55:3306 and 10.5.0.52:3306 (MYSQLSH
  51152) at /tmp/tmpn2y5qo9l.js:3:12 in
  dba.rebootClusterFromCompleteOutage();
  
- Steps to reproduce:
+ [Regression Potential]
+ TBD
  
- Build a cluster
- Shut each node of the cluster down (reboot)
- Start mysql on each node
- Run dba.rebootClusterFromCompleteOutage()
+ [Fix]
+ 
+ [Test Case]
+ * Build an InnoDB cluster
+   - var cluster = dba.createCluster('cluster')
+   - cluster.addInstance('clusterad...@xxx.xxx.xxx.xxx:')
+   - cluster.addInstance('clusterad...@yyy.yyy.yyy.yyy:')
+   - cluster.setOption("consistency", "BEFORE")
+ * Shut each node of the cluster down (reboot)
+ * Start mysql on each node
+ * (Maybe?) INSERT some random data into the same table on all cluster 
instances
+ * Run dba.rebootClusterFromCompleteOutage()
  
  The cs:~openstack-charmers-next/mysql-innodb-cluster has a test
  zaza.openstack.charm_tests.mysql.tests.MySQLInnoDBClusterColdStartTest
  that re-creates the failure. Note: It is currently disabled due to this
  bug.
+ 
+ [Workaround]
+ From upstream bug report,
+ """
+   a) Shutdown the instance that contains the GTID subset (typically a 
secondary that was behind, or a primary that was ejected from the cluster)
+   b) Execute rebootClusterFromCompleteOutage to bring the cluster up
+   c) Start the instance from step a)
+   d) Execute a cluster.rescan() to bring the instance back into the cluster
+ """

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1854880

Title:
  Conflicting Transaction Sets following Complete Outage of InnoDB
  Cluster

To manage notifications about this bug go to:
https://bugs.launchpad.net/mysql-server/+bug/1854880/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1854880] Re: Conflicting Transaction Sets following Complete Outage of InnoDB Cluster

2019-12-04 Thread Bryce Harrington
** Bug watch added: MySQL Bug System #97279
   http://bugs.mysql.com/bug.php?id=97279

** Also affects: mysql-server via
   http://bugs.mysql.com/bug.php?id=97279
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1854880

Title:
  Conflicting Transaction Sets following Complete Outage of InnoDB
  Cluster

To manage notifications about this bug go to:
https://bugs.launchpad.net/mysql-server/+bug/1854880/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1854880] Re: Conflicting Transaction Sets following Complete Outage of InnoDB Cluster

2019-12-02 Thread Robie Basak
** Changed in: mysql-8.0 (Ubuntu)
   Status: New => Triaged

** Changed in: mysql-8.0 (Ubuntu)
   Importance: Undecided => Critical

** Tags added: regression-update

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1854880

Title:
  Conflicting Transaction Sets following Complete Outage of InnoDB
  Cluster

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1854880/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs