Project

General

Profile

« Previous | Next » 

Revision 10027

Added by Jing Tao about 8 years ago

Add more debug statement for deleting.

View differences:

src/edu/ucsb/nceas/metacat/dataone/D1NodeService.java
515 515
   * Roll-back method when inserting data object fails.
516 516
   */
517 517
  protected void removeSystemMeta(Identifier id){
518
      if(id != null) {
519
          logMetacat.debug("D1NodeService.removeSystemMeta - the system metadata of object "+id.getValue()+" will removed from both hazelcast and db tables");
520
      }
518 521
      HazelcastService.getInstance().getSystemMetadataMap().remove(id);
522
      if(id != null) {
523
          logMetacat.debug("D1NodeService.removeSystemMeta - the system metadata of object "+id.getValue()+" has been removed from both hazelcast and db tables");
524
      }
519 525
  }
520 526
  
521 527
  /*

Also available in: Unified diff