Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
@Jjneely merge timeseries #1352
During a rebalance of a consistent hash cluster, after a partition event
During a rebalance of a consistent hash cluster, after a partition event on a replication > 1 cluster, or in other cases we might receive multiple TimeSeries data for a metric key. Merge them together rather that choosing the "most complete" one.
For large queries this speed things up by an order of magnitude. I had a query that pulled 93,000+ series and was taking 34 minutes of the webapp to search this list. With a dict instead the same query runs in 45 seconds.