add leader election support for the mysql driver

Bug #1506108 reported by Jordan Pittier on 2015-10-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tooz
Wishlist
Unassigned

Bug Description

This is not a bug report but more a TODO item.

Based on this blog post http://code.openark.org/blog/mysql/leader-election-using-mysql it should be possible to implement leader election on top of MySQL. It only makes sense in the case of clustered mysql (i.e galera).

I might give it a try in a couple of weeks.

Julien Danjou (jdanjou) wrote :

In most drivers we do that by running a race of "who is going to acquire the lock first" and try to grab it from time to time. This should be pretty easy to do with the current MySQL lock support we have in tooz.

Changed in python-tooz:
status: New → Triaged
importance: Undecided → Wishlist
stgleb (gstepanov) on 2016-04-22
Changed in python-tooz:
assignee: nobody → stgleb (gstepanov)
status: Triaged → In Progress
stgleb (gstepanov) on 2016-05-23
Changed in python-tooz:
assignee: stgleb (gstepanov) → nobody
Changed in python-tooz:
status: In Progress → New
Ben Nemec (bnemec) wrote :

This has been open for a long time. Was it ever done?

Changed in python-tooz:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers