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

Dinesh Joshi reassigned CASSANDRA-15636:
----------------------------------------

    Assignee: Dinesh Joshi

> Refactor protocol related code to eliminate magic numbers
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-15636
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15636
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Messaging/Client
>            Reporter: Dinesh Joshi
>            Assignee: Dinesh Joshi
>            Priority: Low
>         Attachments: patch.diff
>
>
> Parts of Cassandra's codebase has protocol related magic numbers. It makes 
> the code hard to understand. We should refactor the code to remove magic 
> numbers and instead replace them with versioned constants. This will help 
> make the code clearer. Example: 
> https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/transport/messages/ErrorMessage.java#L288



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to