Yingchun Lai has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/20758 )

Change subject: [compaction] Fix the incorrect memory budgeting condition
......................................................................


Patch Set 1:

> Patch Set 1: Code-Review+1
>
> The patch looks good.
> However, I have a general comment about this part of the code: I executed the 
> whole diskrowset-test.cc and since 
> FLAGS_rowset_compaction_memory_estimate_enabled is set to false during test, 
> the code is never executed during tests. I think thats the reason that it 
> wasn't discovered during testing. If I set 
> FLAGS_rowset_compaction_memory_estimate_enabled to true, then the function 
> throws an error because it tries to downcast MockDiskRowset to DiskRowset, so 
> it's not straightforward. I'm working on a patch that at introduces a new 
> test where this function is executed.


Thanks for the contribution!


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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I8928b15750f100785c510ee8086e5a6281b3a7b8
Gerrit-Change-Number: 20758
Gerrit-PatchSet: 1
Gerrit-Owner: Ashwani Raina <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Mahesh Reddy <[email protected]>
Gerrit-Reviewer: Wang Xixu <[email protected]>
Gerrit-Reviewer: Yingchun Lai <[email protected]>
Gerrit-Reviewer: Ádám Bakai <[email protected]>
Gerrit-Comment-Date: Fri, 08 Dec 2023 08:06:52 +0000
Gerrit-HasComments: No

Reply via email to