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

DB Migrations framework #62

Open
snarvaez opened this issue Aug 18, 2023 · 0 comments
Open

DB Migrations framework #62

snarvaez opened this issue Aug 18, 2023 · 0 comments
Assignees

Comments

@snarvaez
Copy link
Collaborator

In order for anyone to clone this repo and run on their own environment, there should be a series of immutable and idempotent deployment steps that creates collections with required indexes and sharding strategies (when run against a sharded cluster).

Consider the use of a migrations framework, like Mongo.Migration or mongo-extensions.Migration.

This could also be accomplished with simple naming convention of .js files (i.e. 0_setup.js, 1_indexes.js, etc.) to be executed from the mongo shell.

Which ever path is chosed, it should allow anyone to deploy the Leafsteroids backing database on their localhost (standalone), against a replica set (i.e. Atlas M0) or an Atlas Global Cluster with 2 or more zones with related sharded collections.

Researching and prototyping is needed.

@snarvaez snarvaez self-assigned this Aug 18, 2023
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