stankiewicz commented on code in PR #39020:
URL: https://github.com/apache/beam/pull/39020#discussion_r3615030086
##########
sdks/java/core/src/main/java/org/apache/beam/sdk/PipelineResult.java:
##########
@@ -107,6 +107,12 @@ enum State {
/** The job has been updated. */
UPDATED(true, true),
+ /** The job is draining: no longer accepting new input while finishing
in-flight work. */
+ DRAINING(false, false),
+
+ /** The job has finished draining. */
+ DRAINED(true, false),
Review Comment:
Update `CHANGES.md` file about this change.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]