Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/16444 )
Change subject: [rpc] simplify Connection::GetNextCallId() ...................................................................... Patch Set 2: (1 comment) http://gerrit.cloudera.org:8080/#/c/16444/2/src/kudu/rpc/connection.h File src/kudu/rpc/connection.h: http://gerrit.cloudera.org:8080/#/c/16444/2/src/kudu/rpc/connection.h@296 PS2, Line 296: ++next_call_id_ > Before this change, the returned values for GetNextCallId() would start fro As far as I can see, there isn't any significance in what's the first call id for the connection: the original code would return 0 after rolling it over MAX_INT. After my change, no test failed. I don't think renaming next_call_id_ to curr_call_id_ makes it any clearer. -- To view, visit http://gerrit.cloudera.org:8080/16444 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I1fefe8b4c41fdde6e9744f2efec9476af8269c53 Gerrit-Change-Number: 16444 Gerrit-PatchSet: 2 Gerrit-Owner: Alexey Serbin <aser...@cloudera.com> Gerrit-Reviewer: Alexey Serbin <aser...@cloudera.com> Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com> Gerrit-Reviewer: Bankim Bhavsar <ban...@cloudera.com> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Comment-Date: Mon, 14 Sep 2020 03:47:27 +0000 Gerrit-HasComments: Yes