-
Notifications
You must be signed in to change notification settings - Fork 8
Conversation
@@ -115,6 +115,14 @@ | |||
"checksum": { | |||
"type": "number" | |||
}, | |||
"checksums": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since ringpop-node doesn't support it yet, checksums
is not added to the list with required properties.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
"type": "object", | ||
"patternProperties": { | ||
"^.*$": { | ||
"type": "number" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A checksum is always a number?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For now yes (and I don't see any reason to change it in the future)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The result of a farmhash
is always a number. That's the bit I was missing (I thought it was alphanumeric). Cool, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
uber/ringpop-go#192 adds support for multiple checksums. This PR makes the required changes to the protocol schema.