KeDeng has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/19670 )

Change subject: [tablet] GC ancient, fully deleted rowsets without live row 
count stats
......................................................................


Patch Set 19:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/19670/18/src/kudu/tablet/diskrowset.cc
File src/kudu/tablet/diskrowset.cc:

http://gerrit.cloudera.org:8080/#/c/19670/18/src/kudu/tablet/diskrowset.cc@760
PS18, Line 760:   *count = rows_count - deleted_count;
> I am worried about this deletes and inserts are not one-to-one corresponden
Yeah, this is a good question.

But I think the unit test TestGCDeletedRowsetsWithDMS in the file 
src/kudu/tablet/tablet_history_gc-test.cc is similar to what you mentioned, and 
to some extent, it can meet our expectations.



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iacdff107b8b07cbd56f47f296a93f4bcfbf56b41
Gerrit-Change-Number: 19670
Gerrit-PatchSet: 19
Gerrit-Owner: KeDeng <[email protected]>
Gerrit-Reviewer: Abhishek Chennaka <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: KeDeng <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)
Gerrit-Reviewer: Yingchun Lai <[email protected]>
Gerrit-Reviewer: Yuqi Du <[email protected]>
Gerrit-Comment-Date: Tue, 25 Apr 2023 11:47:06 +0000
Gerrit-HasComments: Yes

Reply via email to