Skip to content

Commit

Permalink
Keep multi cursor default reader always running (#3626)
Browse files Browse the repository at this point in the history
  • Loading branch information
yycptt committed Nov 19, 2022
1 parent 91a67f4 commit 9541374
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion service/history/queues/queue_base.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,9 @@ func (p *queueBase) checkpoint() {
scopes := reader.Scopes()

if len(scopes) == 0 {
p.readerGroup.RemoveReader(readerID)
if readerID != DefaultReaderId {
p.readerGroup.RemoveReader(readerID)
}
continue
}

Expand Down

0 comments on commit 9541374

Please sign in to comment.