diff --git a/lib/streamaggr/streamaggr.go b/lib/streamaggr/streamaggr.go index f7110290e0..f93c785152 100644 --- a/lib/streamaggr/streamaggr.go +++ b/lib/streamaggr/streamaggr.go @@ -871,6 +871,7 @@ func getOutputKey(key string) string { if nSize <= 0 { logger.Panicf("BUG: cannot unmarshal inputKeyLen from uvarint") } + src = src[nSize:] outputKey := src[inputKeyLen:] return bytesutil.ToUnsafeString(outputKey) }