We currently keep track of a few timing properties for an event import source for a given publish state. They are used for mediator pagination and publish progress calculation. However, firstEventForSourceAtTimeOfPublishTimestamp
and lastEventForSourceAtTimeOfPublishTimestamp keep the time offset of the engine, while lastImportedEventTimestamp and lastImportExecutionTimestamp use the offset of Optimize. It doesn't appear to have an effect of publish progress state but is confusing anyway.
ATs:
- All four properties should use the same offset, as set in Optimize