Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
  hazelcast 6904 about 12 years Chris Jones In IdentifierManager.updateSystemMetadata(), ad...
CNodeService.java 53.8 KB 6884 about 12 years ben leinfelder include new methods needed for replication (in ...
D1NodeService.java 40.5 KB 6874 about 12 years Chris Jones Don't throw a NotAuthorized exception in isAdmi...
MNodeService.java 49.3 KB 6875 about 12 years Chris Jones Minor null checks to avoid NPEs when calling re...
ObjectFormatService.java 7.18 KB 6803 over 12 years ben leinfelder new jars with many changes -- including new CN ...
SystemMetadataFactory.java 24.8 KB 6873 about 12 years ben leinfelder do not download and save remote data resources ...

Latest revisions

# Date Author Comment
6904 01/13/2012 11:17 AM Chris Jones

In IdentifierManager.updateSystemMetadata(), add a check for invalid system metadata (fields that throw a NullPointerException on access) to ensure that system metadata is populated correctly. Updated calling classes to handle the exception.

6894 01/12/2012 01:56 PM Chris Jones

Handle SQLExceptions when trying to save system metadata locally.

6893 01/12/2012 01:56 PM Chris Jones

Convert SQLExceptions to RuntimeExceptions for Hazelcast MapStore operations.

6889 01/12/2012 07:53 AM Chris Jones

Keep the hzIdentifiers set in sync with the Metacat systemmetadata table. If entries are added/updated in the hzSystemMetadata map, make sure the identifier is in the set. If (for some administrative reason) the entry is removed, remove the identifier from the set. This usually doesn't happen.

6888 01/12/2012 07:47 AM Chris Jones

When loading all keys from Metacat into the hzSystemMetadata map, also load identifiers into the hzIdentifiers set if they are not already there. Although entries may be evicted from the map, the list of identifiers will remain. The list will have a fairly small memory footprint since it's just identifiers.

6887 01/12/2012 07:44 AM Chris Jones

Add support for the distributed Set of unique identifiers in the storage cluster called 'hzIdentifiers'. This set is a persistent total list of all identifiers (even when entries in the hzSystemMetadata map are evicted). It reflects the state of the identifiers in the postgresql systemmetadata table, but is distributed across the cluster. Add the getIdentifiers() method, which returns the ISet of identifiers.

6884 01/11/2012 04:42 PM ben leinfelder

include new methods needed for replication (in new d1 jars)
https://redmine.dataone.org/issues/2203

6883 01/11/2012 01:25 PM ben leinfelder

add method: setObsoletedBy (https://redmine.dataone.org/issues/2185)
augement new method: deleteReplicationMetadata

6881 01/11/2012 11:24 AM ben leinfelder

add method: deleteReplicationMetadata
remove method: assertRelation
update the D1 jars
https://redmine.dataone.org/issues/2187
https://redmine.dataone.org/issues/2158

6876 01/10/2012 05:04 PM Chris Jones

Simplify setReplicationStatus() to not call updateReplicationMetadata() if a replica doesn't exist. Just create it and update the system metadata, which we already have a lock for.

View revisions

Also available in: Atom