Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
b2eb48df
Commit
b2eb48df
authored
Mar 14, 2019
by
Guy Benoish
Browse files
Fix mismatching keyspace notification classes
parent
d3cd2e9a
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/geo.c
View file @
b2eb48df
...
...
@@ -659,7 +659,7 @@ void georadiusGeneric(client *c, int flags) {
zsetConvertToZiplistIfNeeded
(
zobj
,
maxelelen
);
setKey
(
c
->
db
,
storekey
,
zobj
);
decrRefCount
(
zobj
);
notifyKeyspaceEvent
(
NOTIFY_
LIS
T
,
"georadiusstore"
,
storekey
,
notifyKeyspaceEvent
(
NOTIFY_
ZSE
T
,
"georadiusstore"
,
storekey
,
c
->
db
->
id
);
server
.
dirty
+=
returned_items
;
}
else
if
(
dbDelete
(
c
->
db
,
storekey
))
{
...
...
src/t_list.c
View file @
b2eb48df
...
...
@@ -520,7 +520,7 @@ void lremCommand(client *c) {
if
(
removed
)
{
signalModifiedKey
(
c
->
db
,
c
->
argv
[
1
]);
notifyKeyspaceEvent
(
NOTIFY_
GENERIC
,
"lrem"
,
c
->
argv
[
1
],
c
->
db
->
id
);
notifyKeyspaceEvent
(
NOTIFY_
LIST
,
"lrem"
,
c
->
argv
[
1
],
c
->
db
->
id
);
}
if
(
listTypeLength
(
subject
)
==
0
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment