Dimitrij Denissenko
|
dac1820e47
|
Fix pool panics
|
2017-10-11 16:03:55 +01:00 |
Vladimir Mihailenco
|
7cb146a31b
|
Increase read timeout for blocking commands and don't retry such commands
|
2017-09-29 16:12:43 +03:00 |
Vladimir Mihailenco
|
bc5f9a6878
|
Replace PoolStats.Requests with PoolStats.Misses
|
2017-09-22 12:28:08 +03:00 |
Vladimir Mihailenco
|
5294b5dae1
|
Add PoolStats.StaleConns and enable logging by default
|
2017-09-11 09:10:17 +03:00 |
Vladimir Mihailenco
|
dbd2c99ba9
|
Rework pipeline retrying
|
2017-09-01 14:56:00 +03:00 |
Vladimir Mihailenco
|
63e3bc58c7
|
Retry cluster down errors
|
2017-08-15 10:12:43 +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 |
Nikolay Sivko
|
7ae26b74bc
|
stop ConnPool.tryDial goroutine if pool was closed
|
2017-08-04 01:11:35 +03:00 |
Vladimir Mihailenco
|
3ddda73a05
|
Close connections to unused nodes
|
2017-07-11 11:19:40 +03:00 |
Vladimir Mihailenco
|
9dbcc5ae80
|
Vendor syncutil.Once
|
2017-07-01 12:51:46 +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
|
9cf5f251be
|
Gracefully handle situation when Redis Server is down
|
2017-06-29 14:45:31 +03:00 |
Vladimir Mihailenco
|
0a965c5d70
|
pool: add fast path
|
2017-06-29 12:54:49 +03:00 |
Vladimir Mihailenco
|
f29951c899
|
Speedup ScanSlice
|
2017-06-02 16:19:43 +03:00 |
Jonathan Chan
|
406e882c43
|
Added backoff retry
|
2017-05-26 14:33:34 +03:00 |
Vladimir Mihailenco
|
6499563e07
|
PubSub conns don't share connection pool limit
|
2017-04-17 16:59:56 +03:00 |
Poloskin Valentin Georgievich
|
80673992e6
|
gofmt
|
2017-04-02 17:10:47 +03:00 |
Vladimir Mihailenco
|
ef95182d29
|
Code cleanup
|
2017-03-31 15:11:11 +03:00 |
Vladimir Mihailenco
|
bb270e3277
|
Merge branch 'v5'
|
2017-03-04 11:02:50 +02:00 |
yuekui
|
216ec11a0e
|
Fix wrong usage of timer Reset(), which could cause service frozen during master switch.
|
2017-03-04 10:53:10 +02:00 |
Vladimir Mihailenco
|
50f5210780
|
internal/pool: remove unused var
|
2017-02-23 15:19:43 +02:00 |
Vladimir Mihailenco
|
8040d63c4f
|
Remove gopkg.in
|
2017-02-19 09:49:21 +02:00 |
Vladimir Mihailenco
|
6b6f5ca133
|
Separate read and write buffers for PubSub.
|
2017-02-19 09:42:45 +02:00 |
Vladimir Mihailenco
|
335956cc9a
|
Cleanup code a bit.
|
2017-02-18 12:10:47 +02:00 |
Back Yu
|
681a1fe646
|
Add ScanSlice.
|
2017-02-18 11:49:01 +02:00 |
Vladimir Mihailenco
|
ce4fd8b677
|
Fix ReceiveMessage to work without any subscriptions.
|
2017-02-08 14:15:32 +02:00 |
Vladimir Mihailenco
|
308ebee457
|
Fix defer order.
|
2017-01-28 10:53:10 +02:00 |
Vladimir Mihailenco
|
69554c0ec5
|
Reduce number of allocations.
|
2017-01-13 13:39:59 +02:00 |
Vladimir Mihailenco
|
c17f58f7a0
|
Remove dial limiter.
|
2016-12-16 15:43:37 +02:00 |
Vladimir Mihailenco
|
865d501d07
|
Add TxPipeline.
|
2016-12-16 11:25:58 +02:00 |
Vladimir Mihailenco
|
b4efc45f1c
|
Set read/write timeouts more consistently.
|
2016-12-03 17:30:13 +02:00 |
Vladimir Mihailenco
|
d4a3b1f282
|
Add instrumentation example.
|
2016-11-26 10:33:06 +02:00 |
Vladimir Mihailenco
|
a20665f042
|
Use string val in StringCmd.
|
2016-11-20 09:50:49 +02:00 |
Vladimir Mihailenco
|
62cd3b38ef
|
Limit allocation.
|
2016-11-09 10:13:03 +02:00 |
Vladimir Mihailenco
|
3996289fe2
|
internal/proto: use read prefix to indicate that method reads from the stream.
|
2016-10-14 14:46:35 +03:00 |
Vladimir Mihailenco
|
a65b760eec
|
Lowercase command name.
|
2016-10-14 10:37:30 +03:00 |
Vladimir Mihailenco
|
2c5b239ecb
|
Remove internal errors package that clashes with std lib.
|
2016-10-09 11:44:31 +00:00 |
Vladimir Mihailenco
|
f5245efa73
|
Prepare v5 release.
|
2016-10-09 10:56:53 +00:00 |
Vladimir Mihailenco
|
fcf53a2a78
|
Better cluster loading handling.
|
2016-10-09 08:18:57 +00:00 |
lijunfei
|
1b06f9351a
|
define loading error
|
2016-10-09 11:44:58 +08:00 |
lijunfei
|
3cc9b99fb8
|
if readonly, read from master when slave is loading
|
2016-10-09 11:30:01 +08:00 |
Vladimir Mihailenco
|
7cbee9d337
|
Enable reaper on ClusterClient and add tests.
|
2016-10-02 12:44:01 +00:00 |
Vladimir Mihailenco
|
e57ac63b6e
|
Simplify resubscribing in PubSub.
|
2016-09-29 12:33:47 +00:00 |
Vladimir Mihailenco
|
04cdc41cc4
|
Try to fix Go 1.4.
|
2016-09-14 11:00:34 +00:00 |
Vladimir Mihailenco
|
455abb1906
|
internal/pool: more idiomatic work with channels.
|
2016-09-12 06:15:59 +00:00 |
Vladimir Mihailenco
|
4b0862b5fd
|
internal/pool: improve tests.
|
2016-09-10 14:09:39 +00:00 |
Vladimir Mihailenco
|
aab4e040c6
|
internal/pool: fix reaper to properly close connections.
|
2016-09-10 13:54:49 +00:00 |
Dimitrij Denissenko
|
7d856c5595
|
Make proto/parser an internal package
|
2016-07-02 13:52:10 +01:00 |
Vladimir Mihailenco
|
e9233d8d17
|
Cleanup loggers.
|
2016-06-05 08:05:50 +00:00 |