graphite-project/carbon — pull request #176 by plankthom (2013-11-05 13:00:22+00:00)
Title: fixed aggregator behavior on non-real time data points

occurs with clock differences, queued or replayed data
* MAX_AGGREGATION_INTERVALS: consecutive number of extra aggregation
buckets to keep, relative to most recent timestamp of previous data
for that metric (and NOT system time)
* MAX_AGGREGATION_AGE: maximum time (in number of aggregation intervals)
to keep the buckets around (since system time of last update),
defaults to 0 (no cleanup). Internally updated to
MAX_AGGREGATION_INTERVALS if it is smaller that this setting.
* do not write data that arrives to late (as it overwrites data that
is stored), a warning is emitted to the aggregation log.