Clone Tools
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix for [Trafodion-3244] Need to provide support for HDP 2.5.x and 2.6.x Various files needed to correctly build modified protos and remain backward compatible

  1. … 87 more files in changeset.
TRAFODION-3165 HDFS storage option not work well if table use namespace

    • -1
    • +1
    ./transactional/TransactionManager.java
refactor the retry logic

    • -36
    • +49
    ./transactional/TransactionManager.java
refactor the code for review comments

    • -1
    • +2
    ./transactional/TransactionManager.java
  1. … 1 more file in changeset.
add retry logic

    • -37
    • +45
    ./transactional/TransactionManager.java
use coprocessor to set storage policy

    • -1
    • +87
    ./transactional/TransactionManager.java
  1. … 6 more files in changeset.
Fix for [Trafodion-2614] HBaseTxClient throws TableNotFoundException for TRAFODION._DTM_.TDDL

Manual merge fixes

    • -4
    • +4
    ./transactional/TransactionalScanner.java.tmpl
  1. … 2 more files in changeset.
Merge fixes

    • -0
    • +47
    ./transactional/NonPendingTransactionException.java
  1. … 2 more files in changeset.
This is a large contribution of changes from Esgyn TransactionManager and libraries that are collectively much better tested and hardened than Trafodion, but are too numerous and complex to cherry pick individually.

The changes include:

Dozens of bug fixes

Improved recovery after HBase failures

Better error reporting and tracing, which includes region keys for easier debugging

Reduced UnknownTransactionExceptions resulting from duplicate transaction registration

Better TLOG management including reducing the default number of tables

    • -24
    • +268
    ./transactional/RMInterface.java
    • -118
    • +237
    ./transactional/TransactionManager.java
    • -54
    • +83
    ./transactional/TransactionRegionLocation.java
    • -29
    • +128
    ./transactional/TransactionState.java
    • -36
    • +47
    ./transactional/TransactionalAggregationClient.java
    • -11
    • +27
    ./transactional/TransactionalScanner.java.tmpl
    • -45
    • +117
    ./transactional/TransactionalTable.java
  1. … 13 more files in changeset.
[TRAFODION-2468] DDL HA , step 2 changes(please refer jira).

  1. … 1 more file in changeset.
additional changes to address review feedback.

    • -1
    • +1
    ./transactional/TransactionManager.java
  1. … 3 more files in changeset.
[TRAFODION-2414] enhance 8616 commit conflict error message to include tx conflict details.

    • -2
    • +12
    ./transactional/TransactionManager.java
    • -0
    • +24
    ./transactional/TransactionState.java
  1. … 30 more files in changeset.
Merge branch 'master' into test

Conflicts:

core/sqf/src/tm/tmddlrequests.cpp

  1. … 1 more file in changeset.
[TRAFODION-2351] Bulk load with log error rows enhancements [Trafodion 2325] Reduce path length by avoiding expensive APIs

Load with log error rows missing some error rows being logged.

The hdfs file where the error rows are not logged wasn't closed

Avoided unnecessary copy of the transactional put list

    • -6
    • +2
    ./transactional/TransactionalTable.java
  1. … 2 more files in changeset.
[TRAFODION-2325] Reduce path length by avoiding expensive APIs

Avoided calling System.getenv() many times

    • -21
    • +20
    ./transactional/TransactionState.java
  1. … 2 more files in changeset.
[TRAFODION-2296] Consistent error reporting in abort, commit transaction. Changes to wait for all RS to respond when there is an exception in abort and commit transaction requests.

When there is an error returned from commit or rollback transaction, the details of the error can be obtained in the following log files

a) $MY_SQROOT/logs/tm_.log in the node that issued this request contains the error message as seen by the TM process in the JNI side. This event may not have transaction id.

b) $MY_SQROOT/logs/trafodion.dtm.log contains more info about this error with the transaction id. These events are logged from java side of TM.

c) In the region server logs of all the regions that participated in the transaction.

These exceptions are visible as error code on the client side. To get the details about the exception, the above logs need to be browsed.

Fixes to avoid tm core upon double delete of incoming messages to it

This closes #768

    • -272
    • +335
    ./transactional/TransactionManager.java
    • -26
    • +53
    ./transactional/TransactionState.java
  1. … 6 more files in changeset.
[TRAFODION-2236] Fix to handle bad TM ZK node entries during recovery This is the second fix for JIRA [TRAFODION-2236] [Author: Sean Broeder <sbroeder@edev06.esgyn.local>]

Squashed commit of the following:

commit 66030b519c49b4abe66b8b49b9ddc63a9543d8fc

Author: Sean Broeder <sbroeder@edev06.esgyn.local>

Date: Thu Sep 29 18:55:39 2016 +0000

Addressing review comments

commit c1b22cf41eeb56c3002a2ca86d2b204772667b9d

Merge: 6ee98ca a62e76f

Author: Sean Broeder <sbroeder@edev06.esgyn.local>

Date: Thu Sep 29 16:14:16 2016 +0000

Merge remote branch 'sbroeder_inctraf/sean_traf' into sean_traf

commit 6ee98cab2a8adf07df365131f431f1ded3e15d3a

Merge: 98a1ec6 b352dd8

Author: Sean Broeder <sbroeder@edev06.esgyn.local>

Date: Thu Sep 29 15:14:38 2016 +0000

Merge remote branch 'sbroeder_inctraf/sean_traf' into sean_traf

Conflicts:

core/sqf/src/seatrans/tm/hbasetmlib2/src/main/java/org/trafodion/dtm/HBaseTxClient.java

commit a62e76faf1753a02dd9095aa1061829b537da49f

Merge: 98a1ec6 b352dd8

Author: Sean Broeder <sbroeder@edev06.esgyn.local>

Date: Thu Sep 29 15:14:38 2016 +0000

Merge remote branch 'sbroeder_inctraf/sean_traf' into sean_traf

Conflicts:

core/sqf/src/seatrans/tm/hbasetmlib2/src/main/java/org/trafodion/dtm/HBaseTxClient.java

commit 98a1ec6bdf0eb9b69fbb6f4d8c908e657638ba54

Merge: d7232d3 fd4fadf

Author: Sean Broeder <sbroeder@edev06.esgyn.local>

Date: Wed Sep 28 23:20:57 2016 +0000

Fix to handle bad TM ZK node entries during recovery

commit b352dd8f1fdab8f73bf2f4dea3b0ac757dd6ad29

Merge: d7232d3 fd4fadf

Author: Sean Broeder <sbroeder@edev06.esgyn.local>

Date: Wed Sep 28 23:20:57 2016 +0000

Fix to handle bad TM ZK node entries during recovery

commit d7232d3f816129464a3449cea56a10919794ddd2

Merge: 0ccafa2 1e94882

Author: Sean Broeder <sbroeder@edev06.esgyn.local>

Date: Wed Sep 28 23:19:20 2016 +0000

Merge branch 'master' of github.com:apache/incubator-trafodion into sean_traf

commit fd4fadffab1f969dd1e3e735b01a9c62d9bb9766

Author: Sean Broeder <sean.broeder@esgyn.com>

Date: Tue Sep 27 10:22:02 2016 -0700

Update TransactionManager.java

commit 0ccafa240eb1ee225226c18c1396204830bea8ad

Author: Sean Broeder <sbroeder@edev06.esgyn.local>

Date: Tue Sep 27 03:13:23 2016 +0000

Fix to handle bad TM ZK node entries during recovery

This is the second fix for JIRA [TRAFODION-2236]

This closes #730

    • -5
    • +6
    ./transactional/TransactionManager.java
    • -1
    • +40
    ./transactional/TransactionState.java
  1. … 5 more files in changeset.
Addressing review comments

    • -4
    • +4
    ./transactional/TransactionManager.java
  1. … 1 more file in changeset.
Merge remote branch 'sbroeder_inctraf/sean_traf' into sean_traf

Conflicts:

core/sqf/src/seatrans/tm/hbasetmlib2/src/main/java/org/trafodion/dtm/HBaseTxClient.java

    • -4
    • +4
    ./transactional/TransactionManager.java
  1. … 1 more file in changeset.
Fix to handle bad TM ZK node entries during recovery

    • -12
    • +3
    ./transactional/TransactionManager.java
  1. … 1 more file in changeset.
Update TransactionManager.java

    • -4
    • +4
    ./transactional/TransactionManager.java
Fix to handle bad TM ZK node entries during recovery This is the second fix for JIRA [TRAFODION-2236]

    • -5
    • +6
    ./transactional/TransactionManager.java
    • -1
    • +40
    ./transactional/TransactionState.java
  1. … 5 more files in changeset.
TRAFODION-2231 support transactional ddl exceptions to sql.

    • -20
    • +20
    ./transactional/RMInterface.java
  1. … 10 more files in changeset.
Adding expected file for test116 for JIRA [TRAFODION-1435]

    • -2
    • +1
    ./transactional/SsccTransactionalTable.java
  1. … 3 more files in changeset.
Merging HEAD and addressing review comments for JIRA [TRAFODION-1435]

    • -2
    • +1
    ./transactional/SsccTransactionalTable.java
  1. … 2 more files in changeset.
Second set of changes for JIRA [TRAFODION-1435] Region operations performed transactionally for delete, chackAndDelete Improved endpoint coprocessor exception logging

    • -2
    • +112
    ./transactional/SsccTransactionalTable.java
    • -14
    • +162
    ./transactional/TransactionalTable.java
    • -4
    • +10
    ./transactional/TransactionalTableClient.java
  1. … 7 more files in changeset.
Merge [TRAFODION-2148] PR 646 Propagate error codes of create/drop DDL statements to client

    • -16
    • +37
    ./transactional/RMInterface.java
Merge [TRAFODION-1435] PR-663 Initial region transaction changes (currently off by default)

    • -0
    • +164
    ./transactional/TransactionalTable.java
  1. … 2 more files in changeset.
Update TransactionalTable.java

    • -2
    • +1
    ./transactional/TransactionalTable.java