Skip to content

Commit 06e800a

Browse files
committed
Remove failover
1 parent ff1dab4 commit 06e800a

File tree

9 files changed

+0
-754
lines changed

9 files changed

+0
-754
lines changed

README.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ This repo uses [Changelog](CHANGELOG.md).
2323
* [Incremental dumping](#canal)
2424
* [Client](#client)
2525
* [Fake server](#server)
26-
* [Failover](#failover)
2726
* [database/sql like driver](#driver)
2827

2928
## Replication
@@ -327,18 +326,6 @@ MySQL [(none)]>
327326
>
328327
> To customize server configurations, use ```NewServer()``` and create connection via ```NewCustomizedConn()```.
329328
330-
331-
## Failover
332-
333-
Failover supports to promote a new master and let replicas replicate from it automatically when the old master was down.
334-
335-
Failover supports MySQL >= 5.6.9 with GTID mode, if you use lower version, e.g, MySQL 5.0 - 5.5, please use [MHA](http://code.google.com/p/mysql-master-ha/) or [orchestrator](https://github.com/outbrain/orchestrator).
336-
337-
At the same time, Failover supports MariaDB >= 10.0.9 with GTID mode too.
338-
339-
Why only GTID? Supporting failover with no GTID mode is very hard, because replicas can not find the proper binlog filename and position with the new master.
340-
Although there are many companies use MySQL 5.0 - 5.5, I think upgrade MySQL to 5.6 or higher is easy.
341-
342329
## Driver
343330

344331
Driver is the package that you can use go-mysql with go database/sql like other drivers. A simple example:

failover/const.go

Lines changed: 0 additions & 11 deletions
This file was deleted.

failover/doc.go

Lines changed: 0 additions & 8 deletions
This file was deleted.

failover/failover.go

Lines changed: 0 additions & 67 deletions
This file was deleted.

failover/failover_test.go

Lines changed: 0 additions & 176 deletions
This file was deleted.

failover/handler.go

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)