The UNLOCK CLUSTER syntax is used to release the lock applied to the CLUSTER by the LOCK CLUSTER WITH statement.
UnlockCluster ::=
'UNLOCK' 'CLUSTER' ('TIMEOUT' timeoutMillis)?
timeoutmillis ::=
long
CLUSTER is not in a locked state, it is impossible to release the lock; otherwise, an exception will be thrown.timeoutMillis is used to indicate the timeout duration for attempting to unlock, with the unit being milliseconds. When not specified, the default value is 3,000 milliseconds.CLUSTER without setting a timeout.UNLOCK CLUSTER;
CLUSTER and set the timeout to 2000 milliseconds.UNLOCK CLUSTER TIMEOUT 2000;
UNLOCK,CLUSTER
