Jeffrey F. Lukman has uploaded this change for review. ( http://gerrit.cloudera.org:8080/9069
Change subject: Kudu-2126: Add conditional check to prevent unnecessary fsyncs ...................................................................... Kudu-2126: Add conditional check to prevent unnecessary fsyncs This patch includes unit test to detect fsyncs that happened when a DeleteTablet RPC tries to tombstone an already tombstoned tablet. In order to fix the issue, this patch add additional checking before executing another DeleteTabletData that leads to another fsyncs. Furthermore, this patch also refine the TABLET_DATA_DELETED comment. Change-Id: Idde8b413374f43ca2ef09339f0f412208f03685e --- M src/kudu/integration-tests/delete_tablet-itest.cc M src/kudu/tablet/metadata.proto M src/kudu/tablet/tablet_metadata.cc M src/kudu/tablet/tablet_metadata.h M src/kudu/tserver/ts_tablet_manager.cc 5 files changed, 75 insertions(+), 3 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/69/9069/1 -- To view, visit http://gerrit.cloudera.org:8080/9069 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Idde8b413374f43ca2ef09339f0f412208f03685e Gerrit-Change-Number: 9069 Gerrit-PatchSet: 1 Gerrit-Owner: Jeffrey F. Lukman <[email protected]>
