Project

General

Profile

« Previous | Next » 

Revision 7339

logging for processing identifier set on restart.

View differences:

src/edu/ucsb/nceas/metacat/dataone/hazelcast/HazelcastService.java
505 505
		Set<Identifier> idKeys = loadAllKeys();
506 506
				
507 507
		// only contribute what are not already shared
508
		idKeys.removeAll(identifiers);
508
		Iterator<Identifier> idIter = identifiers.iterator();
509
		while (idIter.hasNext()) {
510
			Identifier pid = idIter.next();
511
			if (idKeys.contains(pid)) {
512
				logMetacat.warn("Shared pid is already in local identifier set: " + pid.getValue());
513
				idKeys.remove(pid);
514
			}
515
		}
509 516
		logMetacat.warn("local pid count not yet shared: " + idKeys.size() + ", shared pid count: " + identifiers.size());
510 517

  
511 518
		//identifiers.addAll(idKeys);

Also available in: Unified diff