Revision 6125
Added by ben leinfelder almost 13 years ago
CNCoreImpl.java | ||
---|---|---|
51 | 51 |
|
52 | 52 |
import edu.ucsb.nceas.metacat.EventLog; |
53 | 53 |
import edu.ucsb.nceas.metacat.IdentifierManager; |
54 |
import edu.ucsb.nceas.metacat.replication.ForceReplicationSystemMetadataHandler; |
|
54 | 55 |
|
55 | 56 |
/** |
56 | 57 |
* |
... | ... | |
122 | 123 |
try { |
123 | 124 |
IdentifierManager.getInstance().createSystemMetadata(sysmeta); |
124 | 125 |
IdentifierManager.getInstance().updateSystemMetadata(sysmeta); |
126 |
// force replication of this record |
|
127 |
ForceReplicationSystemMetadataHandler forceReplication = new ForceReplicationSystemMetadataHandler(guid.getValue(), null); |
|
125 | 128 |
} catch (Exception e) { |
126 | 129 |
throw new ServiceFailure("4862", "Error inserting system metadata: " + e.getClass() + ": " + e.getMessage()); |
127 | 130 |
} |
Also available in: Unified diff
force replication for newly-registered system metadata