Skip to content

(infra): updating Cassandra provision CQL to support 4.0 syntax minds/infrastructure/infrastructure#26

Zack Wynne requested to merge infra/cassandra-upgrade-26 into master

Ticket(s) / Related Merge Requests

minds/infrastructure/infrastructure#26 (closed)

Summary of Changes

This MR upgrades the Cassandra provisioner to support bootstrapping Minds on Cassandra 4.0.

Testing Considerations

  • Background read repairs are removed in 4.0, so the corresponding options are removed
  • Two of the materialized views didn't specify a NOT NULL for the entity_urn field. This was updated as primary keys must not be null.

Deployment Considerations

This should only affect the local stack (or when installing fresh)

Regression Scope

Local Cassandra

Platform Affected (web, mobile, etc)

N/A

Developer Testing Completed

Tested installing w/ Cassandra 4.0 and using the app locally

Screenshots / Screen Recording

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode

Definition of Done Checklist

  • The Acceptance Criteria has been met
  • Code is tested: Testing includes unit/spec, E2E/automated and manual testing
  • Merge requests description has been filled out
Edited by Zack Wynne

Merge request reports