Revision 6490
Added by ben leinfelder over 13 years ago
src/edu/ucsb/nceas/metacat/dataone/hazelcast/HazelcastService.java | ||
---|---|---|
66 | 66 |
public class HazelcastService extends BaseService |
67 | 67 |
implements InstanceListener, EntryListener<Identifier, SystemMetadata> { |
68 | 68 |
|
69 |
private static final String SINCE_PROPERTY = "dateSysMetaModified"; |
|
69 |
private static final String SINCE_PROPERTY = "dateSysMetadataModified";
|
|
70 | 70 |
|
71 | 71 |
/* The instance of the logging class */ |
72 | 72 |
private static Logger logMetacat = Logger.getLogger(HazelcastService.class); |
... | ... | |
203 | 203 |
// make sure we have all metadata locally |
204 | 204 |
try { |
205 | 205 |
// add index for resynch() method |
206 |
systemMetadata.addIndex(SINCE_PROPERTY, true); |
|
207 |
resynch(); |
|
206 |
// can only be added once, TODO: figure out how this works |
|
207 |
//systemMetadata.addIndex(SINCE_PROPERTY, true); |
|
208 |
//resynch(); |
|
208 | 209 |
} catch (Exception e) { |
209 | 210 |
String msg = "Problem synchronizing system metadata. " + e.getMessage(); |
210 | 211 |
logMetacat.error(msg, e); |
Also available in: Unified diff
comment out resynch() method until errors are resolved