lock_arrays
The lock_arrays operator creates a global array lock that prevents new arrays from being created and prevents updates to existing arrays. Administrators can use lock_arrays to ensure that no updates are going on during a database snapshot.
Synopsis
Operator lock_arrays()
takes a boolean argument to indicate whether the global array lock shall be installed or removed.
AFL% lock_arrays(true)
Acquires the global array lock if it doesn’t already exist. If the global array lock already exists, then an error message will appear indicating that the lock is already held.
AFL% lock_arrays(false)
Releases the global array lock if it exists. If the global array lock does not exist, then this query will complete without error. This query can also be used to restore normal operation if the cluster has gone into read-only mode after running low on disk space.
Â