Add support for binding to unix domain sockets #640
No reviewers
Labels
No labels
action
check-aws
action
discussion-needed
action
for-external-contributors
action
for-newcomers
action
more-info-needed
action
need-funding
action
triage-required
kind
correctness
kind
ideas
kind
improvement
kind
performance
kind
testing
kind
usability
kind
wrong-behavior
prio
critical
prio
low
scope
admin-api
scope
background-healing
scope
build
scope
documentation
scope
k8s
scope
layout
scope
metadata
scope
ops
scope
rpc
scope
s3-api
scope
security
scope
telemetry
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#640
Loading…
Reference in a new issue
No description provided.
Delete branch "networkException/garage:unix-sockets"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This pull request adds support for most apis (except rpc) to bind to a unix domain socket instead of a tcp socket.
Resolves #253
80be6649f7
to8ec6a53b35
Great work, thank you very much! Could you add relevant documentation in the reference section for the config file? (doc/book/reference-manual/configuration.md)
Added some documentation :)
Should I also mention which version the feature was introduced in? Which version would will that be?
I think there is a mistake, UNIX sockets are still not supported for
rpc_bind_addr
, right?You can specify v0.8.5
That can easily be added. My assumption was that unix sockets are not desiderable for cluster communication, as they are scoped to a single machine / file system.
f213dffd89
todec575720a
dec575720a
todb193cd6df
Yes that is correct, I don't feel that it is necessary to add them for RPC communication. And it would be a bit trickier to do as it would involve modifying the
netapp
crate as well.My comment was just wrt your change on the config reference documentation page, you added the line saying that UNIX sockets are supported for
rpc_bind_addr
, which is not the case.db193cd6df
to6f8a87814b
Oh yes sorry, that was a mistake
LGTM