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

Convert meta shard owners to objects #3913

Merged
merged 1 commit into from
Sep 1, 2015

Conversation

benbjohnson
Copy link
Contributor

Overview

This commit converts meta.ShardInfo.OwnerIDs from a slice of ids to a slice of objects. This is to support adding statuses for a shard for a given node. For example, a node may have a shard assigned to it but it is currently copying the shard and is not ready to serve data for it.

The old OwnerIDs is marked as deprecated, however, the code still supports loading from older protobuf encoded data.

This commit converts meta.ShardInfo.OwnerIDs from a slice of ids
to a slice of objects. This is to support adding statuses for a
shard for a given node. For example, a node may have a shard
assigned to it but it is currently copying the shard and is not
ready to serve data for it.

The old `OwnerIDs` is marked as deprecated, however, the code
still supports loading from older protobuf-encoded data.
@otoolep
Copy link
Contributor

otoolep commented Sep 1, 2015

+1

benbjohnson added a commit that referenced this pull request Sep 1, 2015
Convert meta shard owners to objects
@benbjohnson benbjohnson merged commit 9067664 into influxdata:master Sep 1, 2015
@benbjohnson benbjohnson deleted the owner branch September 1, 2015 15:50
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

2 participants