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

Cassandra Schema Migration Error #5303

Open
harisanker opened this issue May 25, 2023 · 0 comments
Open

Cassandra Schema Migration Error #5303

harisanker opened this issue May 25, 2023 · 0 comments

Comments

@harisanker
Copy link

Version of Cadence server, and client(which language)
This is very important to root cause bugs.

  • Server version: 0.22.0
  • Client version:
  • Client langauge:

Describe the bug
This issue is happening in cadence helm chart https://artifacthub.io/packages/helm/banzaicloud-stable/cadence/0.22.0
Cadence schema migration is failing with below error in cadence-schema-setup pod

2023/05/25 13:32:59 Starting schema setup, config=&{SchemaFilePath: InitialVersion:0.0 Overwrite:false DisableVersioning:false} 2023/05/25 13:32:59 Setting up version tables 2023/05/25 13:32:59 Cannot add already existing table "schema_version" to keyspace "cadence"

Because of the schema migration issues , all other cadence pods are in CrashLoopBackOff status with error
cassandra schema version compatibility check failed: version mismatch for keyspace/database: "cadence". Expected version: 0.31 cannot be greater than Actual version: 0.0

To Reproduce
Is the issue reproducible?

  • [Yes]

Steps to reproduce the behavior:
Issue is always happening when we included cadence as a dependent chart in our main helm chart.
dependencies:

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

No branches or pull requests

1 participant