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
178114e7
Unverified
Commit
178114e7
authored
Mar 14, 2019
by
Salvatore Sanfilippo
Committed by
GitHub
Mar 14, 2019
Browse files
Merge pull request #5931 from guybe7/fix_notify_classes
Fix mismatching keyspace notification classes
parents
d3cd2e9a
b2eb48df
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/geo.c
View file @
178114e7
...
...
@@ -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 @
178114e7
...
...
@@ -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