Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
We need new condition to verify current time.
if (coordJob.getNextMaterializedTimestamp() != null && coordJob.getNextMaterializedTimestamp().after( new Timestamp(System.currentTimeMillis() + lookAheadWindow * 1000))) { throw new PreconditionException(ErrorCode.E1100, "CoordMaterializeTransitionXCommand for jobId=" + jobId + " Request is for future time. Lookup time is " + new Timestamp(System.currentTimeMillis() + lookAheadWindow * 1000) + " mat time is " + coordJob.getNextMaterializedTimestamp()); }