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
f3d9520c
Commit
f3d9520c
authored
Mar 02, 2018
by
antirez
Browse files
CG: fix CG RDB loading not found conditional.
parent
34614a15
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/rdb.c
View file @
f3d9520c
...
@@ -1674,7 +1674,7 @@ robj *rdbLoadObject(int rdbtype, rio *rdb) {
...
@@ -1674,7 +1674,7 @@ robj *rdbLoadObject(int rdbtype, rio *rdb) {
unsigned
char
rawid
[
sizeof
(
streamID
)];
unsigned
char
rawid
[
sizeof
(
streamID
)];
rdbLoadRaw
(
rdb
,
rawid
,
sizeof
(
rawid
));
rdbLoadRaw
(
rdb
,
rawid
,
sizeof
(
rawid
));
streamNACK
*
nack
=
raxFind
(
cgroup
->
pel
,
rawid
,
sizeof
(
rawid
));
streamNACK
*
nack
=
raxFind
(
cgroup
->
pel
,
rawid
,
sizeof
(
rawid
));
if
(
nack
==
NULL
)
if
(
nack
==
raxNotFound
)
rdbExitReportCorruptRDB
(
"Consumer entry not found in "
rdbExitReportCorruptRDB
(
"Consumer entry not found in "
"group global PEL"
);
"group global PEL"
);
...
...
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