Skip to content

Commit

Permalink
fix: fix missing group offset for stream type RDB_TYPE_STREAM_LISTPAC…
Browse files Browse the repository at this point in the history
…KS_3
  • Loading branch information
suxb201 committed Nov 22, 2024
1 parent e3bf5c2 commit d189d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/rdb/types/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func (o *StreamObject) readStream() {
cmdC <- []string{"XGROUP", "CREATE", masterKey, groupName, lastid}

/* Load group offset. */
if typeByte == rdbTypeStreamListpacks2 {
if typeByte >= rdbTypeStreamListpacks2 {
_ = structure.ReadLength(rd) // offset
}

Expand Down

0 comments on commit d189d9d

Please sign in to comment.