mirror of
https://github.com/fluencelabs/redis
synced 2025-03-23 19:10:51 +00:00
CG: RDB loading, fix inverted conditional.
This commit is contained in:
parent
f4e1a4de25
commit
9f60a6bcee
@ -1670,7 +1670,7 @@ robj *rdbLoadObject(int rdbtype, rio *rdb) {
|
|||||||
* loading the global PEL. Then set the same shared
|
* loading the global PEL. Then set the same shared
|
||||||
* NACK structure also in the consumer-specific PEL. */
|
* NACK structure also in the consumer-specific PEL. */
|
||||||
nack->consumer = consumer;
|
nack->consumer = consumer;
|
||||||
if (raxInsert(consumer->pel,rawid,sizeof(rawid),nack,NULL))
|
if (!raxInsert(consumer->pel,rawid,sizeof(rawid),nack,NULL))
|
||||||
rdbExitReportCorruptRDB("Duplicated consumer PEL entry "
|
rdbExitReportCorruptRDB("Duplicated consumer PEL entry "
|
||||||
" loading a stream consumer "
|
" loading a stream consumer "
|
||||||
"group");
|
"group");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user