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

Include private dbs in shard migrations #25

Merged
merged 7 commits into from
May 16, 2019

Conversation

dannyroberts
Copy link
Member

@dannyroberts dannyroberts commented Feb 8, 2019

I think I was misguided by initially excluding them.
_global_changes, _replicator, and _users need to have their shards migrated
like any other db

Ran into this when removing the old couch nodes on prod. It didn't cause any service interruptions or anything, but I noticed those dbs were 500ing when I shut down the old nodes. After bringing them back up and re-running with these changes, I could shut the old nodes down no problem.

I think I was misguided by initially excluding them.
_global_changes, _replicator, and _users need to have their shards migrated
like any other db
@dannyroberts dannyroberts force-pushed the dmr/include-private-dbs-in-shard-migrations branch from d9bad97 to 1928439 Compare February 12, 2019 19:37
Copy link
Contributor

@orangejenny orangejenny left a comment

Choose a reason for hiding this comment

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

Last commit looks fine.

@dannyroberts
Copy link
Member Author

dannyroberts commented May 15, 2019

Tests passed but I rebased for a less ridiculous history

Screen Shot 2019-05-15 at 5 45 29 PM

Hopefully it still passes 🤞

@dannyroberts dannyroberts force-pushed the dmr/include-private-dbs-in-shard-migrations branch from b4f16a1 to a6f247a Compare May 15, 2019 22:46
@snopoke snopoke merged commit 280b8da into master May 16, 2019
@snopoke snopoke deleted the dmr/include-private-dbs-in-shard-migrations branch May 16, 2019 08:31
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.

None yet

4 participants