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

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


Patch Set 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.

Yes, that and other budgeting size conditions that are specific to certain 
scenarios like frequent upserts resulting in accumulation of UNDO deltas. 
Unless the test introduces such conditions, chances are that budgeting policy 
won't apply.

I am not sure what error it is throwing in your case but I would be happy to 
discuss if you are stuck and need help understanding this part of code.


--
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:43:57 +0000
Gerrit-HasComments: No

Reply via email to