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

Implement ElasticShardSpec #1516

Closed
gianm opened this issue Jul 14, 2015 · 0 comments · Fixed by #1745
Closed

Implement ElasticShardSpec #1516

gianm opened this issue Jul 14, 2015 · 0 comments · Fixed by #1745

Comments

@gianm
Copy link
Contributor

gianm commented Jul 14, 2015

From https://groups.google.com/forum/#!topic/druid-development/kHgHTgqKFlQ,

Create an ElasticShardSpec that has two numbers per shard: partitionNum and corePartitions. The idea is that when a set of shards is first created, corePartitions = max(partitionNum) + 1. After that point, corePartitions never changes. It has the same value on every shard. The purpose of this is to make replacements atomic while still allowing for shard set expansion; brokers can treat a set as “complete” if it has all of its corePartitions. The idea is that ElasticShardSpec would actually be used for everything: both realtime ingestion and batch ingestion.

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 a pull request may close this issue.

1 participant