Abhishek Chennaka has uploaded this change for review. ( http://gerrit.cloudera.org:8080/22507
Change subject: [consensus] address warning on released replicates ...................................................................... [consensus] address warning on released replicates This patch addresses a warning that appeared after upgrading protobuf to version 3.21.9. Since the new protobuf marks some of the auto-generated methods with the [[nodiscard]] attribute, there was an extra warning that might have pointed to a possible memory leak. It wasn't the case because of the Log::AsyncAppendReplicates() method's semantics, but it's worth addressing it anyway. Change-Id: Ia756597b920622baef8c55b5040d6c051814db63 Reviewed-on: http://gerrit.cloudera.org:8080/22505 Tested-by: Alexey Serbin <[email protected]> Reviewed-by: Abhishek Chennaka <[email protected]> (cherry picked from commit 57fb36a72261e1369dd9e5bc222676a0b860525e) --- M src/kudu/consensus/log.cc 1 file changed, 3 insertions(+), 1 deletion(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/07/22507/1 -- To view, visit http://gerrit.cloudera.org:8080/22507 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: branch-1.18.x Gerrit-MessageType: newchange Gerrit-Change-Id: Ia756597b920622baef8c55b5040d6c051814db63 Gerrit-Change-Number: 22507 Gerrit-PatchSet: 1 Gerrit-Owner: Abhishek Chennaka <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]>
