Re: [Geotools-devel] Backport of HSQLDB upgrade to 2.4.1

2018-06-30 Thread Ben Caradoc-Davies

Brad,

before the upgrade, test builds of gs-main on Linux with maxcpus=2 hung 
on CoverageViewTest in 2/100 tests. CPU was still burning so it looked 
like a livelock. I did not think to dump stack with jstack. I did not 
see these hangs after the upgrade. It is possible that this upgrade will 
fix the livelock(?) in GEOS-8491.


I also have another EPSG concurrency fix, but I thought that it would 
only affect tests, where multiple ThreadedHsqlEpsgFactory are 
instantiated, not production where there should be a single instance:


[GEOT-6056] EPSG lookup failures caused by concurrent database shutdown 
in FactoryUsingHSQL finalizer

https://osgeo-org.atlassian.net/browse/GEOT-6056
https://github.com/geotools/geotools/pull/1953

It would be interesting to repeat the GEOS-8491 tests with both 
GEOT-6050 and GEOT-6056 fixes applied.


Kind regards,
Ben.

On 30/06/18 16:25, br...@frogmouth.net wrote:

It is possible that
https://osgeo-org.atlassian.net/browse/GEOS-8491
is the same issue

Brad
-Original Message-
From: Ben Caradoc-Davies 
Sent: Saturday, 30 June 2018 12:16 PM
To: GeoTools Devel 
Subject: [Geotools-devel] Backport of HSQLDB upgrade to 2.4.1

I will be backporting the upgrade of HSQLDB to 2.4.1
 to 19.x and 18.x because
it is in effect a bug fix because it fixes concurrency problems that cause:

[GEOS-8802] CoverageViewTest intermittent failures
https://osgeo-org.atlassian.net/browse/GEOS-8802

To provide backwards and forwards compatibility (likely unneeded but we are
being super-careful), the upgrade changes the path to the EPSG database
file. This is unlikely to cause problems but I thought I should mention in
just in case.

Kind regards,

--
Ben Caradoc-Davies 
Director
Transient Software Limited  New Zealand


--
Check out the vibrant tech community on one of the world's most engaging
tech sites, Slashdot.org! http://sdm.link/slashdot
___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel




--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


Re: [Geotools-devel] Backport of HSQLDB upgrade to 2.4.1

2018-06-29 Thread bradh
It is possible that
https://osgeo-org.atlassian.net/browse/GEOS-8491
is the same issue

Brad
-Original Message-
From: Ben Caradoc-Davies  
Sent: Saturday, 30 June 2018 12:16 PM
To: GeoTools Devel 
Subject: [Geotools-devel] Backport of HSQLDB upgrade to 2.4.1

I will be backporting the upgrade of HSQLDB to 2.4.1
 to 19.x and 18.x because
it is in effect a bug fix because it fixes concurrency problems that cause:

[GEOS-8802] CoverageViewTest intermittent failures
https://osgeo-org.atlassian.net/browse/GEOS-8802

To provide backwards and forwards compatibility (likely unneeded but we are
being super-careful), the upgrade changes the path to the EPSG database
file. This is unlikely to cause problems but I thought I should mention in
just in case.

Kind regards,

--
Ben Caradoc-Davies 
Director
Transient Software Limited  New Zealand


--
Check out the vibrant tech community on one of the world's most engaging
tech sites, Slashdot.org! http://sdm.link/slashdot
___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel