Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Only update databag is not shard #346

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

Gu1nness
Copy link
Contributor

Issue

During an update-status event, the shard status would show an incorrect status "Charm is in sharding role: database. Does not support shard interface".

Solution

This is due to the newly added checks a few weeks ago on the update relation app databag. Fixed by running this handler only if we're not a shard.
Also, the log line was incorrect, two arguments were swapped.

@Gu1nness Gu1nness merged commit 0a0a6fe into 6/edge Oct 14, 2024
29 of 30 checks passed
@Gu1nness Gu1nness deleted the fix/update-users-only-as-if-not-shard branch October 14, 2024 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants