Andrew Wong has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/17477


Change subject: wip KUDU-2612: clean up TxnMetadatas that have no references
......................................................................

wip KUDU-2612: clean up TxnMetadatas that have no references

This patch updates TabletMetadata::Flush() to, before actually flushing,
first remove any TxnMetadata in the metadata map that has no references.
In addition to the presence in the metadata map, references are
currently held by mem-stores. The lack of such references implies the
mem-stores have been flushed, and that we thus no longer need the
metadata for the sake of determining commit timestamps.

Change-Id: Icf9481c3bbdfa08eb8022de4140241bbede6f44b
---
M src/kudu/tablet/tablet_metadata.cc
M src/kudu/tablet/tablet_metadata.h
2 files changed, 17 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/77/17477/1
--
To view, visit http://gerrit.cloudera.org:8080/17477
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icf9481c3bbdfa08eb8022de4140241bbede6f44b
Gerrit-Change-Number: 17477
Gerrit-PatchSet: 1
Gerrit-Owner: Andrew Wong <[email protected]>

Reply via email to