Activity
From 03/16/2012 to 04/14/2012
04/13/2012
- 04:40 PM Revision 7134 (metacat): As Ben suggested, don't compare to the node list if there are no replicas listed. This reduces the number of calls to listNodes() on the CN.
- 04:32 PM Revision 7133 (metacat): Minor logging change in throwing ServiceFailure when Hazelcast throws a RuntimeException.
- 04:07 PM Revision 7132 (metacat): Modify getSystemMetadata() to allow nodes that are listed as replicas to access the system metadata. Use the Session.Subject to find a list of nodes from the CN that match the subject, and compare those node ids to the listed replica node ids. Add listNodesBySubject() helper method to do so.
- 07:54 AM Revision 7131 (metacat): release notes for 2.0.0
04/12/2012
04/10/2012
04/09/2012
- 03:18 PM Revision 7128 (metacat): add a parameter for optionally writing EML-embedded access control rules to the Metacat DB.
- https://redmine.dataone.org/issues/2584
https://redmine.dataone.org/issues/2583
04/06/2012
- 04:22 PM Revision 7127 (metacat): added comments and logging about https://redmine.dataone.org/issues/2572
- 03:01 PM Revision 7126 (metacat): generalize the exception handling because our actions are the same no matter what the specific error is during create - we just notify the CN that the replicate call failed
- 02:58 PM Revision 7125 (metacat): catch general Exception that may be thrown during MN.replicate() when creating the object locally. There are a few records that keep slipping off our radar with no explanation as to why they remain in "REQUESTED" status.
- 01:53 PM Revision 7124 (metacat): do not download data at this point
- 01:53 PM Revision 7123 (metacat): catch errors for each localid we are processing so that they do do prevent other ids from having ORE content generated
- 01:52 PM Revision 7122 (metacat): additional debug logging for tracking down MN replication errors
- 01:35 PM Revision 7121 (metacat): only 2.1.0 EML docs for ORE generation right now...
04/05/2012
- 04:28 PM Revision 7120 (metacat): band-aid for CN-CN replication permOrder issue when access control is embedded in EML and the system metadata is replicated before the EML. we just log the inconsistency and allow the insert to succeed
- https://redmine.dataone.org/issues/2583
- 03:05 PM Revision 7119 (metacat): It looks like jk.conf and workers.properties were moved in the scripts dir: update the install docs accordingly.
- 02:56 PM Revision 7118 (metacat): Fixed a minor typo in the tomcat config section.
04/04/2012
- 04:55 PM Revision 7117 (metacat): add comment about returning early when no system metadata can be found.
- removed extraneous check on the content type of the SM -- was unused.
formatted indenting - 04:49 PM Revision 7116 (metacat): for SystemMetadata events we first check the event for the SM value. If it returns null, we look it up from the shared map. It seems as if we don't always get a value with our events.
- 03:35 PM Revision 7115 (metacat): comment out: synchronize local system metadata on cn restart
04/03/2012
- 01:31 PM Revision 7114 (metacat): synchronize local system metadata on cn restart
- 11:58 AM Revision 7113 (metacat): additional logging in MN.replicate()
- 11:32 AM Revision 7112 (metacat): double check "ecogrid" data urls for valid docid.rev - namely integer rev numbers - when parsing EML and also generating system metadata when necessary. Log the errors as warnings.
04/02/2012
- 04:11 PM Revision 7111 (metacat): log calls to store() system metadata to the backing store
- 01:03 PM Revision 7110 (metacat): actually use the filter token for stmml-1.1 schema
- 11:50 AM Revision 7109 (metacat): register stmml-1.1 schema (distributed as part of EML 2.1.0) in an effort to avoid unnecessary network traffic or the failed retrieval of the stale XSD sitting on unofficial servers
03/30/2012
- 05:24 PM Revision 7108 (metacat): Add the listener for LifecycleEvent state changes
- 05:23 PM Revision 7107 (metacat): synchronizeLocalStore() when the cluster has a LifecycleEvent state change to RESUMED.
03/29/2012
- 02:48 PM Revision 7106 (metacat): refactor memberAdded code to separate method - synchronizeLocalStore for possible reuse
- 11:19 AM Revision 7105 (metacat): handle last group of ids (oops)
- 10:33 AM Revision 7104 (metacat): use range of the list for test system metadata
- 08:48 AM Revision 7103 (metacat): use non-random list for generating system metadata in test mode
03/28/2012
- 03:19 PM Revision 7102 (metacat): include debug statements for systemMetadataReplicationStatus and systemMetadataReplicationPolicy SQL
- 11:08 AM Revision 7101 (metacat): change ordering of getLogRecords() parameter -- pidFilter is in the middle now
- 10:21 AM Revision 7100 (metacat): use 'formatId' for listObjects() parameter
- https://redmine.dataone.org/issues/2550
03/27/2012
- 04:35 PM Revision 7099 (metacat): upgrade to latest RC in libclient and common jars -- includes updated getLogRecords and new mn.generateIdentifier method
- 02:25 PM Revision 7098 (metacat): -use MembershipListener to keep new members' backing store for system metadata synchronized with the shared system metadata map.
- -remove the unused InstanceListener interface
- 09:22 AM Revision 7097 (metacat): Modify deleteReplica() to use parameters parsed from the mime multipart entity rather than the request params. Need to check that the unit test uses MMP params. This partially addresses https://redmine.dataone.org/issues/2526.
- 09:11 AM Revision 7096 (metacat): Modify CN.setObsoletedBy() to use parameters parsed from the mime multipart entity rather than the request params. Need to check that the unit test uses MMP params. This partially addresses https://redmine.dataone.org/issues/2526.
- 08:53 AM Revision 7095 (metacat): Modify reserveIdentifier() to use parameters parsed from the mime multipart entity rather than the request params. Need to check that the unit test uses MMP params. This partially addresses https://redmine.dataone.org/issues/2526.
- 08:29 AM Revision 7094 (metacat): Don't throw a JibXException, but rather convert it to a ServiceFailure.
- 08:27 AM Revision 7093 (metacat): Modify owner() to set the rights holder from parameters parsed from the mime multipart entity rather than the request params. Need to check that the unit test uses MMp params. This partially addresses https://redmine.dataone.org/issues/2526.
- 07:42 AM Revision 7092 (metacat): Add a collectMultipartParams() convenience method to D1ResourceHandler to parse multipart parameters from the entity when the entity contains no file parts.
03/26/2012
- 04:25 PM Revision 7091 (metacat): add logging statements when there is a problem calling setReplicationStatus
- 03:11 PM Revision 7090 (metacat): Get the serialVersion param from the MMP params map rather than the request object params map in setAccess().
- 02:10 PM Revision 7089 (metacat): Add a few more debugging statements to HazelcastService for troubleshooting hazelcast map concurrency.
03/23/2012
- 05:22 PM Revision 7088 (metacat): handle case where EML access rule "permission" is not in our constrained list (EML 2.0.0 doc showed this with a "none" permission for public principal). we now omit this invalid access rule when interpreting it in system metadata -- effectively dropping that invalid access rule. "none" had been stored as a 0 in the DB xml_access table and would not have given or denied access for the document so I think it can safely be omitted for good. for example, see knb-lter-gce.101.2 with this rule:
- <allow>
<principal>public</principal>
<permission>none</permission>
</allow>
03/22/2012
- 09:31 PM Revision 7087 (metacat): Use Jjava.util.Calendar rather than com.ibm ...
- 03:14 PM Revision 7086 (metacat): Also allow MNs to set the FAILED status in setReplicationStatus(). this was an oversight on my part, trying to keep MNs that truly did succeed from overriding the COMPLETED status with FAILED.
- 12:13 PM Revision 7085 (metacat): use Java-based temp file creation instead of Date (ms) timestamp to ensure uniqueness of the file and avoid re-use by two concurrent threads.
03/21/2012
03/19/2012
- 06:14 PM Revision 7083 (metacat): Don't check for populated obsoletes and obsoletedBy fields during CN.create(), only MN.create(). The CN should expect that the MN has populated this field because of existing revision information, and should trust the MN information. Addresses https://redmine.dataone.org/issues/2507.
- 06:08 PM Revision 7082 (metacat): Some minor logging changes.
- 12:40 PM Revision 7081 (metacat): use scope prefix (knb-lter-%) for random test doc population
- 12:33 PM Revision 7080 (metacat): include new jars for CN.delete() interface
- https://redmine.dataone.org/issues/2506
- 10:12 AM Revision 7079 (metacat): use isAdminAuthorized() to check access to CN.create(). Note this method takes a pid and permission parameter and neither is used. Also removed the NotFound exception because it would never come up.
- 10:01 AM Revision 7078 (metacat): check that caller is CN/admin for CN.delete()
- https://redmine.dataone.org/issues/2506
- 09:52 AM Revision 7077 (metacat): include CN.delete()
- https://redmine.dataone.org/issues/2506
03/16/2012
- 04:07 PM Revision 7076 (metacat): Notify each replica MN when critical portions of system metadata change so the MN can pull the latest copy into its store. AccessPolicy and RightsHolder changes are the most critical for the MN to keep updated on.
- 11:40 AM Revision 7075 (metacat): Only allow CNs to call MN.synchronizationFailed() by calling isAdminAuthorized(). The pid must also be valid.
Also available in: Atom