jetpants
jetpants copied to clipboard
Jetpants sharded_tables example in configuration needs further nesting.
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
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")
I thought that might be the case, but wasn't so sure :)