-
Notifications
You must be signed in to change notification settings - Fork 65
apollo_storage: split ServerConfig socket into ip and port fields #10806
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
apollo_storage: split ServerConfig socket into ip and port fields #10806
Conversation
Itay-Tsabary-Starkware
left a comment
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.
Reviewable status: 0 of 5 files reviewed, 1 unresolved discussion (waiting on @nadin-Starkware)
crates/apollo_storage/src/storage_reader_server.rs line 37 at r1 (raw file):
impl ServerConfig { /// Creates a new server configuration. pub fn new(ip: Ipv4Addr, port: u16, enable: bool) -> Self {
IpAddr, and instantiate with Ipv4Addr
Code quote:
Ipv4Addr56945d0 to
e2a8944
Compare
b53db33 to
be03b70
Compare
be03b70 to
526788e
Compare
e2a8944 to
1cb6603
Compare
nadin-Starkware
left a comment
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.
Reviewable status: 0 of 5 files reviewed, 1 unresolved discussion (waiting on @Itay-Tsabary-Starkware)
crates/apollo_storage/src/storage_reader_server.rs line 37 at r1 (raw file):
Previously, Itay-Tsabary-Starkware wrote…
IpAddr, and instantiate withIpv4Addr
Done.
1cb6603 to
5036776
Compare
526788e to
04dbb1f
Compare
Itay-Tsabary-Starkware
left a comment
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.
Reviewable status: 0 of 5 files reviewed, 2 unresolved discussions (waiting on @nadin-Starkware)
crates/apollo_storage/src/storage_reader_server.rs line 37 at r2 (raw file):
impl ServerConfig { /// Creates a new server configuration. pub fn new(ip: Ipv4Addr, port: u16, enable: bool) -> Self {
The input type should be of the inner type; I meant that when creating an IpAddr instance you can use the Ipv4Addr ct'or
Example
| let ip = IpAddr::from(Ipv4Addr::LOCALHOST); |
Code quote:
(ip: Ipv4Addr04dbb1f to
7e4de26
Compare
5036776 to
dcc9a93
Compare
7e4de26 to
b5e3c94
Compare
nadin-Starkware
left a comment
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.
Reviewable status: 0 of 5 files reviewed, 2 unresolved discussions (waiting on @Itay-Tsabary-Starkware)
crates/apollo_storage/src/storage_reader_server.rs line 37 at r2 (raw file):
Previously, Itay-Tsabary-Starkware wrote…
The input type should be of the inner type; I meant that when creating an
IpAddrinstance you can use theIpv4Addrct'or
Example
let ip = IpAddr::from(Ipv4Addr::LOCALHOST);
Done.
Itay-Tsabary-Starkware
left a comment
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.
@Itay-Tsabary-Starkware reviewed 1 of 5 files at r1, 2 of 4 files at r2, 4 of 4 files at r3, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @nadin-Starkware)
b5e3c94 to
ea19c07
Compare
Merge activity
|
Itay-Tsabary-Starkware
left a comment
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.
@Itay-Tsabary-Starkware reviewed 1 of 1 files at r4, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @nadin-Starkware)

No description provided.