Project

General

Profile

« Previous | Next » 

Revision 7355

make sure data objects correctly use force replicate with action "insert"
https://redmine.dataone.org/issues/3138

View differences:

src/edu/ucsb/nceas/metacat/dataone/D1NodeService.java
1169 1169
          logMetacat.debug("Logging the creation event.");
           EventLog.getInstance().log(request.getRemoteAddr(), request.getHeader("User-Agent"), username, localId, "create");
   
-          // Schedule replication for this data file
+          // Schedule replication for this data file, the "insert" action is important here!
           logMetacat.debug("Scheduling replication.");
-          ForceReplicationHandler frh = new ForceReplicationHandler(
-            localId, "create", false, null);
+          ForceReplicationHandler frh = new ForceReplicationHandler(localId, "insert", false, null);
       }
1170 1170
      
       return localId;

Also available in: Unified diff