You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Alexey Serbin (Code Review)" <ge...@cloudera.org> on 2025/02/19 23:18:47 UTC

[kudu-CR] [consensus] address warning on released replicates

Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/22505


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
---
M src/kudu/consensus/log.cc
1 file changed, 3 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/05/22505/1
-- 
To view, visit http://gerrit.cloudera.org:8080/22505
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia756597b920622baef8c55b5040d6c051814db63
Gerrit-Change-Number: 22505
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <al...@apache.org>

[kudu-CR] [consensus] address warning on released replicates

Posted by "Abhishek Chennaka (Code Review)" <ge...@cloudera.org>.
Abhishek Chennaka has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/22505 )

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 <al...@apache.org>
Reviewed-by: Abhishek Chennaka <ac...@cloudera.com>
---
M src/kudu/consensus/log.cc
1 file changed, 3 insertions(+), 1 deletion(-)

Approvals:
  Alexey Serbin: Verified
  Abhishek Chennaka: Looks good to me, approved

-- 
To view, visit http://gerrit.cloudera.org:8080/22505
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia756597b920622baef8c55b5040d6c051814db63
Gerrit-Change-Number: 22505
Gerrit-PatchSet: 3
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yifan Zhang <ch...@163.com>

[kudu-CR] [consensus] address warning on released replicates

Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has removed a vote on this change.

Change subject: [consensus] address warning on released replicates
......................................................................


Removed Verified-1 by Kudu Jenkins (120)
-- 
To view, visit http://gerrit.cloudera.org:8080/22505
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: deleteVote
Gerrit-Change-Id: Ia756597b920622baef8c55b5040d6c051814db63
Gerrit-Change-Number: 22505
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yifan Zhang <ch...@163.com>

[kudu-CR] [consensus] address warning on released replicates

Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22505 )

Change subject: [consensus] address warning on released replicates
......................................................................


Patch Set 1:

Build Aborted 

http://jenkins.kudu.apache.org/job/pre_commit/1089/ : ABORTED


-- 
To view, visit http://gerrit.cloudera.org:8080/22505
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia756597b920622baef8c55b5040d6c051814db63
Gerrit-Change-Number: 22505
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yifan Zhang <ch...@163.com>
Gerrit-Comment-Date: Wed, 19 Feb 2025 23:19:55 +0000
Gerrit-HasComments: No

[kudu-CR] [consensus] address warning on released replicates

Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22505 )

Change subject: [consensus] address warning on released replicates
......................................................................


Patch Set 2: Verified-1

Build Failed 

http://jenkins.kudu.apache.org/job/pre_commit/1090/ : FAILURE


-- 
To view, visit http://gerrit.cloudera.org:8080/22505
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia756597b920622baef8c55b5040d6c051814db63
Gerrit-Change-Number: 22505
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yifan Zhang <ch...@163.com>
Gerrit-Comment-Date: Thu, 20 Feb 2025 01:26:59 +0000
Gerrit-HasComments: No

[kudu-CR] [consensus] address warning on released replicates

Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22505 )

Change subject: [consensus] address warning on released replicates
......................................................................


Patch Set 2:

Build Started http://jenkins.kudu.apache.org/job/pre_commit/1090/


-- 
To view, visit http://gerrit.cloudera.org:8080/22505
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia756597b920622baef8c55b5040d6c051814db63
Gerrit-Change-Number: 22505
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yifan Zhang <ch...@163.com>
Gerrit-Comment-Date: Wed, 19 Feb 2025 23:20:02 +0000
Gerrit-HasComments: No

[kudu-CR] [consensus] address warning on released replicates

Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/22505 )

Change subject: [consensus] address warning on released replicates
......................................................................


Patch Set 2: Verified+1

unrelated failures of known flaky tests (ASAN)


-- 
To view, visit http://gerrit.cloudera.org:8080/22505
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia756597b920622baef8c55b5040d6c051814db63
Gerrit-Change-Number: 22505
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yifan Zhang <ch...@163.com>
Gerrit-Comment-Date: Thu, 20 Feb 2025 03:51:49 +0000
Gerrit-HasComments: No

[kudu-CR] [consensus] address warning on released replicates

Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22505 )

Change subject: [consensus] address warning on released replicates
......................................................................


Patch Set 1:

Build Started http://jenkins.kudu.apache.org/job/pre_commit/1089/


-- 
To view, visit http://gerrit.cloudera.org:8080/22505
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia756597b920622baef8c55b5040d6c051814db63
Gerrit-Change-Number: 22505
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 19 Feb 2025 23:18:53 +0000
Gerrit-HasComments: No

[kudu-CR] [consensus] address warning on released replicates

Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Hello Yifan Zhang, Kudu Jenkins, Abhishek Chennaka, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/22505

to look at the new patch set (#2).

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
---
M src/kudu/consensus/log.cc
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/05/22505/2
-- 
To view, visit http://gerrit.cloudera.org:8080/22505
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ia756597b920622baef8c55b5040d6c051814db63
Gerrit-Change-Number: 22505
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yifan Zhang <ch...@163.com>

[kudu-CR] [consensus] address warning on released replicates

Posted by "Abhishek Chennaka (Code Review)" <ge...@cloudera.org>.
Abhishek Chennaka has posted comments on this change. ( http://gerrit.cloudera.org:8080/22505 )

Change subject: [consensus] address warning on released replicates
......................................................................


Patch Set 2: Code-Review+2


-- 
To view, visit http://gerrit.cloudera.org:8080/22505
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia756597b920622baef8c55b5040d6c051814db63
Gerrit-Change-Number: 22505
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yifan Zhang <ch...@163.com>
Gerrit-Comment-Date: Thu, 20 Feb 2025 05:29:38 +0000
Gerrit-HasComments: No