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
9ec144ea
Commit
9ec144ea
authored
Mar 14, 2019
by
Guy Benoish
Committed by
antirez
Mar 14, 2019
Browse files
Fix mismatching keyspace notification classes
parent
d04b5211
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/geo.c
View file @
9ec144ea
...
...
@@ -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 @
9ec144ea
...
...
@@ -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