Skip to content

Commit

Permalink
Reviewer comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yashykt committed Nov 12, 2024
1 parent 75ce110 commit 9165fbd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions src/core/server/server.h
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,10 @@ class Server : public ServerInterface,
// 1) Invoke AddLogicalConnection() on accepting a new connection. Do not
// invoke if the connection is going to be closed immediately.
// 2) Invoke OnHandshakeDone() (irrespective of error) once handshake is
// done.
// 3) Invoke RemoveLogicalConnection() when the connection is closed.
// Do not invoke if the connection was never added.
// done. No need to invoke if `RemoveLogicalConnection()` has already been
// invoked.
// 3) Invoke RemoveLogicalConnection() when the connection is closed. Do not
// invoke if the connection was never added.
// TODO(yashykt): In the case where there is no config fetcher, we remove
// the connection from our map and instead use `ChannelData` to keep track
// of the connections. This is much cheaper (8 bytes per connection) as
Expand Down
6 changes: 3 additions & 3 deletions test/cpp/end2end/xds/xds_end2end_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3506,9 +3506,9 @@ int main(int argc, char** argv) {
// updates from all the subchannels's FDs.
grpc_core::ConfigVars::Overrides overrides;
overrides.client_channel_backup_poll_interval_ms = 1;
// overrides.trace =
// "call,channel,client_channel,client_channel_call,client_channel_lb_call,"
// "handshaker";
overrides.trace =
"call,channel,client_channel,client_channel_call,client_channel_lb_call,"
"handshaker";
grpc_core::ConfigVars::SetOverrides(overrides);
#if TARGET_OS_IPHONE
// Workaround Apple CFStream bug
Expand Down

0 comments on commit 9165fbd

Please sign in to comment.