Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit 586e30f

Browse files
committedFeb 13, 2020
better comment
1 parent ccdae8f commit 586e30f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎api/dataprocessor.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,8 @@ func (s *Server) getSeriesCachedStore(ctx *requestContext, ss *models.StorageSta
619619
return iters, nil
620620
}
621621

622-
// check for duplicate series names for the same query target. If found merge the results.
622+
// mergeSeries merges series together if applicable. It does this by categorizing
623+
// series into groups based on their target, query, consolidator etc. If they collide, they get merged.
623624
// each first uniquely-identified series's backing datapoints slice is reused
624625
// any subsequent non-uniquely-identified series is merged into the former and has its
625626
// datapoints slice returned to the pool. input series must be canonical

0 commit comments

Comments
 (0)