Revision 6451
Added by ben leinfelder over 12 years ago
HazelcastService.java | ||
---|---|---|
308 | 308 |
// need to pull the entry into the local store |
309 | 309 |
logMetacat.debug("Saving entry locally: " + event.getKey().getValue()); |
310 | 310 |
try { |
311 |
if (!IdentifierManager.getInstance().identifierExists(event.getKey().getValue())) {
|
|
311 |
if (!IdentifierManager.getInstance().systemMetadataExists(event.getKey().getValue())) {
|
|
312 | 312 |
IdentifierManager.getInstance().createSystemMetadata(event.getValue()); |
313 | 313 |
} else { |
314 | 314 |
IdentifierManager.getInstance().updateSystemMetadata(event.getValue()); |
Also available in: Unified diff
check if system metadata exists rather than just the id mapping (before creating the entry)