Revision 7812
Added by ben leinfelder almost 11 years ago
ReplicationService.java | ||
---|---|---|
588 | 588 |
} |
589 | 589 |
// save the system metadata |
590 | 590 |
HazelcastService.getInstance().getSystemMetadataMap().put(sysMeta.getIdentifier(), sysMeta); |
591 |
// submit for indexing |
|
592 |
HazelcastService.getInstance().getIndexQueue().add(sysMeta); |
|
591 | 593 |
} |
592 | 594 |
|
593 | 595 |
// dates |
... | ... | |
883 | 885 |
} |
884 | 886 |
// save the system metadata |
885 | 887 |
HazelcastService.getInstance().getSystemMetadataMap().put(sysMeta.getIdentifier(), sysMeta); |
888 |
// submit for indexing |
|
889 |
HazelcastService.getInstance().getIndexQueue().add(sysMeta); |
|
886 | 890 |
} |
887 | 891 |
|
888 | 892 |
// process the access control |
... | ... | |
1153 | 1157 |
SystemMetadata.class, |
1154 | 1158 |
new ByteArrayInputStream(systemMetadataXML.getBytes("UTF-8"))); |
1155 | 1159 |
HazelcastService.getInstance().getSystemMetadataMap().put(sysMeta.getIdentifier(), sysMeta); |
1160 |
// submit for indexing |
|
1161 |
HazelcastService.getInstance().getIndexQueue().add(sysMeta); |
|
1156 | 1162 |
} |
1157 | 1163 |
|
1158 | 1164 |
logReplication.info("ReplicationService.handleForceReplicateSystemMetadataRequest - processed guid: " + guid); |
Also available in: Unified diff
use an independent ISet<SystemMetadata> structure to communicate objects that should be indexed by metacat-index. https://projects.ecoinformatics.org/ecoinfo/issues/5943