graphite-project/carbon — pull request #177 by plankthom (2013-11-05 13:28:51+00:00)
Title: fixed behavior on non-real time data points (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.