Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TR-12632: Cassandra Depreciation for Server - Existing Customers: Update upgradeTestRail.sh #70

Open
wants to merge 3 commits into
base: feature/TR-12627
Choose a base branch
from

Conversation

shubham-kickdrumtech
Copy link

@shubham-kickdrumtech shubham-kickdrumtech changed the base branch from feature/TR-12627 to master December 27, 2024 06:57
@shubham-kickdrumtech shubham-kickdrumtech changed the base branch from master to feature/TR-12627 December 27, 2024 06:59
@@ -44,13 +46,20 @@ else
fi
fi


if [ "$(printf '%s\n' "$version" "$cassandraDeprecationVersion" | sort -V | head -n1)" == "$version" ] && [ "$version" != "$cassandraDeprecationVersion" ]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aren't we checking if cassandra deprecation version is lower than 9?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gneb Essentially, we are verifying that if the app version is more than or equal to 9, then cassandra deprecation will be applied;For all the below version, a cassandra image will be created. 
Please take note that once the version is stable, we will update this number from 9 to the appropriate value.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, also we need to be sure that it will work for any combinations, like 9.0.0, 9.0, 9, 9.0.1, 9.5, 9.5.0, etc... @shubham-kickdrumtech

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gneb It was failing for version 9.0 and 9 which we have fixed and pushed the changes, thanks for pointing this, please find the attachments:
Screenshot 2024-12-27 at 5 52 51 PM
Screenshot 2024-12-27 at 5 53 15 PM
Screenshot 2024-12-27 at 5 53 40 PM
Screenshot 2024-12-27 at 5 54 02 PM
Screenshot 2024-12-27 at 5 54 23 PM
Screenshot 2024-12-27 at 5 55 40 PM

@@ -4,6 +4,8 @@ timeStamp=$(date "+%Y.%m.%d-%H.%M.%S")
dbFolder=_mysql
optFolder=_opt
confFolder=_config
cassandraDeprecationVersion="9.0.0"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shubham-kickdrumtech I'd consider adding a comment before this line, so that it will be clear this version number will need to be updated.

CC: @gneb

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@damianoferrari I have added the comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants