You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tephra.apache.org by go...@apache.org on 2016/05/13 01:26:53 UTC

[2/2] incubator-tephra git commit: Merge branch 'feature/backward-compat' For backward compatibility with old TransactionLog written with cask package TransactionEdit classes, bump up the TransactionLog version and change the logic in previous Transactio

Merge branch 'feature/backward-compat'
For backward compatibility with old TransactionLog written with cask package TransactionEdit classes,
bump up the TransactionLog version and change the logic in previous TransactionLog readers to read the old cask package based TransactionEdit class.


Project: http://git-wip-us.apache.org/repos/asf/incubator-tephra/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tephra/commit/3918b8a8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tephra/tree/3918b8a8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tephra/diff/3918b8a8

Branch: refs/heads/master
Commit: 3918b8a8c1c960ae27c984d14ff7c14ce9a64026
Parents: ab52491 97602a0
Author: Gokul Gunasekaran <go...@apache.org>
Authored: Thu May 12 18:24:25 2016 -0700
Committer: Gokul Gunasekaran <go...@apache.org>
Committed: Thu May 12 18:24:25 2016 -0700

----------------------------------------------------------------------
 .../co/cask/tephra/persist/TransactionEdit.java | 364 +++++++++++++++++++
 .../tephra/persist/TransactionEditCodecs.java   | 315 ++++++++++++++++
 .../java/org/apache/tephra/TxConstants.java     |   2 +-
 .../tephra/persist/AbstractTransactionLog.java  |  41 +++
 .../HDFSTransactionLogReaderSupplier.java       |   3 +
 .../persist/HDFSTransactionLogReaderV1.java     |   5 +-
 .../persist/HDFSTransactionLogReaderV2.java     |   8 +-
 .../persist/HDFSTransactionLogReaderV3.java     | 114 ++++++
 .../apache/tephra/persist/TransactionEdit.java  |  15 +
 .../tephra/persist/HDFSTransactionLogTest.java  | 127 ++++++-
 .../apache/tephra/util/TransactionEditUtil.java |  38 +-
 .../apache/tephra/examples/BalanceBooks.java    |   2 +-
 12 files changed, 996 insertions(+), 38 deletions(-)
----------------------------------------------------------------------