cassandra
cassandra copied to clipboard
CASSANDRA-17753: Include GitSHA in nodetool version output
Jira: https://issues.apache.org/jira/browse/CASSANDRA-17753 CircleCI: https://app.circleci.com/pipelines/github/aratno/cassandra?branch=CASSANDRA-17753-nodetool-version-gitsha
# When Cassandra is built with a clean Git index
$ ./bin/nodetool version
ReleaseVersion: 4.1-alpha2-SNAPSHOT
GitSHA: 5fce07e2f1e2e0b9cf7d82adfd8c0b21993f8672
# When Cassandra is built with a dirty Git index
$ ./bin/nodetool version
ReleaseVersion: 4.1-alpha2-SNAPSHOT
GitSHA: 5fce07e2f1e2e0b9cf7d82adfd8c0b21993f8672-dirty
suggestions/requests raised in the ticket
Thanks @michaelsembwever - all changes requested are now addressed. Do you want me to merge in trunk and resolve conflicts, squash, or anything else to make this easier to commit?
Yes, please squash to one commit. Are you familiar with our commit message format? (if not, the committer will adjust it accordingly)
There's also one minor edit to make, the CHANGES.txt line need to finish with (CASSANDRA-17753)
Should be all good now - did I do it right @michaelsembwever?
ci-cassandra: https://ci-cassandra.apache.org/job/Cassandra-devbranch-artifacts/1749/
LGTM 👍
latest changed LGTM! thanks!
https://ci-cassandra.apache.org/job/Cassandra-devbranch/1886/
https://ci-cassandra.apache.org/job/Cassandra-devbranch/1886/
something is up with the dtest-upgrade… (took a re-run of it here too: https://ci-cassandra.apache.org/job/Cassandra-devbranch-dtest-upgrade/1177/ ) haven't had time to investigate it… but wondering if this patch needs to be rebased off latest trunk…
Just rebased, looks like the Paxos state issue impacting test clean-up across the board.
Unexpected error found in node logs (see stdout for full details). Errors: [[node1] 'ERROR [main] 2022-08-20 10:40:54,861 CassandraDaemon.java:896 - Exception encountered during startup\njava.lang.ExceptionInInitializerError: null\n\tat org.apache.cassandra.service.paxos.PaxosState.initializeTrackers(PaxosState.java:116)
new round: https://ci-cassandra.apache.org/blue/organizations/jenkins/Cassandra-devbranch/detail/Cassandra-devbranch/1900/pipeline
Another CircleCI run: https://app.circleci.com/pipelines/github/aratno/cassandra?status=none&status=running&branch=CASSANDRA-17753-nodetool-version-gitsha