ClusterLabs / ClusterLabs/resource-agents

Galera: Add method to abort long-running SST

Open
#1,010 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
519
Forks
608
Avg merge
6d 1h
Merged PRs (30d)
7

Description

When a long-running SST is active the whole cluster will be blocked from performing other resource actions until the SST completes.

Would be great if we had an option to abort SST (and mark the resource on this node as failed), so other cluster operations can continue until the failcount is reset.

Maybe in the SST loop a check could be added if mysql is banned from the current node, so 'pcs resource ban galera nodeX' could be used to abort SST.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the Galera resource agent's SST loop and review how it handles node bans and resource failure. Check how `pcs resource ban galera nodeX` is represented, then define completion as aborting the active SST, marking the resource failed on that node, and allowing other cluster operations to continue until the failcount is reset.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, shell
Domain
databases, distributed-systems, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.