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

Renamed rpc_port to transfer_port globally #158

Merged
merged 2 commits into from May 15, 2020
Merged

Renamed rpc_port to transfer_port globally #158

merged 2 commits into from May 15, 2020

Conversation

etremel
Copy link
Contributor

@etremel etremel commented May 14, 2020

Since it's not likely that we will completely eliminate TCP sockets from ViewManager any time soon (see issues #118 and #157), we should at least make our usage of TCP less confusing. The port named "rpc_port" in all of our configuration files is actually not used for RPC operations at all, but for transferring Views and object state between nodes during a view change. Renaming this port will make it clear that there is no RPC activity going over TCP.

This change is simple and consists of only one commit, but I thought I would create a pull request before committing it to master because it will break everyone's existing config files once merged.

Since it's not likely that we will completely eliminate TCP sockets from
ViewManager any time soon (see issues #118 and #157), we should at least
make our usage of TCP less confusing. The port named "rpc_port" in all
of our configuration files is actually not used for RPC operations at
all, but for transferring Views and object state between nodes during a
view change. Renaming this port will make it clear that there is no RPC
activity going over TCP.
After some discussion we agreed that the longer name state_transfer_port
was better, so I did another global rename.
@etremel etremel merged commit 5aa1e1a into master May 15, 2020
@etremel etremel deleted the rename_port branch May 16, 2020 00:43
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

1 participant