Do not use LastTS for dummy offset. (#2700)
* Do not use LastTS for dummy offset. LastTS could be random when using dummy start. That should not be used in calculating offsets. Also, do not push padding into sequence before init. Could have heppened with dummy start. * apply dummy offset before comparing to last * refresh ref TS * initialize codec munger on catch up forwarding
This commit is contained in:
@@ -237,7 +237,7 @@ func (s *sequencer) pushPadding(extStartSNInclusive uint64, extEndSNInclusive ui
|
||||
s.Lock()
|
||||
defer s.Unlock()
|
||||
|
||||
if s.snRangeMap == nil {
|
||||
if s.snRangeMap == nil || !s.initialized {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user