Adar Dembo has submitted this change and it was merged. Change subject: tablet: make time-based flushing configurable ......................................................................
tablet: make time-based flushing configurable We currently prioritize flushes for any in-memory data which has been sitting longer than 2 minutes. This patch changes the time threshold to be a new experimental flag rather than a hard-coded constant. I found this useful to tweak when I wanted to run some experiments regarding the on-disk size of data. With this flag, I was able to set the threshold low to ensure that all of my inserted data was quickly flushed to disk rather than sitting around in MRS where I couldn't measure it. Change-Id: Ic9a546b82e5b5db76473455df1eab2769c443c87 Reviewed-on: http://gerrit.cloudera.org:8080/5690 Tested-by: Kudu Jenkins Reviewed-by: Adar Dembo <[email protected]> --- M src/kudu/tablet/tablet_peer_mm_ops.cc 1 file changed, 7 insertions(+), 3 deletions(-) Approvals: Adar Dembo: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/5690 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ic9a546b82e5b5db76473455df1eab2769c443c87 Gerrit-PatchSet: 3 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd Lipcon <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Jean-Daniel Cryans <[email protected]> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Todd Lipcon <[email protected]>
