cluster.cxx

Clone Tools
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Code review changes.

Change-Id: Ifc480f0e64a00bb96cb4ce657e5e391d56c793f0

  1. … 4 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. … 34 more files in changeset.
Monitor components use of log4cpp.

Incorporated code review changes.

Monitor message categories:

Category File Prefix Description

MON mon. Monitor messages

MON-SNMP mon.snmp. Monitor critical messages

PSD pstartd. Process Startup Daemon messages

WDG wdg. SQWatchdog process messages

WDG-SMP wdg.snmp SQWatchdog process critical messages

Configuration files:

log4cpp.monitor.mon.config

log4cpp.monitor.mon.snmp.config

log4cpp.monitor.psd.config

log4cpp.monitor.wdg.config

log4cpp.monitor.wdg.snmp.config

File names created:

The file name format is:

<file-prefix>.<timestamp>.<hostname>[.<nid].<pid>.log

The monitor process does not have a <pnid> when the logging object is

created

and <nid> does not apply.

The primitive processes follow the same filename pattern except that

they

use the .<nid> in the file name.

Example:

mon.150311.07.52.04.g4t2968.houston.hp.com.4809.log

mon.150311.07.52.04.g4t2968.houston.hp.com.4810.log

mon.snmp.150311.07.52.04.g4t2968.houston.hp.com.4809.log

mon.snmp.150311.07.52.04.g4t2968.houston.hp.com.4810.log

pstartd.150311.07.52.05.g4t2968.houston.hp.com.0.6107.log

pstartd.150311.07.52.05.g4t2968.houston.hp.com.1.6105.log

wdg.150311.07.52.05.g4t2968.houston.hp.com.0.6104.log

wdg.150311.07.52.05.g4t2968.houston.hp.com.1.6102.log

wdg.snmp.150311.07.52.05.g4t2968.houston.hp.com.0.6104.log

wdg.snmp.150311.07.52.05.g4t2968.houston.hp.com.1.6102.log

Conversion pattern:

layout.ConversionPattern=%d, %p, %c, %m

Monitor message format:

"Node Number: <pnid>,, PIN: <pid> , Process Name: <process-name>,,,

TID: <thread-id>, Message ID: <message-id>, <message-string>"

- Notice the absence of 'CPU:' since it does not apply to the monitor.

- <process-name> also does not apply, but the string '$MONITOR' stands

out.

However, the string is the same in every node, but the

'Node Number: <pnid>' indicates which physical node.

Primitive processes message format:

"Node Number: <pnid>, CPU: <nid>, PIN: <pid> , Process Name:

<process-name>,,, TID: <thread-id>, Message ID: <message-id>,

<message-string>"

The message formats add:

- the <thread-id> which has been useful for debugging problems

- the <message-id> which is a unique identifier of each messages

generated. The

number takes you to a specific source code location where the message

is generated.

Change-Id: I1422aeb499d3e0cd03720d174dc5e6db8003fdc3

  1. … 26 more files in changeset.
Closes-Bug: 1420490

Fixes node down of pnid > 63.

Change-Id: I583aa6a9bf948697be0d8e929834f20801bce339

  1. … 3 more files in changeset.
Closes-Bug: 1411520 1411830

Fixes node down and node up processing.

Change-Id: I1f30a0298df395acdd58d530e4c0f5a5ba8356ce

  1. … 4 more files in changeset.
Partial-Bug: 1411520 1411830

Fixes multiple problems during node down and node up processing.

Change-Id: I2fcc4b31e96f0cd6c8900f540ad9c512b2686ca7

Partial-Bug: 1411520 1411830

Fixes multiple problems during node down and node up processing.

Change-Id: I3c932a74dc9a284f28f4b0aaef0d49c2caeffa35

  1. … 4 more files in changeset.
Fixed typos in user-visible messages and sample code

Fixed spellings and minor grammar in strings used in

in output, and sample code supplied to users.

One possibly harmful misspelling was found in source code,

file sqf/monitor/linux/montim.cxx used "Contianer_ExitProcess"

where it should have used "Container_ExitProcess".

Five files which could be changed for this reason are being held back

because they are also in open change 875. They will be checked in after

that change is merged to the main branch:

conn/odbc/src/odbc/dependencies/linux/smxoevl.h

conn/trafci/src/org/trafodion/ci/InterfaceQuery.java

sqf/src/sp_proxy/sp_common.cpp

sqf/src/tm/tmlibmsg.h

sqf/src/tm/tmtimer.cpp

In patch set 2, modified these files as notde by reviewer:

conn/jdbc_type2/samples/CreateDataSource.java

sqf/monitor/test/montestutil.cxx

sql/cli/Statement.h

sql/optimizer/RelExpr.h

sql/optimizer/RelScan.h

sql/optimizer/ScmCostMethod.cpp

Change-Id: I3761e9e1518ab39415806bba0f4ed93d14e1d41c

  1. … 59 more files in changeset.
Fix to ReceiveSock/SendSock to retry IO on EINTR

Change-Id: Ib6e48ad3f3f88d2e90f519b62320dfbf014b33d5

Fixes repeated node down/up on same node.

Change-Id: I5d65364ebece1e901f6a05f95ee5fbfdf5829185

Node Up (re-integration) updates. Squashed commit of the following:

commit a1cc0bad793a00d3ae3436783e1a0b29cc5286ad

Merge: 6f8f67a b4d797a

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

Date: Fri Dec 12 14:49:33 2014 -0800

Merge remote branch 'gerrit/master' into traf/recovery_node_up

commit 6f8f67a2128a0b3d431a45f9a60c0b85f1071aba

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

Date: Fri Dec 12 14:47:38 2014 -0800

Restore mainline merge change.

Change-Id: I3f941e4db7ab68a7a5190af3e7c0ce9b8c83f810

commit 967255b2c7453aac0e2125fcea0dc421524bd1af

Merge: 2616982 f0f508a

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

Date: Fri Dec 12 10:00:54 2014 -0800

Merge branch 'master' of https://github.com/trafodion/core into traf/opensrc

commit 2616982f1eab099a1eaeafacc5fb17036feb989d

Merge: a329762 2977953

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

Date: Fri Dec 12 10:00:42 2014 -0800

Merge branch 'master' into traf/opensrc

commit 297795384d235f5b3e31b40878d68cc8ff08eee8

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

Date: Thu Dec 11 15:46:37 2014 -0800

Node up (re-integration) fixes, code cleanup, etc.

commit 52f713738b62d4dccd6d6e7b054210b946311af7

Merge: 882e800 5b93d74

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

Date: Tue Dec 9 13:00:19 2014 -0800

Merge branch 'master' of https://github.com/fuentead/recovery

Conflicts:

sqf/sql/scripts/sqgen

commit 882e8004d5927cdfad8a357537bbffee7f9dc5ce

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

Date: Tue Dec 9 12:46:33 2014 -0800

Preliminary node up (reintegration) changes.

commit 5b93d740f8c07fe57f19b0ff20cbd34c338c5e51

Author: adriana.fuentes@hp.com <adriana.fuentes@hp.com>

Date: Tue Dec 9 20:20:41 2014 +0000

Resolving conflicts

Change-Id: Idc42d06ae9ac1a27760439a24dabd2c7ff2e513f

commit befb8398207173f597eed371556eb28976389e48

Merge: 65f20fe 2334c66

Author: adriana.fuentes@hp.com <adriana.fuentes@hp.com>

Date: Tue Dec 9 20:11:39 2014 +0000

Merge remote branch 'gerrit/master'

Conflicts:

sqf/src/seatrans/hbase-trx/src/main/java/org/apache/hadoop/hbase/coprocessor/transactional/TrxRegionEndpoint.java

sqf/src/seatrans/tm/hbasetmlib2/HBaseTxClient.java

sqf/src/tm/tmrecov.cpp

Change-Id: Iac5aa6dd06ff6d9076c89c556882af213b81397f

commit 65f20fee9410003e27fe06baea5bf3cacbdacf5d

Author: Shang-Sheng Tung <shang-sheng.tung@hp.com>

Date: Wed Dec 3 20:47:37 2014 +0000

add node down code

commit 380796d38e51b9601af7f68b37b865e34ad595a0

Author: Shang-Sheng Tung <shang-sheng.tung@hp.com>

Date: Tue Nov 25 23:30:45 2014 +0000

test by adding a space

commit ac490047192d179abf70f3369529bec792f54e17

Author: oliverbucaojit <oliver.bucaojit@gmail.com>

Date: Tue Nov 25 23:22:45 2014 +0000

Moving Trace line

commit 1225a6caca2b4d9124f00ae187cee1c0b584267f

Author: Oliver Bucaojit <oliver.bucaojit@hp.com>

Date: Tue Nov 25 22:32:48 2014 +0000

Recovery thread changes, nodeDown and nodeUp addition, full try/catch and retry logic added to RecoveryThread

commit b5e26f283ef6b02e7073bc1b809aa27a40ed397c

Author: adriana.fuentes@hp.com <adriana.fuentes@hp.com>

Date: Tue Nov 25 01:39:20 2014 +0000

TM changes for sending NID on node down and up

TM changes to send node id on a node down and a node up.

JNI changes on C++ and java side.

Change-Id: I1f7166d97e7113d6c17a35dffd1c9a7e6a67c901

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

commit a3c507d679655f85000420d7415d00835f807fb1

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

Date: Thu Nov 20 11:54:52 2014 -0800

Infrastructure monitor/SBAPI updates to support phandle verifier and

miscellaneous bug fixes.

Change-Id: I9de0c7bb9e2d3e09e07b89c3c74ecd6a1a259304

  1. … 686 more files in changeset.
Initial code drop of Trafodion

  1. … 4886 more files in changeset.