antirez
666b3437e6
Disable protected mode in Sentinel mode.
...
Sentinel must be exposed, so protected mode is just an issue for users
in case Redis was started in Sentinel mode.
Related to #3279 and #3329 .
2018-10-31 12:37:48 +01:00
antirez
7e6d1fae1b
Disable protected mode in Sentinel mode.
...
Sentinel must be exposed, so protected mode is just an issue for users
in case Redis was started in Sentinel mode.
Related to #3279 and #3329 .
2018-10-31 12:37:48 +01:00
antirez
06a4acb7d3
When replica kills a pending RDB save during SYNC, log it.
...
This logs what happens in the context of the fix in PR #5367 .
2018-10-31 11:47:10 +01:00
antirez
f727bf95f7
When replica kills a pending RDB save during SYNC, log it.
...
This logs what happens in the context of the fix in PR #5367 .
2018-10-31 11:47:10 +01:00
Salvatore Sanfilippo
6204d8c139
Merge pull request #5367 from nUl1/fullresync-stopbgsave
...
Prevent RDB autosave from overwriting full resync results
2018-10-31 11:42:04 +01:00
Salvatore Sanfilippo
beefadd929
Merge pull request #5367 from nUl1/fullresync-stopbgsave
...
Prevent RDB autosave from overwriting full resync results
2018-10-31 11:42:04 +01:00
David Carlier
e84d327fc1
Merge branch 'clang_build_fix_warnings' of https://github.com/devnexen/redis into clang_build_fix_warnings
2018-10-31 09:53:25 +00:00
David Carlier
41903baf9c
Merge branch 'clang_build_fix_warnings' of https://github.com/devnexen/redis into clang_build_fix_warnings
2018-10-31 09:53:25 +00:00
David Carlier
cf2f5e19d9
tweak form feedback
2018-10-31 09:53:07 +00:00
David Carlier
266f2e8900
tweak form feedback
2018-10-31 09:53:07 +00:00
David Carlier
9d6fbf0e00
allow flavors
2018-10-30 21:41:49 +00:00
David Carlier
725fbf78ee
allow flavors
2018-10-30 21:41:49 +00:00
David Carlier
a21d1522c7
allow flavors
2018-10-30 14:38:05 +00:00
David Carlier
2c3f9cd668
allow flavors
2018-10-30 14:38:05 +00:00
David Carlier
6534b3e09e
Fix clang build.
...
Some math functions require c11 standard.
2018-10-30 13:23:43 +00:00
David Carlier
95423cc26c
Fix clang build.
...
Some math functions require c11 standard.
2018-10-30 13:23:43 +00:00
antirez
0c875c7751
asyncCloseClientOnOutputBufferLimitReached(): don't free fake clients.
...
Fake clients are used in special situations and are not linked to the
normal clients list, freeing them will always result in Redis crashing
in one way or the other.
It's not common to send replies to fake clients, but we have one usage
in the modules API. When a client is blocked, we associate to the
blocked client object (that is safe to manipulate in a thread), a fake
client that accumulates replies. So because of this bug there was
the problem described in issue #5443 .
The fix was verified to work with the provided example module. To write
a regression is very hard and unlikely to be triggered in the future.
2018-10-30 13:38:41 +01:00
antirez
3fee01a94d
asyncCloseClientOnOutputBufferLimitReached(): don't free fake clients.
...
Fake clients are used in special situations and are not linked to the
normal clients list, freeing them will always result in Redis crashing
in one way or the other.
It's not common to send replies to fake clients, but we have one usage
in the modules API. When a client is blocked, we associate to the
blocked client object (that is safe to manipulate in a thread), a fake
client that accumulates replies. So because of this bug there was
the problem described in issue #5443 .
The fix was verified to work with the provided example module. To write
a regression is very hard and unlikely to be triggered in the future.
2018-10-30 13:38:41 +01:00
Salvatore Sanfilippo
f1408b1729
Merge pull request #5489 from devnexen/unstable
...
Fix non Linux build.
2018-10-29 18:25:14 +01:00
Salvatore Sanfilippo
a304f91816
Merge pull request #5489 from devnexen/unstable
...
Fix non Linux build.
2018-10-29 18:25:14 +01:00
David Carlier
ae3bfe583e
needs it for the global
2018-10-26 14:12:47 +00:00
David Carlier
bcb8dcc601
needs it for the global
2018-10-26 14:12:47 +00:00
David Carlier
0b73d0a8d2
Fix non Linux build.
...
timezone global is a linux-ism whereas it is a function under BSD.
Here a helper to get the timezone value in a more portable manner.
2018-10-26 14:02:09 +00:00
David Carlier
869612a867
Fix non Linux build.
...
timezone global is a linux-ism whereas it is a function under BSD.
Here a helper to get the timezone value in a more portable manner.
2018-10-26 14:02:09 +00:00
antirez
b8febe60b4
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2018-10-25 13:08:58 +02:00
antirez
26599b4f6c
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2018-10-25 13:08:58 +02:00
antirez
f5494b1862
Add command fingerprint comment for XSETID.
2018-10-25 13:08:48 +02:00
antirez
c7818eec49
Add command fingerprint comment for XSETID.
2018-10-25 13:08:48 +02:00
Salvatore Sanfilippo
6dde56bf93
Merge pull request #5454 from soloestoy/multi-oom
...
MULTI: OOM err if cannot free enough memory in MULTI/EXEC context
2018-10-25 13:00:19 +02:00
Salvatore Sanfilippo
7dc0315b10
Merge pull request #5454 from soloestoy/multi-oom
...
MULTI: OOM err if cannot free enough memory in MULTI/EXEC context
2018-10-25 13:00:19 +02:00
antirez
998001fbf2
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2018-10-25 11:50:15 +02:00
antirez
235645f5ae
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2018-10-25 11:50:15 +02:00
Salvatore Sanfilippo
12d5be1bf2
Merge pull request #5459 from itamarhaber/xpending_count_underflow
...
A fix to XPENDING's count underflow
2018-10-25 11:50:04 +02:00
Salvatore Sanfilippo
1a8f69c990
Merge pull request #5459 from itamarhaber/xpending_count_underflow
...
A fix to XPENDING's count underflow
2018-10-25 11:50:04 +02:00
antirez
6e11ef30e0
Fix XRANGE COUNT option for value of 0.
2018-10-25 11:36:24 +02:00
antirez
f66299705b
Fix XRANGE COUNT option for value of 0.
2018-10-25 11:36:24 +02:00
antirez
f06e8c331c
Fix typo in streamReplyWithRange() top comment.
2018-10-24 16:28:44 +02:00
antirez
95770b8a52
Fix typo in streamReplyWithRange() top comment.
2018-10-24 16:28:44 +02:00
Salvatore Sanfilippo
e8c108e938
Merge pull request #5469 from soloestoy/stat-key-miss-if-expired
...
if we read a expired key, misses++
2018-10-24 12:31:28 +02:00
Salvatore Sanfilippo
6c69d894d6
Merge pull request #5469 from soloestoy/stat-key-miss-if-expired
...
if we read a expired key, misses++
2018-10-24 12:31:28 +02:00
Salvatore Sanfilippo
a2131f907a
Merge pull request #5453 from damz/pr/aof-buffer-evict
...
Overhead is the allocated size of the AOF buffer, not its length
2018-10-24 12:28:28 +02:00
Salvatore Sanfilippo
f2d2041d60
Merge pull request #5453 from damz/pr/aof-buffer-evict
...
Overhead is the allocated size of the AOF buffer, not its length
2018-10-24 12:28:28 +02:00
antirez
8749fc3f67
Simplify part of the #5470 patch.
2018-10-24 12:26:27 +02:00
antirez
bad3e8f745
Simplify part of the #5470 patch.
2018-10-24 12:26:27 +02:00
Salvatore Sanfilippo
3c89fb5ffd
Merge pull request #5470 from soloestoy/keys-no-trigger-expire
...
do not delete expired keys in KEYS command
2018-10-24 12:23:59 +02:00
Salvatore Sanfilippo
e826aee8b2
Merge pull request #5470 from soloestoy/keys-no-trigger-expire
...
do not delete expired keys in KEYS command
2018-10-24 12:23:59 +02:00
antirez
54e8dd11ff
Use guide comments to make changes in #5462 more obvious.
2018-10-22 17:43:48 +02:00
antirez
e0b68a22ff
Use guide comments to make changes in #5462 more obvious.
2018-10-22 17:43:48 +02:00
antirez
0f18d8e0ed
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2018-10-22 17:41:43 +02:00
antirez
428e595e5f
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2018-10-22 17:41:43 +02:00