Patches and Review
This section covers the full lifecycle of a code contribution to Apache Cassandra: from finding something to work on through patch submission, code review, and committing.
In This Section
- Contributing Code Changes
-
The contribution workflow — choosing what to work on, creating a patch, and submitting it for review.
- Code Style
-
Java coding conventions, import ordering, exception handling, and license compliance.
- Review Checklist
-
What reviewers look for when evaluating patches.
- How to Commit
-
For committers: the merge workflow across release branches, including submodule handling.
Quick Reference
-
Find or create a JIRA ticket
-
If you have not used ASF JIRA before, start with the JIRA quickstart.
-
Fork apache/cassandra and create a feature branch
-
Make your changes following the code style guidelines
-
Write tests (see Testing)
-
Submit a GitHub pull request, or attach a patch to the JIRA ticket if the workflow calls for it
-
In JIRA, click Submit Patch so the ticket moves to
Patch Availableand reviewers know the patch is ready -
Address review feedback and iterate until the patch receives a
+1
See Contributing Code Changes for the full workflow.