aggregator: Always lock aggpad around update_time_level
-
aggregator: Always lock aggpad around update_time_level
aggpad->segment
is protected by theaggpad
's object lock. We need to take the lock before callingupdate_time_level
. -
aggregator: Warn about the right segment's format
We were checking the head segment here, not the current segment.