Commit Graph

1735 Commits

Author SHA1 Message Date
Vladimir Mihailenco 5294b5dae1 Add PoolStats.StaleConns and enable logging by default 2017-09-11 09:10:17 +03:00
Vladimir Mihailenco 1173a9589f Cleanup code 2017-09-11 08:58:56 +03:00
Vladimir Mihailenco ddbd81ea6c readme: fix link 2017-09-03 10:31:40 +03:00
Vladimir Mihailenco 74d5147d86 Merge pull request #630 from go-redis/fix/pipeline-retrying
Rework pipeline retrying
2017-09-01 15:09:05 +03:00
Vladimir Mihailenco dbd2c99ba9 Rework pipeline retrying 2017-09-01 14:56:00 +03:00
Vladimir Mihailenco 0daeac9c3e readme: mention connection pooling 2017-08-21 10:19:13 +03:00
Vladimir Mihailenco 19c1c2272e Merge pull request #623 from go-redis/feature/zlexcount
Add ZLexCount
2017-08-15 11:01:05 +03:00
Vladimir Mihailenco 8ff417ca18 Fix flaky tests 2017-08-15 10:49:45 +03:00
Vladimir Mihailenco 63e3bc58c7 Retry cluster down errors 2017-08-15 10:12:43 +03:00
Vladimir Mihailenco a9364f117c Add ZLexCount 2017-08-15 09:49:23 +03:00
Vladimir Mihailenco 7a034e1609 Merge pull request #613 from rayalex/master
Using INCR as an atomic operation
2017-08-04 14:55:57 +03:00
Vladimir Mihailenco 89515eebd1 Merge pull request #612 from okmeter/master
Stop ConnPool.tryDial for closed pool
2017-08-04 14:44:34 +03:00
Alex 165f47fa41 Using INCR as an atomic operation 2017-08-04 10:51:14 +02:00
Nikolay Sivko 7ae26b74bc stop ConnPool.tryDial goroutine if pool was closed 2017-08-04 01:11:35 +03:00
Vladimir Mihailenco a8ee44122a Merge pull request #611 from go-redis/fix/pubsub-deadlock
Fix PubSub.Subscribe deadlock
2017-08-01 14:27:30 +03:00
Vladimir Mihailenco dbcf95c85e Fix PubSub.Subscribe deadlock 2017-08-01 14:21:26 +03:00
Vladimir Mihailenco 2fb3f0e45f Merge pull request #604 from v2e4lisp/fix/cluster-readonly
Limit Readonly Option to cluster client only
2017-07-25 08:11:05 +03:00
wenjun.yan 4e1d2a01db Make readOnly a private field so that only cluster client can use it 2017-07-25 10:35:41 +09:00
Vladimir Mihailenco e8e77ae5e4 Merge pull request #601 from AlekSi/patch-1
Use latest released Go versions
2017-07-20 08:05:35 +03:00
Alexey Palazhchenko 3cbacec875 Use latest released Go versions 2017-07-20 07:28:47 +03:00
Vladimir Mihailenco a005081ecd Fix example 2017-07-19 15:41:16 +03:00
Vladimir Mihailenco 8ca3198da9 Merge pull request #600 from go-redis/fix/geo-ro-variants
Add Geo commands read-only variants
2017-07-19 15:40:17 +03:00
Vladimir Mihailenco cf6c6dca84 Add Geo commands read-only variants 2017-07-19 15:32:50 +03:00
Vladimir Mihailenco da63fe7def Merge pull request #594 from go-redis/feature/cluster-pubsub
Add PubSub support to Cluster client
2017-07-11 11:28:47 +03:00
Vladimir Mihailenco 3ddda73a05 Close connections to unused nodes 2017-07-11 11:19:40 +03:00
Vladimir Mihailenco 6060f097e1 Add PubSub support to Cluster client 2017-07-09 10:07:20 +03:00
Vladimir Mihailenco 564772f045 Merge pull request #593 from go-redis/fix/pubsub-example
Fix PubSub example. Fixes #575
2017-07-01 13:54:10 +03:00
Vladimir Mihailenco 55da68487f Fix PubSub example. Fixes #575 2017-07-01 13:42:26 +03:00
Vladimir Mihailenco 8860475391 Merge pull request #592 from go-redis/fix/vendor-syncutil-once
Vendor syncutil.Once
2017-07-01 13:10:51 +03:00
Vladimir Mihailenco 9dbcc5ae80 Vendor syncutil.Once 2017-07-01 12:51:46 +03:00
Vladimir Mihailenco efdbb32da3 Merge pull request #589 from go-redis/fix/avoid-cluster-loopback
Use node address instead of relying on loopback reported by redis
2017-07-01 12:48:58 +03:00
Dimitrij Denissenko 94ea195dc1 Use node address instead of relying on loopback reported by redis 2017-07-01 12:31:41 +03:00
Vladimir Mihailenco b52814fa17 Merge pull request #588 from go-redis/fix/sentinel-reset-pool
Resent client pool when sentinel switches master
2017-06-29 17:10:50 +03:00
Vladimir Mihailenco 0d94a7bc88 Fix race in PubSub 2017-06-29 17:09:52 +03:00
Vladimir Mihailenco fbc8000fd1 Resent client pool when sentinel switches master 2017-06-29 16:53:49 +03:00
Vladimir Mihailenco 75ceb983b7 Merge pull request #587 from go-redis/fix/pool-dial-errors
Gracefully handle situation when Redis Server is down
2017-06-29 14:52:51 +03:00
Vladimir Mihailenco 9cf5f251be Gracefully handle situation when Redis Server is down 2017-06-29 14:45:31 +03:00
Vladimir Mihailenco c8159532bc Merge pull request #586 from go-redis/fix/pool-fast-path
pool: add fast path
2017-06-29 13:24:08 +03:00
Vladimir Mihailenco 0a965c5d70 pool: add fast path 2017-06-29 12:54:49 +03:00
Vladimir Mihailenco 09f8a1b82b Merge pull request #585 from go-redis/fix/bigger-pool-size
Scale pool size with number of cores since Redis connections are cheap
2017-06-28 18:29:56 +03:00
Vladimir Mihailenco 9acf745faf Scale pool size with number of cores since Redis connections are cheap 2017-06-28 18:20:26 +03:00
Vladimir Mihailenco e14976b254 Merge pull request #580 from go-redis/fix/flush-db-async
Add FlushDBAsync and FlushAllAsync
2017-06-17 13:17:21 +03:00
Vladimir Mihailenco 9b8cd3e5a7 readme: add godoc badge 2017-06-17 13:01:40 +03:00
Vladimir Mihailenco f1ed2ad288 Add FlushDBAsync and FlushAllAsync 2017-06-17 12:53:16 +03:00
Vladimir Mihailenco 167410bcd7 Improve comment 2017-06-17 12:43:19 +03:00
Vladimir Mihailenco 1471ec2b0a Merge pull request #579 from go-redis/fix/cmd-info-race
Fix cmd info race. Fixes #578
2017-06-17 12:42:52 +03:00
Vladimir Mihailenco 5132e15c93 Fix cmd info race. Fixes #578 2017-06-17 12:34:39 +03:00
Vladimir Mihailenco eb066030c0 Merge pull request #577 from go-redis/fix/parse-url-example
Add ParseURL example
2017-06-09 14:11:43 +03:00
Vladimir Mihailenco 2dbe5a3d99 Add ParseURL example 2017-06-09 13:55:45 +03:00
Vladimir Mihailenco f29951c899 Speedup ScanSlice 2017-06-02 16:19:43 +03:00