Skip to content

Commit 1898a3c

Browse files
author
sonal
committed
Merge remote-tracking branch 'origin/snappy/master' into SNAP-713
Conflicts: tests/sql/src/main/java/sql/dmlStatements/TradeBuyOrdersDMLStmt.java
2 parents 1534e54 + 0192ac8 commit 1898a3c

80 files changed

Lines changed: 1818 additions & 687 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

build.gradle

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018 SnappyData, Inc. All rights reserved.
2+
* Copyright (c) 2017-2019 TIBCO Software Inc. All rights reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you
55
* may not use this file except in compliance with the License. You
@@ -118,7 +118,7 @@ allprojects {
118118
snappyDunitVersion = '1.0.3.6'
119119

120120
// product and release properties
121-
PRODUCT_NAME = 'SnappyData RowStore'
121+
PRODUCT_NAME = 'TIBCO ComputeDB RowStore'
122122

123123
GEMFIRE_PRODUCT = 'Pivotal GemFire'
124124
GEMFIRE_VERSION = '7.5.Beta'
@@ -130,13 +130,13 @@ allprojects {
130130

131131
PRODUCT_MAJOR = '1'
132132
PRODUCT_MINOR = '6'
133-
PRODUCT_MAINT = '2'
134-
PRODUCT_CLASSIFIER = '.1'
133+
PRODUCT_MAINT = '3'
134+
PRODUCT_CLASSIFIER = ''
135135
PRODUCT_RELEASE_STAGE = ''
136136
PRODUCT_VERSION = "${PRODUCT_MAJOR}.${PRODUCT_MINOR}.${PRODUCT_MAINT}${PRODUCT_CLASSIFIER}"
137-
vendorName = 'SnappyData, Inc.'
137+
vendorName = 'TIBCO Software Inc.'
138138
PRODUCT_VENDOR = vendorName
139-
COPYRIGHT = "Copyright 2017, ${PRODUCT_VENDOR} All rights reserved."
139+
COPYRIGHT = "Copyright (c) 2017-2019, ${PRODUCT_VENDOR} All rights reserved."
140140

141141
if (rootProject.name == 'snappy-store') {
142142
subprojectBase = ':'
@@ -539,7 +539,7 @@ subprojects {
539539
name PRODUCT_NAME
540540
packaging 'jar'
541541
// optionally artifactId can be defined here
542-
description 'SnappyData store based off Pivotal GemFireXD'
542+
description 'TIBCO ComputeDB store based off Pivotal GemFireXD'
543543
url 'http://www.snappydata.io'
544544

545545
scm {
@@ -559,7 +559,7 @@ subprojects {
559559
developer {
560560
id 'smenon'
561561
name 'Sudhir Menon'
562-
email 'smenon@snappydata.io'
562+
email 'sumenon@tibco.com'
563563
}
564564
}
565565
}
@@ -587,8 +587,7 @@ gradle.taskGraph.whenReady { graph ->
587587
def test = (Test)task
588588
test.configure {
589589

590-
jvmArgs = ['-XX:+HeapDumpOnOutOfMemoryError',
591-
'-XX:+UseParNewGC', '-XX:+UseConcMarkSweepGC',
590+
jvmArgs = ['-XX:+UseParNewGC', '-XX:+UseConcMarkSweepGC',
592591
'-XX:CMSInitiatingOccupancyFraction=50',
593592
'-XX:+CMSClassUnloadingEnabled', '-ea']
594593

@@ -615,30 +614,30 @@ gradle.taskGraph.whenReady { graph ->
615614
environment 'GEMFIREXD' : productDir.getAbsolutePath(),
616615
'JUNIT_JAR' : project.sourceSets.test.java.outputDir
617616

618-
int numTestClasses = 0
619-
def testCount = new java.util.concurrent.atomic.AtomicInteger(0)
620-
621-
doFirst {
622-
numTestClasses = test.getCandidateClassFiles().getFiles().size()
623-
}
624-
beforeSuite { desc ->
625-
if (desc.className != null) {
626-
def count = testCount.incrementAndGet()
627-
println "${now()} Start ${desc.className} ($count/$numTestClasses)"
628-
}
629-
}
630-
afterSuite { desc, result ->
631-
if (desc.className != null) {
632-
println "${now()} END ${desc.className}"
633-
}
634-
}
635-
636617
if (rootProject.name == 'snappy-store') {
637618
def failureCount = new java.util.concurrent.atomic.AtomicInteger(0)
638619
def progress = new File(workingDir, 'progress.txt')
639620
def output = new File(workingDir, 'output.txt')
640621

641622
def eol = System.getProperty('line.separator')
623+
624+
int numTestClasses = 0
625+
def testCount = new java.util.concurrent.atomic.AtomicInteger(0)
626+
doFirst {
627+
numTestClasses = test.getCandidateClassFiles().getFiles().size()
628+
}
629+
beforeSuite { desc ->
630+
if (desc.className != null) {
631+
def count = testCount.incrementAndGet()
632+
println "${now()} Start ${desc.className} ($count/$numTestClasses)"
633+
}
634+
}
635+
afterSuite { desc, result ->
636+
if (desc.className != null) {
637+
println "${now()} END ${desc.className}"
638+
}
639+
}
640+
642641
beforeTest { desc ->
643642
String now = now()
644643
progress << "${now} Starting test ${desc.className} ${desc.name}${eol}"

gemfire-core/src/main/java/com/gemstone/gemfire/cache/LowMemoryException.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,16 @@ public LowMemoryException(String msg, final Set<DistributedMember> criticalMembe
5858
CallbackFactoryProvider.getStoreCallbacks().logMemoryStats();
5959
}
6060

61+
/**
62+
* Constructs an instance of <code>LowMemoryException</code> with the specified cause.
63+
* @param cause
64+
*/
65+
public LowMemoryException(Throwable cause) {
66+
super(cause);
67+
this.critMems = Collections.emptySet();
68+
CallbackFactoryProvider.getStoreCallbacks().logMemoryStats();
69+
}
70+
6171
/**
6272
* Get a read-only set of members in a critical state at the time this
6373
* exception was constructed.

gemfire-core/src/main/java/com/gemstone/gemfire/distributed/internal/DistributionConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2328,7 +2328,7 @@ public interface DistributionConfig extends Config, ManagerLogWriter.LogConfig {
23282328
public static final String DISABLE_AUTO_RECONNECT_NAME = "disable-auto-reconnect";
23292329

23302330
/** The default value of the corresponding property */
2331-
public static final boolean DEFAULT_DISABLE_AUTO_RECONNECT = false;
2331+
public static final boolean DEFAULT_DISABLE_AUTO_RECONNECT = true;
23322332

23332333
/**
23342334
* Gets the value of <a href="../DistributedSystem.html#disable-auto-reconnect">"disable-auto-reconnect"</a>

0 commit comments

Comments
 (0)