Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
20
-
Description
Problem Description
As a systems administrator, I am granted a 5-minute lock timeout from an active Bamboo instance. It is not possible to manipulate the lock even if the active Bamboo instance is shut down. The static 5-minute lock imposes a forced delay to any cluster takeover or manual switching between cluster members (or passive/disaster recovery takeovers)
Suggested Solution
Define a way to:
- Tune the lock timeout // Cluster takeover time (to allow fine-grained control over cluster timings)
- Retrieve the lock ownership and status (for monitoring)
- Release the lock immediately after shutdown (so other nodes can takeover immediately)
- Hold the lock so other nodes will not take over the service (in case the active node just needs to restart but still remain active)
- Forcibly takeover the lock by special initialisation flag (to be used in a hard takeover from the passive node)
Settings can be set either via properties/java env or from the API.
Workaround for displaying node status
- To list all the cluster nodes
SELECT * FROM cluster_node_heartbeat
- To list the active node
SELECT node_id FROM cluster_lock WHERE lock_name='bamboo_primary_cluster_node';
Attachments
Issue Links
- duplicates
-
BDEV-16705 Loading...
- mentioned in
-
Page Loading...