Commit Graph

79 Commits

Author SHA1 Message Date
Julien Letessier
7485ebbb5a Reset pubsub parser per message
Handle pubsub message replies immediately and reset the parser to avoid response reuse.

Adds pubsub_parser_reset test and runs it in the harness.
2026-01-15 09:12:00 +01:00
Julien Letessier
0243aa0fa6 Ensure pubsub confirmations precede messages
Pause message queuing while subscriptions are pending to preserve confirmation ordering.

Adds pubsub_subscription_order test and includes it in the test runner.
2026-01-15 09:11:12 +01:00
Julien Letessier
4b127b8eed Fix pubsub SubMsg responses
Attach parsed pubsub responses to SubMsg requests so message data is delivered.

Adds pubsub_message_response test and runs it in test harness.
2026-01-15 09:10:29 +01:00
Julien Letessier
9117970abb Document testing in README 2026-01-14 22:35:47 +01:00
Julien Letessier
dca6079f59 Fix pubsub test assertions 2026-01-14 22:34:51 +01:00
Julien Letessier
a8d4feb06c Add pubsub tests for Redis parity 2026-01-14 21:50:45 +01:00
Julien Letessier
b2a96d6979 Add test harness and basic tests 2026-01-14 21:30:55 +01:00
fortrue
ca1630a6b4
Merge pull request #185 from joyieldInc/fix/issue124
avoid to use leader's connection for follow request
2024-01-31 11:40:02 +08:00
fortrue
9b85bd0e38 avoid to use leader's connection for follow request 2024-01-25 22:28:45 +08:00
fortrue
c15f54e274
Merge pull request #140 from shuaiming/patch-1
Update config_CN.md
2021-10-01 18:39:58 +08:00
shuaiming
fbb5a8acb3
Update config_CN.md
Fix typo
2021-09-17 18:14:11 +08:00
fortrue
393ff81e69
Merge pull request #101 from joyieldInc/FixPrivateConnLeak
fix private connection leak
2020-02-01 15:24:14 +08:00
fortrue
ace6ed2941 fix private connection leak 2019-06-15 09:03:54 +08:00
fortrue
dacf3fb30c
Merge pull request #73 from leenr/master
Add support for `zpopmax` and `zpopmin` redis commands (server 5.0.0+)
2019-02-09 08:45:57 +08:00
Vladimir Solomatin
ebf7bd2d82
Add support for zpopmax and zpopmin redis commands (server 5.0.0+) 2019-02-07 20:18:08 +03:00
fortrue
ca9cde0487
Merge pull request #71 from crierr/variadic-hset
Fix HSET to support multiple fields
2019-01-26 14:17:38 +08:00
SeungJin Oh
df3aa1aa92 Fix HSET to support multiple fields
- From Redis 4.0.0 HSET is recommended for multiple fields and HMSET is deprecated
2019-01-25 16:58:06 +09:00
fortrue
4d9166443b release 1.0.5 2018-09-22 19:52:50 +08:00
fortrue
57de3c2a03
Merge pull request #48 from joyieldInc/StandaloneServerPool
support redis standalone backend
2018-09-22 12:17:25 +08:00
fortrue
63596e951d fix Command Mode mistake 2018-08-19 17:21:17 +08:00
fortrue
fb1ac64251 support redis standalone backend 2018-07-08 17:28:25 +08:00
fortrue
0635178c2e
Merge pull request #42 from mosquito/master
[fix] ipv6 address parsing
2018-07-05 08:15:04 -05:00
Dmitry Orlov
a2a5d78fbd [fix] ipv6 address parsing 2018-07-05 13:01:06 +03:00
fortrue
36152f570d
Merge pull request #40 from joyieldInc/issue32
Issue32
2018-07-04 23:02:37 -05:00
fortrue
20bfcb657e fix async assign client race condition, #32 #33 #35 #36 2018-07-05 11:54:12 +08:00
fortrue
34cc6d151e fix for script load command follow policy 2018-06-12 16:29:12 +08:00
fortrue
7fda4b77c1 1.fix multi-keys request leader self reference
2.adjust alloc implement
2018-05-16 09:56:43 +08:00
fortrue
bbbe798629 fix crash because server without DC, but config defined DC, see #32 2018-04-29 19:34:32 +08:00
fortrue
28edb79c61 1.fix compile error in MAC OS X for TCP_KEEPIDLE
2.change the version to 1.0.5-pre
2018-04-23 14:00:27 +08:00
fortrue
a856f2607f fix string format output bug 2018-04-23 11:45:46 +08:00
fortrue
4b8f578a2f
Merge pull request #28 from yoonian/master
Add support for custom commands
2018-04-16 15:24:01 +08:00
Yoon
bf635bbfab Remove type in Conf 2018-04-13 17:22:14 +09:00
Yoon
a13bb36159 Add a fix(by @fortrue) 2018-04-13 15:44:49 +09:00
Yoon
a559ac0d4f Support multiple Latency Monitors
- Fix a dangling pointer bug
2018-04-13 14:12:11 +09:00
Yoon
9d1d1af5bf Remove config order restriction
- Delay setLatencyMonitor to load custom commands config first
- Fix custom command container bug
2018-04-12 15:05:02 +09:00
Yoon
dcdc9a1ba0 Change config description style 2018-04-12 11:59:15 +09:00
Yoon
95f4580ccf Add custom command config checking
- add config sample(including Read mode)
- apply @fortue's suggestion to check exclusive mode and key postion
2018-04-10 17:07:47 +09:00
Yoon
aa013991f7 Add custom command exclusive mode checking 2018-04-10 10:32:59 +09:00
Yoonian
75228f3272 Add support for custom commands
- Support maximum 16 commands
- Add a sample configuration(conf/command.conf)
2018-04-09 21:28:16 +09:00
fortrue
ce210cdee3 1.modify default ServerTimeout and KeepAlive to 0
2.improve doc
2018-03-28 20:27:04 +08:00
fortrue
a14f11cec9 release 1.0.4 2018-03-26 15:16:44 +08:00
fortrue
0891036e8c 1.wait for response when connecting to redis
2.remove unused code
3.fix sentinel.conf typing
2018-03-26 14:59:20 +08:00
fortrue
4eda710da4 add wechat contact 2018-03-26 10:12:24 +08:00
fortrue
9afc183a1b
Merge pull request #24 from markus9203902/patch-1
Description for new confing available from commit fixing issue 21
2018-03-20 08:27:04 +08:00
markus9203902
8be48e16e5
Upd wiki page to comply with changes from 86183a4
Added new commands description, KeepAlive and ServerTimeout.
2018-03-19 17:08:15 +03:00
fortrue
ec36627f91 Issue #23
change signal SIGHUP action from abort process to ignore
log signal value when process aborted by signal
2018-03-16 12:28:07 +08:00
fortrue
37b3a07b9f fix config document addr 2018-02-28 19:25:32 +08:00
fortrue
86183a4a97 support redis server connection keepalive and timeout
fix Issue #21
2018-02-23 16:47:03 +08:00
fortrue
1644a9bf1b
fix table typing 2018-01-25 17:02:07 +08:00
fortrue
55cc0dccfd add benchmark with redis 2018-01-25 16:57:18 +08:00