Ashwani Raina has uploaded this change for review. ( http://gerrit.cloudera.org:8080/20758
Change subject: [compaction] Fix the incorrect memory budgeting condition ...................................................................... [compaction] Fix the incorrect memory budgeting condition Compaction budgeting code has minimum size of on-disk deltas that is used to decide whether memory budgeting can be applied or not. While comparing the actual on-disk size of deltas with minimum value the fact that minimum value is in MBytes is not taken into account and is directly compared with on-disk size which is in bytes. The fix is to convert the min size in MBs to bytes first and then compare. Change-Id: I8928b15750f100785c510ee8086e5a6281b3a7b8 --- M src/kudu/tablet/compaction_policy.cc 1 file changed, 5 insertions(+), 3 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/58/20758/1 -- 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: newchange Gerrit-Change-Id: I8928b15750f100785c510ee8086e5a6281b3a7b8 Gerrit-Change-Number: 20758 Gerrit-PatchSet: 1 Gerrit-Owner: Ashwani Raina <[email protected]>
