Andrew Wong has uploaded a new change for review. http://gerrit.cloudera.org:8080/7439
Change subject: WIP disk failure: forced shutdown of MvccManager ...................................................................... WIP disk failure: forced shutdown of MvccManager When a disk fails, tablets with data on the failed disk must shut down. Normally, when a replica is shutdown, it must wait for all transactions to finish. However, transactions that fail due to disk failure will not complete. This patch adds the ability to Cancel transactions. Unlike Aborts, which cannot end a transaction that is in the APPLYING state (must be RESERVED), Cancels can end any transaction. This is only "safe" because the tablet to whom the MvccManager belongs is expected to shutdown. WIP because there is no testing and I'm not sure this is the best design for what I'm trying to accomplish. Change-Id: I983620f27e7226806a2cca253db7619731914d42 --- M src/kudu/tablet/delta_tracker.cc M src/kudu/tablet/local_tablet_writer.h M src/kudu/tablet/mvcc.cc M src/kudu/tablet/mvcc.h M src/kudu/tablet/tablet-test-base.h M src/kudu/tablet/tablet-test.cc M src/kudu/tablet/tablet.cc M src/kudu/tablet/tablet.h M src/kudu/tablet/tablet_replica_mm_ops.cc M src/kudu/tablet/transactions/alter_schema_transaction.h M src/kudu/tablet/transactions/transaction.h M src/kudu/tablet/transactions/transaction_driver.cc M src/kudu/tablet/transactions/transaction_driver.h M src/kudu/tablet/transactions/transaction_tracker-test.cc M src/kudu/tablet/transactions/transaction_tracker.cc M src/kudu/tablet/transactions/transaction_tracker.h M src/kudu/tablet/transactions/write_transaction.cc M src/kudu/tablet/transactions/write_transaction.h M src/kudu/tserver/ts_tablet_manager.cc 19 files changed, 187 insertions(+), 37 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/39/7439/1 -- To view, visit http://gerrit.cloudera.org:8080/7439 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I983620f27e7226806a2cca253db7619731914d42 Gerrit-PatchSet: 1 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Andrew Wong <[email protected]>
