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

Jetpants sharded_tables example in configuration needs further nesting. #26

Open
grahamc opened this issue Aug 25, 2016 · 2 comments
Open

Comments

@grahamc
Copy link
Contributor

grahamc commented Aug 25, 2016

https://github.com/tumblr/jetpants/blob/master/etc/jetpants.yaml.sample#L46-L59

The example results in errors when doing a shard cutover, digging reveals it should probably be:

sharded_tables:
    shardname:
        tablename:
            sharding_key: user_id
            chunks: 200
@evanelias
Copy link
Contributor

Good catch. The example is just out-of-date. Looks like it wasn't updated to reflect support for multiple shard pools. ("shardname" in your example should be more like "shard_pool_name")

@grahamc
Copy link
Contributor Author

grahamc commented Aug 25, 2016

I thought that might be the case, but wasn't so sure :)

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

2 participants