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

Run all Rails tests in sharded mode #125

Closed
deepthi opened this issue Feb 22, 2021 · 3 comments
Closed

Run all Rails tests in sharded mode #125

deepthi opened this issue Feb 22, 2021 · 3 comments
Assignees

Comments

@deepthi
Copy link

deepthi commented Feb 22, 2021

2 shards should be sufficient.
This will require specifying a vschema for all the tables being created.
VSchema can be created by executing DDLs as documented here.

@Akilan1999
Copy link
Contributor

Akilan1999 commented Mar 2, 2021

Me and @GuptaManan100 had a discussion:

  • We are planning to use a variable called $NUM_SHARDS as the Vitess docker image takes that as an argument
  • We will use VSchema queries from the bash script (If we are running in sharded mode) .

@deepthi
Copy link
Author

deepthi commented Mar 2, 2021

Sounds like a good plan 👍

@GuptaManan100
Copy link
Contributor

GuptaManan100 commented Apr 13, 2021

The addition of the Active Record Migration guide is at #127
The addition of the Active Record Validation guide is at #144
The addition of the Active Record Callbacks and Associations guides are at #146
The addition of the Active Record Query Interface guide is at #147

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

4 participants