1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-18 00:20:57 +03:00

101 Commits

Author SHA1 Message Date
2a22983249 Port SingleConnPool fix to v6 2019-08-13 17:04:39 +03:00
b706478fdc Fix MinIdleConns and MaxConnAge 2019-03-25 13:02:31 +02:00
ac9e1abf54 Retry master node on readonly errors. Fixes #977 2019-02-27 12:53:44 +02:00
d040650021 Remove SingleFlight package 2019-01-08 17:15:24 +08:00
fa76dd0e87 Add releaseConnStrict 2018-10-14 11:27:34 +03:00
f5d67d80d3 remove unused function 2018-10-11 12:55:35 +02:00
8d3747808e internal: retry timeout 2018-08-23 16:13:42 +03:00
0197108027 Use bufio.Writer 2018-08-17 14:14:02 +03:00
00de347403 Optimize reading big values 2018-08-16 14:01:03 +03:00
5146fb0c57 Cleanup buffers manipulation 2018-08-15 11:53:15 +03:00
7c26d1ceb6 Pass cn.Rd where possible 2018-08-15 09:38:58 +03:00
cfe305296f Bench bigget values 2018-08-15 09:10:53 +03:00
8ebf0b7750 Remove unused code 2018-08-13 09:52:36 +03:00
651e9fef1d Add MaxConnAge 2018-08-12 10:25:16 +03:00
25bf3e79e5 Add MinIdleConns 2018-08-12 08:34:06 +03:00
fee18a3d42 Use sub-benchmarks 2018-08-10 14:08:07 +03:00
e753829945 internal/proto: avoid moving data when buffer is big enough 2018-08-07 14:49:35 +03:00
96d1b85009 Cleanups 2018-08-06 13:59:15 +03:00
464daeb271 Rename BufioReader to ElasticBufReader 2018-08-06 13:37:20 +03:00
c651b50db5 internal/proto: cleanup bufio reader 2018-08-05 15:07:10 +03:00
b576fe91a1 Use single read and write buffer where possible 2018-08-04 13:09:22 +03:00
2559f32464 cluster: optimize newClusterState 2018-07-22 14:17:42 +03:00
7c9aa65a40 Cleanup 2018-07-22 09:27:36 +03:00
7f5b63da85 Close read-only connections 2018-06-18 13:09:20 +03:00
faf5666fbd Cleanup pool 2018-05-29 17:29:47 +03:00
3aa80da654 internal/proto: cleanup code 2018-03-08 14:00:21 +02:00
56dea1f39a Fix proto.RedisError in slices 2018-02-22 14:24:27 +02:00
fa7f64f7f2 Rework retrying 2018-02-16 13:40:23 +02:00
fbec95a796 fix rename 2018-01-25 11:15:44 +04:00
ea4d6c3490 golint warnings are removed 2018-01-24 22:38:47 +04:00
abb85b0fb8 Remove StringToBytes 2018-01-15 16:15:20 +02:00
041b11eb4f Merge pull request #693 from FJSDS/change_bytes_string
fix unsafe.go
2018-01-15 16:12:18 +02:00
a8340c6b74 fix unsafe.go 2018-01-11 16:42:52 +08:00
3de5605ab2 Pick random node when command does not have keys 2017-12-28 16:47:08 +02:00
48b70050d4 Fix slice next elem func 2017-11-01 15:33:53 +02:00
dac1820e47 Fix pool panics 2017-10-11 16:03:55 +01:00
7cb146a31b Increase read timeout for blocking commands and don't retry such commands 2017-09-29 16:12:43 +03:00
bc5f9a6878 Replace PoolStats.Requests with PoolStats.Misses 2017-09-22 12:28:08 +03:00
5294b5dae1 Add PoolStats.StaleConns and enable logging by default 2017-09-11 09:10:17 +03:00
dbd2c99ba9 Rework pipeline retrying 2017-09-01 14:56:00 +03:00
63e3bc58c7 Retry cluster down errors 2017-08-15 10:12:43 +03:00
89515eebd1 Merge pull request #612 from okmeter/master
Stop ConnPool.tryDial for closed pool
2017-08-04 14:44:34 +03:00
7ae26b74bc stop ConnPool.tryDial goroutine if pool was closed 2017-08-04 01:11:35 +03:00
3ddda73a05 Close connections to unused nodes 2017-07-11 11:19:40 +03:00
9dbcc5ae80 Vendor syncutil.Once 2017-07-01 12:51:46 +03:00
0d94a7bc88 Fix race in PubSub 2017-06-29 17:09:52 +03:00
fbc8000fd1 Resent client pool when sentinel switches master 2017-06-29 16:53:49 +03:00
9cf5f251be Gracefully handle situation when Redis Server is down 2017-06-29 14:45:31 +03:00
0a965c5d70 pool: add fast path 2017-06-29 12:54:49 +03:00
f29951c899 Speedup ScanSlice 2017-06-02 16:19:43 +03:00