Project

General

Profile

« Previous | Next » 

Revision 7467

make sure to call lock() on the SM when updating rightsholder (like every other method that gets a lock object from HZ).

View differences:

src/edu/ucsb/nceas/metacat/dataone/CNodeService.java
1084 1084
      SystemMetadata systemMetadata = null;
1085 1085
      try {
1086 1086
          lock = HazelcastService.getInstance().getLock(pid.getValue());
1087
          lock.lock();
1087 1088
          logMetacat.debug("Locked identifier " + pid.getValue());
1088 1089

  
1089 1090
          try {

Also available in: Unified diff