[ 
https://issues.apache.org/jira/browse/CASSANDRA-17986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brandon Williams updated CASSANDRA-17986:
-----------------------------------------
    Change Category: Semantic
         Complexity: Low Hanging Fruit
      Fix Version/s: 4.x
             Status: Open  (was: Triage Needed)

> improve StartupException related codes
> --------------------------------------
>
>                 Key: CASSANDRA-17986
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17986
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Local/Other
>            Reporter: Ling Mao
>            Assignee: Kanthi Subramanian
>            Priority: Normal
>             Fix For: 4.x
>
>
> 1. We should use the enum: _*ERR_WRONG_MACHINE_STATE*_ and 
> *_ERR_WRONG_DISK_STATE_* to replace the magic number: 1 and 3
> {code:java}
> exitOrFail(1, e.getMessage(), e.getCause());
> exitOrFail(3, "Exception encountered during startup", e);{code}
>  
> 2. Delete the useless field: *_ERR_OUTDATED_SCHEMA_*



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to