]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Expose Transaction State Publicly
authorReid Horuff <reidhoruff@gmail.com>
Wed, 5 Oct 2016 20:39:00 +0000 (13:39 -0700)
committerReid Horuff <reidhoruff@gmail.com>
Fri, 7 Oct 2016 18:58:53 +0000 (11:58 -0700)
commit37737c3a6b1b5bf3ecb604a74d47ad55f7de1dde
treeb41c9e9b777faa66f0ce7278e0c8df5a02ec63c2
parent2c1f95291d0142957d74042aea14682539085501
Expose Transaction State Publicly

Summary:
This exposes a transactions state through a public api rather than through a public member variable. I also do some name refactoring.
ExecutionStatus => TransactionState
exec_status_ => trx_state_

Test Plan: It compiles and transaction_test passes.

Reviewers: IslamAbdelRahman

Reviewed By: IslamAbdelRahman

Subscribers: andrewkr, mung, dhruba, sdong

Differential Revision: https://reviews.facebook.net/D64689
include/rocksdb/utilities/transaction.h
utilities/transactions/transaction_db_impl.cc
utilities/transactions/transaction_impl.cc