Clone Tools
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Migrate from log4cpp to log4cxx

This change is a wholesale removal of log4cpp from source tree.

log4cxx is an external library installed via RPM, or user build

to default /usr/lib64 and /usr/include directories. Some of the

QRLogger and CommonLogger code was changed to use the new log4cxx

APIs.

Change-Id: I248bac0a8ffbfea6cbc1ba847867b30638892eae

  1. … 206 more files in changeset.
Fixes for SSCC startId, commitId, and logging

Change-Id: I1005ee8a5d24b6a27c69eb760441a030e2787b8c

  1. … 14 more files in changeset.
DDL Trans - Support for queuing DDL requests in TM

Support for queuing DDL requests in multithreaded TM.

Queuing support will allow concurrency in TM while DDL

requests are sent. TM will be able to accept other DDL

requests and other jobs while worker threads complete

the DDL requests queued.

Change-Id: I8081f6eeb69868239c9019eb988cc2b556d2fb26

Move core into subdir to combine repos

  1. … 10754 more files in changeset.
Move core into subdir to combine repos

  1. … 10608 more files in changeset.
Move core into subdir to combine repos

Use: git log --follow -- <file>

to view file history thru renames.

  1. … 10823 more files in changeset.
Add global ID server into SSCC

The startId and commitId are now generated by a global ID server so

they are the same throughout the cluster. Without a global server

queries that spanned 2 region servers would return inconsistent results

Change-Id: If18cc7dc9d309dbc25fbf05c5666e47bd918ddeb

  1. … 20 more files in changeset.
DDL Tx, Changes to handle upsert using load operations on abort

SQL statements 'upsert using load' will be executed outside of a

transaction even though the operation can performed inside a

transaction. For this reason, it is necessary for us to handle this

data differently when a transaction aborts or fails.

These operations will be registered as part of the TmDDL manager

and if the transaction is aborted, that table gets truncated. The data

loaded will be deleted but table will still exist. At the moment, this is

handled by using disable, delete and create hbase methods. However, when

hbase is upgraded to the next version, we will use the truncate hbase

method option.

Change-Id: Ica9d81a284b5f1821a3048b9c8deaad449a4c4f4

  1. … 13 more files in changeset.
Transactional DDL - Salted Tables functionality

Added salted table functionality to transactional DDL create

It currently works with large numbers of table partitions and large

key lengths.

Change-Id: Ia5d9113678d697fdcd9f60021fc2dd3eb18fda0f

  1. … 10 more files in changeset.
Support for TM not running state - output for REST/HPDSM

Added a new state for dtmci to handle all error situations when

a response is not received by the TM. So far, these errors are

handled as a NOT RUNNING state for the TM. Display in json format

has been corrected.

Change-Id: Id19c73a47ad4ae49dac231962e1d3d5e8ae96dc0

DDL Transactions,drop end to end & prepareCommit

Change-Id: I69b1d6b3babcaf61761c821bac091fd2101be729

  1. … 7 more files in changeset.
Transactional DDL, Drop Table functionality

Added Transactional DDL, Drop Table functionality from SQL side to the

TransactionManager in the TM java side.

Code has been tested with create table/drop table flow with sqlci.

Change-Id: I3fc7d8cf395cd2ae06884c92d1d0c583a3100ea9

  1. … 11 more files in changeset.
Persistent TMs now default;Remove sleep

Change-Id: If44c920f6d228f0cd0aaaa02cce74af7c7c91e00

  1. … 1 more file in changeset.
Added dummy link to update phandle

Change-Id: Idb3b9225774a69f4fd12e7e5e6b56c181f9ee43a

tm id server - part-II.

Change-Id: Ie92fe02f8ceafe91f32279dd09044e9f2a336364

  1. … 24 more files in changeset.
Merge "Squashed commit of the following:"

Code review changes.

Change-Id: Ifc480f0e64a00bb96cb4ce657e5e391d56c793f0

  1. … 4 more files in changeset.
Phase5-DDLTransactions, SQL and TM changes

Changes in TM and JNI to pass transid and table name

Changes in SQL to accept create ddl request within a transaction

Change-Id: Id35c42c71822d7731c85bb3339d4014ac1cb0572

  1. … 7 more files in changeset.
Squashed commit of the following:

DTM Persistent Process preliminary (disabled)

commit 52dc8676da21b7b33c24370b182f24bcbf8a804e

Merge: d691b6f 0fd7cab

Author: Gonzalo Correa <gonzalo.correa@hp.com>

Date: Mon Mar 23 14:08:03 2015 -0700

Merge remote branch 'gerrit/master' into traf/persist-dtm

commit d691b6fb5ba72d26c71bdff076c57fc965fe2fcb

Author: Gonzalo Correa <gonzalo.correa@hp.com>

Date: Mon Mar 23 14:02:23 2015 -0700

Pre-merge changes.

commit 51148aa3372c380d740b5cf4610a46a8a465e69b

Merge: 1e8924e d1c1419

Author: Gonzalo Correa <gonzalo.correa@hp.com>

Date: Mon Mar 23 12:55:50 2015 -0700

Merge branch 'master' into traf/opensrc

commit d1c1419daf36228a8ebbaca41e206d016914de57

Author: Gonzalo Correa <gonzalo.correa@hp.com>

Date: Mon Mar 23 11:38:30 2015 -0700

Disabled DTM persistence - preparing to check-in.

commit 35be8c3887779f02cf7b36322447ce02d6ba865c

Author: Gonzalo Correa <gonzalo.correa@hp.com>

Date: Mon Mar 23 08:32:37 2015 -0700

Updated copyright on changed files.

commit a5b2c821739216d68e1e4d192cb3c90576383196

Author: Gonzalo Correa <gonzalo.correa@hp.com>

Date: Sun Mar 22 12:35:23 2015 -0700

Fixes on shutdown when DTM is persistent process.

commit 29d7435be161bdb933207a04e434027d3bac96a4

Author: Gonzalo Correa <gonzalo.correa@hp.com>

Date: Fri Mar 20 18:55:47 2015 -0700

Fix TmReady logic when not persistent DTM.

commit b1313c56766b27bcfd3c3e947be175d014f8dbf5

Merge: 10376b7 ddab807

Author: Gonzalo Correa <gonzalo.correa@hp.com>

Date: Fri Mar 20 11:48:17 2015 -0700

Merge branch 'master' of /archive/gcorrea/traf-persist-dtm

commit 10376b78b1702f8b12aceebd27843070974d789e

Author: Gonzalo Correa <gonzalo.correa@hp.com>

Date: Fri Mar 20 11:47:10 2015 -0700

Added env var SQ_DTM_PERSISTENT_PROCESS

commit ddab8076d2e87ba0790dfa28c28aad38241a8ddd

Author: ron cassou <ron.cassou@hp.com>

Date: Fri Mar 20 18:35:44 2015 +0000

TM changes to support persistent TMs

commit c3d545c2e40863d9c72ac0806f125658e5d6cc67

Author: Gonzalo Correa <gonzalo.correa@hp.com>

Date: Thu Mar 19 18:59:36 2015 -0700

Monitor DTM persistent process changes.

commit 4294f57ee73f8abe5b3cb6da55ad35d4b388b3df

Author: Gonzalo Correa <gonzalo.correa@hp.com>

Date: Thu Mar 19 18:58:04 2015 -0700

Monitor DTM persisten process changes.

commit 9dd0bf30bf340ed9a8a22799872073055e12a613

Author: ron cassou <ron.cassou@hp.com>

Date: Tue Mar 10 23:23:50 2015 +0000

Don't bring the node down on dtm death

commit 7923f8f367b45f62bdb771653ae2822bea2fe88e

Author: Gonzalo Correa <gonzalo.correa@hp.com>

Date: Tue Mar 3 09:12:22 2015 -0800

Temporary share report delete.

Change-Id: I5c8416e6f2ed925182e59be7f2ad3caa70e6f554

  1. … 32 more files in changeset.
PHASE3&4- Transactional DDL - TM, RM, TMlib and JNI changes for create

RM changes to accept SQL requests

JNI changes for RM java to communicate with TMlib cpp

TMlib changes to accepts different DDL requests and send messages to TM

Changes in TMcpp side to receive ddl create request

Changes in tmmsg header to receive multiple types of ddl requests

JNI changes to pass 'createTable' requests from TMcpp to Tmjava side

Change-Id: I2e30c57298111293dc91bae7deeb44b92be0e9c1

  1. … 7 more files in changeset.
Avoid unnecessary memory allocation while logging via log4cpp

log4cpp.getInstance method takes in std::string argument. Wven the caller

passes in const char *, a std::string instance is created. Changed

code to pass std::string object from all callers to avoid memory

allocation from system heap

Change-Id: Id46e084b8eff8dacd31251a8a23ef013cf886a91

  1. … 8 more files in changeset.
Fixs a problem when local transactions are turned on.

Change-Id: I61b65b0f29a44583eaf34493015b9c34c1351532

  1. … 3 more files in changeset.
Corrected TM statistics for use by HPDSM.

Change-Id: Ibc495b024d4ce45fae5c2149827bd9c35d072044

  1. … 1 more file in changeset.
DTMCI changes to support REST/HPDSM

Changes to 'status tm' and 'stats' in dtmci to make output json

compatible so it can be used by REST server/HPDSM.

Change-Id: Id19fb85e943c8a594d79758c217af7de4aa02846

bp/dtm-local-transaction Reduced TransactionManager instances.

Change-Id: I13b381ae9d0ac8c13ba39065ceb602cc9fa8995a

    • -0
    • +352
    ./javaobjectinterfacetm.cpp
    • -0
    • +151
    ./javaobjectinterfacetm.h
  1. … 27 more files in changeset.
Patch for comments from Dave B's review.

Fixed copyrights and some error handling

This change set includes changes to log4cpp infrastructure to split the

single config file into separate ones for each component.

Changed the existing tm.log file so the numerous 0 byte files are not

created (LP 1409226)

Node numbers are added to smp, sscp and lobserver log files which are

unique to each node.

Currently the following are the log files(examples) that will be seen in the sqf/logs

directory :

master_exec_0_30350.log

mxlobsrvr_0.log

mxlobsrvr_1.log

sscp_0.log

sscp_1.log

ssmp_0.log

ssmp_1.log

startup.log

tm_0.log

tm_1.log

trafodion.dtm.log

trafodion.hdfs.log

This change set includes one change to cleanup lob files during

initialize trafodion,drop.

commit 6b48cd7abe6cce7c9a1d722a6a67f151a428fbf8

Author: Sandhya Sundaresan <sandhya.sundaresan@hp.com>

Date: Wed Mar 11 18:20:16 2015 +0000

Change-Id: I8d06716a1cac464454e01e5267460efa1859747f

  1. … 24 more files in changeset.
Move 'private' Seabed utilatomic.h to 'public' atomic.h.

Change-Id: I438642536419fbd0ba762c98da256e11f2cc7657

  1. … 5 more files in changeset.
Use Seabed atomics for platform compatibility

Change-Id: If333ac5d7a3cc06e41a462f99d69d9a16159fe5c

Partial-Bug: 1411520 1411830

Fixes multiple problems during node down and node up processing.

Change-Id: I3c932a74dc9a284f28f4b0aaef0d49c2caeffa35

  1. … 3 more files in changeset.
Fix TM main stack corruption

Change-Id: I9a885303153aec6fd53f5a6799b908af8de963f3