rmetzger opened a new pull request #13368:
URL: https://github.com/apache/flink/pull/13368
## What is the purpose of the change
FLINK-16866 ("Make job submission non-blocking") introduced a new JobStatus
INITIALIZING. However, the `ExecutionGraph.stateTimestamps` field does not
contain the proper timestamp for the INITIALIZING state (it will only be
non-zero while the job is INITIALIZING).
This change forwards the timestamp from the Dispatcher to the ExecutionGraph.
## Brief change log
- Move timestamp creation out of DispatcherJob into Dispatcher
- Forward timestamp from Dispatcher to ExecutionGraph
- Add a test
## Verifying this change
The change includes a new test.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (yes / *no*)
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: (yes / *no*)
- The serializers: (yes / *no* / don't know)
- The runtime per-record code paths (performance sensitive): (yes / *no* /
don't know)
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (*yes* / no /
don't know)
- The S3 file system connector: (yes / *no* / don't know)
## Documentation
Not necessary.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]