We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48a4477 commit 736371bCopy full SHA for 736371b
server/.tmp
66 Bytes
server/filestore.go
@@ -7143,8 +7143,8 @@ func (mb *msgBlock) indexCacheBuf(buf []byte) error {
7143
// earlier loop if we've ran out of block file to look at, but should
7144
// be easily noticed because the seq will be below the last seq from
7145
// the index.
7146
- if seq > 0 && seq < mbLastSeq {
7147
- for dseq := seq; dseq < mbLastSeq; dseq++ {
+ if seq > 0 && seq+1 <= mbLastSeq {
+ for dseq := seq + 1; dseq <= mbLastSeq; dseq++ {
7148
idx = append(idx, dbit)
7149
if dms == 0 {
7150
mb.dmap.Insert(dseq)
0 commit comments