Feature: Distributed Locking

Summary

The Distributed Locking Feature provides locking of resources across a pool of PDP-D hosts. The list of locks is maintained in a database, where each record includes a resource identifier, an owner identifier, and an expiration time. Typically, a drools application will unlock the resource when it’s operation completes. However, if it fails to do so, then the resource will be automatically released when the lock expires, thus preventing a resource from becoming permanently locked.

Usage

Enable Feature Distributed Locking
 policy stop

 features enable distributed-locking

The configuration is located at:

  • $POLICY_HOME/config/feature-distributed-locking.properties
Start the PDP-D using pooling
 policy start
Disable the Distributed Locking feature
 policy stop
 features disable distributed-locking
 policy start

End of Document