Revision 9326
Added by Chris Jones about 9 years ago
src/edu/ucsb/nceas/metacat/dataone/CNodeService.java | ||
---|---|---|
948 | 948 |
// update the metadata |
949 | 949 |
try { |
950 | 950 |
systemMetadata.setSerialVersion(systemMetadata.getSerialVersion().add(BigInteger.ONE)); |
951 |
systemMetadata.setDateSysMetadataModified(Calendar.getInstance().getTime()); |
|
951 |
// Based on CN behavior discussion 9/16/15, we no longer want to |
|
952 |
// update the modified date for changes to the replica list |
|
953 |
//systemMetadata.setDateSysMetadataModified(Calendar.getInstance().getTime()); |
|
952 | 954 |
HazelcastService.getInstance().getSystemMetadataMap().put(systemMetadata.getIdentifier(), systemMetadata); |
953 | 955 |
|
954 | 956 |
if ( !status.equals(ReplicationStatus.QUEUED) && |
... | ... | |
2030 | 2032 |
// update the metadata |
2031 | 2033 |
try { |
2032 | 2034 |
systemMetadata.setSerialVersion(systemMetadata.getSerialVersion().add(BigInteger.ONE)); |
2033 |
systemMetadata.setDateSysMetadataModified(Calendar.getInstance().getTime()); |
|
2035 |
// Based on CN behavior discussion 9/16/15, we no longer want to |
|
2036 |
// update the modified date for changes to the replica list |
|
2037 |
//systemMetadata.setDateSysMetadataModified(Calendar.getInstance().getTime()); |
|
2034 | 2038 |
HazelcastService.getInstance().getSystemMetadataMap().put(systemMetadata.getIdentifier(), systemMetadata); |
2035 | 2039 |
|
2036 | 2040 |
// inform replica nodes of the change if the status is complete |
Also available in: Unified diff
Change updateReplicationMetadata() and setReplicationStatus() to no longer set the dateSysmetaModified date per our discussion on 9/16/15.