Project

General

Profile

« Previous | Next » 

Revision 7862

comment out the index queue call when archive() is called - I think it is causing the duplicate events for the listener. https://projects.ecoinformatics.org/ecoinfo/issues/6030

View differences:

src/edu/ucsb/nceas/metacat/dataone/D1NodeService.java
1433 1433
              sysMeta.setDateSysMetadataModified(Calendar.getInstance().getTime());
1434 1434
              HazelcastService.getInstance().getSystemMetadataMap().put(pid, sysMeta);
1435 1435
              // submit for indexing
1436
              HazelcastService.getInstance().getIndexQueue().add(sysMeta);
1436
              // DocumentImpl call above should do this.
1437
              // see: https://projects.ecoinformatics.org/ecoinfo/issues/6030
1438
              //HazelcastService.getInstance().getIndexQueue().add(sysMeta);
1437 1439
              
1438 1440
          } catch (McdbDocNotFoundException e) {
1439 1441
              throw new NotFound("1340", "The provided identifier was invalid.");

Also available in: Unified diff