fix use pChannel in seek position (#25611)

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
pull/25595/head
wei liu 2023-07-17 09:18:33 +08:00 committed by GitHub
parent 74ad7c4601
commit 51c348158b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -225,6 +225,8 @@ func (d *Dispatcher) work() {
}
if err != nil {
t.pos = pack.StartPositions[0]
// replace the pChannel with vChannel
t.pos.ChannelName = t.vchannel
d.lagTargets.LoadOrStore(t.vchannel, t)
d.nonBlockingNotify()
delete(d.targets, vchannel)