Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/23184 )
Change subject: [util] simplify DiagnosticSocket::SocketStateWildcard ...................................................................... Patch Set 1: (1 comment) http://gerrit.cloudera.org:8080/#/c/23184/1/src/kudu/util/net/diagnostic_socket.h File src/kudu/util/net/diagnostic_socket.h: http://gerrit.cloudera.org:8080/#/c/23184/1/src/kudu/util/net/diagnostic_socket.h@46 PS1, Line 46: SS_ESTABLISHED = 1 > Is assignment required here? No, it's not required. It seems I was messing up with the idea of removal of the SS_UNKNOWN entry, but eventually ended up with this. This changelist is already submitted, so I cannot change this in the contexts of this patch, maybe in a follow-up one. However, it doesn't hurt to have values explicitly set for both SS_UNKNOWN and SS_ESTABLISHED. The crucial point is to have the valid enumerators matching 1-to-1 with the corresponding enum in /usr/include/netinet/tcp.h -- To view, visit http://gerrit.cloudera.org:8080/23184 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ifdfec2c75e997b5f539b849df51d2894afc399c4 Gerrit-Change-Number: 23184 Gerrit-PatchSet: 1 Gerrit-Owner: Alexey Serbin <[email protected]> Gerrit-Reviewer: Abhishek Chennaka <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Ashwani Raina <[email protected]> Gerrit-Reviewer: KeDeng <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Marton Greber <[email protected]> Gerrit-Reviewer: Zoltan Martonka <[email protected]> Gerrit-Comment-Date: Fri, 18 Jul 2025 14:34:32 +0000 Gerrit-HasComments: Yes
