Revision 8869
Added by Jing Tao over 10 years ago
src/edu/ucsb/nceas/metacat/dataone/CNodeService.java | ||
---|---|---|
380 | 380 |
} |
381 | 381 |
|
382 | 382 |
// Don't defer to superclass implementation without a locally registered identifier |
383 |
|
|
383 |
SystemMetadata systemMetadata = HazelcastService.getInstance().getSystemMetadataMap().get(pid); |
|
384 | 384 |
// Check for the existing identifier |
385 | 385 |
try { |
386 | 386 |
localId = IdentifierManager.getInstance().getLocalId(pid.getValue()); |
... | ... | |
439 | 439 |
} |
440 | 440 |
|
441 | 441 |
// notify the replicas |
442 |
SystemMetadata systemMetadata = HazelcastService.getInstance().getSystemMetadataMap().get(pid); |
|
443 | 442 |
if (systemMetadata.getReplicaList() != null) { |
444 | 443 |
for (Replica replica: systemMetadata.getReplicaList()) { |
445 | 444 |
NodeReference replicaNode = replica.getReplicaMemberNode(); |
Also available in: Unified diff
Persitence the system metadata object in the memory before deleting it from hazelcast.