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
storageccl: accept and ignore a node-ID in the host of nodelocal:// uri #34797
Conversation
This doesn't change the actual behavior of node-local storage -- it only allows (and then ignores) a nodeID to appear in the Host componant of the URI. Previously the host componant had to be empty. It still can be after this change or it can be a number. This paves the way to updating docs/usage/etc to show it used with a node-ID before changing it in a future version to _require_ the nodeID. Exact semantics of that change are TBD, but we wanted to get the change in that _allows_ the node-ID to be passed so that we could begin to show it used and start the multi-release process required for a breaking change. Release note (enterprise chage): nodelocal:// storage paths for BACKUP, RESTORE and IMPORT may include a node-ID in the Host part of the URI. It is not currently used (any node can get sent work and will look in its local IO directory) but will likely be required 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.
Just to be clear, “host” in this context means the string between nodelocal://
and the next /
, and we’re going to start allowing integer node IDs in that position? If so, sounds good to me.
Reviewed 4 of 4 files at r1.
Reviewable status: complete! 0 of 0 LGTMs obtained (waiting on @mjibson)
Yes, currently you're allowed to do |
bors r+ |
34797: storageccl: accept and ignore a node-ID in the host of nodelocal:// uri r=dt a=dt This doesn't change the actual behavior of node-local storage -- it only allows (and then ignores) a nodeID to appear in the Host componant of the URI. Previously the host componant had to be empty. It still can be after this change or it can be a number. This paves the way to updating docs/usage/etc to show it used with a node-ID before changing it in a future version to _require_ the nodeID. Exact semantics of that change are TBD, but we wanted to get the change in that _allows_ the node-ID to be passed so that we could begin to show it used and start the multi-release process required for a breaking change. Release note (enterprise chage): nodelocal:// storage paths for BACKUP, RESTORE and IMPORT may include a node-ID in the Host part of the URI. It is not currently used (any node can get sent work and will look in its local IO directory) but will likely be required in the future. Co-authored-by: David Taylor <tinystatemachine@gmail.com>
Build succeeded |
This doesn't change the actual behavior of node-local storage -- it only allows (and then ignores) a nodeID to appear in the Host componant of the URI.
Previously the host componant had to be empty. It still can be after this change or it can be a number.
This paves the way to updating docs/usage/etc to show it used with a node-ID before changing it in a future version to require the nodeID.
Exact semantics of that change are TBD, but we wanted to get the change in that allows the node-ID to be passed so that we could begin to show it used and start the multi-release process required for a breaking change.
Release note (enterprise chage): nodelocal:// storage paths for BACKUP, RESTORE and IMPORT may include a node-ID in the Host part of the URI. It is not currently used (any node can get sent work and will look in its local IO directory) but will likely be required in the future.