-
Notifications
You must be signed in to change notification settings - Fork 372
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
spec: Refactor NodeID a la VolumeHandle #106
Comments
I like the idea of consistency. Along such lines, Not sure how crazy I am about stuffing IPs into metadata if there's a possibility that they're going to change. NodeID is expected to NOT CHANGE once it's generated by the plugin. |
Hi @jdef, It doesn't need to be IP addresses. It could be, for example, an EC2 Instance Identity document. The NodeID's ID field could be some unique piece of information that could be easily hashed or searched in a map and the metadata could be the rest of the document marshalled as JSON and then unmarshalled into a map. |
I am +1 on this change. @saad-ali is working on adding topology information to NodeID. You may want to sync with him on that. |
I think we should simplify |
So far a simple string has worked fine for existing CO and driver implementations. Therefore before we go to 1.0 we are closing this out. |
This issue is a proposal to refactor the
NodeID
so that it is inline with aVolumeHandle
. For example:Old
New
This would make it much easier to refer to a Node by some meaningful piece of information, such as an IP address or hostname, without embedding that information in an opaque map.
I would not have suggested such a change as I believe the opaqueness of the data maps is a virtue, but with the change to a volume's ID, this seems like a consistent shift towards that direction.
The text was updated successfully, but these errors were encountered: