wolfboys commented on code in PR #2875:
URL:
https://github.com/apache/incubator-streampark/pull/2875#discussion_r1295233611
##########
streampark-common/src/main/java/org/apache/streampark/common/enums/ClusterState.java:
##########
@@ -32,7 +32,7 @@ public enum ClusterState implements Serializable {
/** cluster unknown */
UNKNOWN(4),
STARTING(5),
- CANCELING(6),
+ CANCELLING(6),
Review Comment:
These values are too arbitrary. We can set the status according to certain
rules, such as transitioning from "create" to "start" to "stop". e.g:
```
CREATED(0),
STARTING(1),
RUNNING(2),
CANCELLING(3),
CANCELED(4),
FAILED(5),
KILLED(6);
LOST(7),
UNKNOWN(8)
```
--
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]