shardingsphere-mode/shardingsphere-mode-type/shardingsphere-cluster-mode/shardingsphere-cluster-mode-core/src/main/java/org/apache/shardingsphere/mode/manager/cluster/coordinator/lock/service/LockRegistryService.java
/**
     * Check lock ack.
     * 
     * @param lockName lock name
     * @param timeoutMilliseconds the maximum time in milliseconds to ack                
     * @return true if all instances ack lock, false if not
     */
Check lock ack.

@param lockName lock name
@param timeoutMilliseconds the maximum time in milliseconds to ack
@return true if all instances ack lock, false if not
Check lock ack . @param lockName lock name @param timeoutMilliseconds the maximum time in milliseconds to ack @return true if all instances ack lock false if not
public boolean checkLockAck(final String lockName, final long timeoutMilliseconds) {
        boolean result = checkAck(lockName, LockAck.LOCKED.name(), timeoutMilliseconds);
        if (!result) {
            releaseLock(lockName);
        }
        return result;
    }
public boolean checkLockAck ( final String lockName , final long timeoutMilliseconds ) { boolean result = checkAck ( lockName , LockAck . LOCKED . name ( ) , timeoutMilliseconds ) ; if ( ! result ) { releaseLock ( lockName ) ; } return result ; }
Check lock ack.
Check lock ack .