Skip to content

Conversation

@nox-4O4
Copy link

@nox-4O4 nox-4O4 commented Jan 18, 2026

When the SST log archive directory cannot be created or is not writable, the path is set to an empty string and a warning is logged. Unfortunately, the warning is logged only after the path has been changed, so, the following message is displayed:

WSREP_SST: [WARNING] The '' directory is not writtable

This PR swaps the order of logging and clearing the path so that the failing path is logged. The new output is:

WSREP_SST: [WARNING] The '/tmp/something_invalid' directory is not writable

When the SST log archive directory cannot be created or is not writable,
the path is set to an empty string and a warning is logged.
Unfortunately, the warning is logged only after the path has been changed,
so, the following message is displayed:
> WSREP_SST: [WARNING] The '' directory is not writtable

This commit swaps the order of logging and clearing the path so that the
failing path is logged. The new output is:
> WSREP_SST: [WARNING] The '/tmp/something_invalid' directory is not writable
@CLAassistant
Copy link

CLAassistant commented Jan 18, 2026

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added the External Contribution All PRs from entities outside of MariaDB Foundation, Corporation, Codership agreements. label Jan 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

External Contribution All PRs from entities outside of MariaDB Foundation, Corporation, Codership agreements.

Development

Successfully merging this pull request may close these issues.

2 participants