Commit Graph

45 Commits

Author SHA1 Message Date
siddontang eee7468b85 format with goimports 2015-05-04 22:42:28 +08:00
siddontang 186ed2f84f use goredis client 2015-03-11 11:54:02 +08:00
siddontang 18362ffba4 move go ledis client 2015-03-03 10:18:54 +08:00
siddontang c4380b6406 simplify client connection
fix
https://github.com/siddontang/redis-failover/issues/3#issuecomment-76665
133
2015-03-02 17:12:55 +08:00
siddontang 218700ce44 repo conf command should check replication ok 2015-02-14 14:40:58 +08:00
siddontang fde91d588a fix can not close slave if master is down 2015-02-14 09:25:21 +08:00
siddontang 87cbf6cefc adjust replication state set 2015-02-11 10:13:21 +08:00
siddontang cbbec9d625 slave support reconnecting 2015-02-11 09:55:34 +08:00
siddontang fb9d8cc527 add role command 2015-02-03 14:15:30 +08:00
siddontang 053da7736c Use new log interface 2015-01-12 10:32:03 +08:00
siddontang 7b5d950cc9 fix go test race error 2014-11-01 23:28:34 +08:00
siddontang e3765035ce reduce replication code 2014-10-23 13:34:27 +08:00
siddontang 041a1737c8 update replication 2014-10-22 20:54:37 +08:00
siddontang 9b58e105b2 update replication 2014-10-22 09:11:14 +08:00
siddontang e92dd80442 update replication 2014-10-21 22:51:17 +08:00
siddontang c3824552b6 add replconf for replication 2014-10-21 17:35:03 +08:00
siddontang 4adf3e8996 add some replication info 2014-10-13 14:37:31 +08:00
siddontang 4a1c74cb44 adjust config 2014-10-11 16:00:59 +08:00
siddontang 855f0a3477 add readonly support 2014-10-10 09:49:16 +08:00
siddontang 884de89cb8 replication add log 2014-10-09 11:47:14 +08:00
siddontang 4d974a0db7 add wait max slave acks config 2014-10-05 17:24:44 +08:00
siddontang 3f93676d4d flushall will restart replication if possible 2014-10-03 20:31:24 +08:00
siddontang 2a3fca829e update slaveof command, wait (n + 1) /2 replies 2014-09-28 21:34:24 +08:00
siddontang f49a3bbece add compression for log 2014-09-27 10:08:45 +08:00
siddontang 05135a5ac9 move nextsynclogid to server 2014-09-25 22:33:09 +08:00
siddontang 962a087330 update slaveof and readonly 2014-09-25 16:03:29 +08:00
siddontang 6d293ce152 use async notify 2014-09-24 21:31:26 +08:00
siddontang 5bccfd13dc use tiny go package 2014-09-24 12:34:21 +08:00
siddontang 7d1f13f9d7 rename package 2014-09-24 09:46:36 +08:00
siddontang 4bb886adff update info 2014-09-23 17:53:52 +08:00
siddontang 1a1250d949 refactor, remove bin log, add consensus replication 2014-09-23 17:28:09 +08:00
siddontang 0a72481eb0 mode use 0644 for file, 0755 for dir 2014-09-18 21:27:43 +08:00
siddontang c8e5e39f9d hand up for new event if no one now
do not wait 1 second
2014-09-05 10:01:38 +08:00
siddontang dad6478c12 MasterInfo rename to BinLogAnchor 2014-09-04 22:43:56 +08:00
silentsai 14767ecadb abstract the read / write in server client 2014-07-31 14:38:20 +08:00
siddontang ac5c64aab8 add MasterInfo for replication 2014-07-11 16:57:19 +08:00
siddontang 55056660e3 add ledis-dump tool 2014-07-11 10:43:42 +08:00
siddontang 64a4fee577 replication use snappy 2014-07-04 17:55:47 +08:00
siddontang 38f741ddb1 use go-log and adjust some param name
go-log now has a well document.
it can be used directly.

limit may cause confused, use count instead
2014-07-04 13:27:57 +08:00
siddontang c5af770387 use my own log 2014-06-19 17:50:27 +08:00
siddontang 9e3dfc2191 replication bugfix 2014-06-12 21:29:41 +08:00
siddontang ebd15e5738 add replication test 2014-06-10 10:41:50 +08:00
siddontang ef22d7000d add replication, test later 2014-06-09 17:23:32 +08:00
siddontang 993ccdd052 add flushall, some replication 2014-06-08 16:43:59 +08:00
siddontang 8fab454223 adjust config, add some replication fund 2014-06-06 14:57:30 +08:00