Project

General

Profile

« Previous | Next » 

Revision 7114

synchronize local system metadata on cn restart

View differences:

src/edu/ucsb/nceas/metacat/dataone/hazelcast/HazelcastService.java
229 229
    
230 230
    // make sure we have all metadata locally
231 231
    try {
232
	    // add index for resynch() method
233
    	// can only be added once, TODO: figure out how this works
234
	    //systemMetadata.addIndex(SINCE_PROPERTY, true);
235
		//resynch();
232
    	// synch on restart
233
        synchronizeLocalStore();
236 234
	} catch (Exception e) {
237 235
		String msg = "Problem synchronizing system metadata. " + e.getMessage();
238 236
		logMetacat.error(msg, e);

Also available in: Unified diff