Skip to content

Refresh leader node during leader_elected hook#31

Merged
lvoytek merged 2 commits intomainfrom
fix-primary-failover
Mar 18, 2026
Merged

Refresh leader node during leader_elected hook#31
lvoytek merged 2 commits intomainfrom
fix-primary-failover

Conversation

@lvoytek
Copy link
Copy Markdown
Member

@lvoytek lvoytek commented Mar 16, 2026

Fix primary failover by completing the refresh of the primary node during the leader_elected hook

Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

license-eye has checked 35 files.

Valid Invalid Ignored Fixed
0 20 15 0
Click to see the invalid file list
  • src/environment.py
  • charmcraft.yaml
  • src/launchpad.py
  • src/importer_node.py
  • src/package_installation.py
  • src/service_management.py
  • tests/integration/conftest.py
  • tests/integration/helpers.py
  • src/git_ubuntu.py
  • tests/unit/test_charm.py
  • src/charm.py
  • tests/integration/test_charm.py
  • tests/unit/test_environment.py
  • src/user_management.py
  • tests/unit/test_launchpad.py
  • tests/unit/test_package_installation.py
  • tests/unit/test_user_management.py
  • tox.ini
  • tests/unit/test_importer_node.py
  • tests/unit/test_git_ubuntu.py
Use this command to fix any missing license headers
```bash

docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes header fix

</details>

Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

license-eye has checked 35 files.

Valid Invalid Ignored Fixed
0 20 15 0
Click to see the invalid file list
  • src/environment.py
  • charmcraft.yaml
  • src/launchpad.py
  • src/importer_node.py
  • src/package_installation.py
  • src/service_management.py
  • tests/integration/conftest.py
  • tests/integration/helpers.py
  • src/git_ubuntu.py
  • tests/unit/test_charm.py
  • src/charm.py
  • tests/unit/test_environment.py
  • tests/integration/test_charm.py
  • src/user_management.py
  • tests/unit/test_launchpad.py
  • tests/unit/test_package_installation.py
  • tests/unit/test_user_management.py
  • tests/unit/test_importer_node.py
  • tox.ini
  • tests/unit/test_git_ubuntu.py
Use this command to fix any missing license headers
```bash

docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes header fix

</details>

@lvoytek lvoytek force-pushed the fix-primary-failover branch from 830f7fd to 22d0575 Compare March 16, 2026 20:40
@lvoytek
Copy link
Copy Markdown
Member Author

lvoytek commented Mar 16, 2026

Also updated copyright years to make CI happy

@lvoytek lvoytek merged commit b20a45d into main Mar 18, 2026
10 checks passed
@lvoytek lvoytek deleted the fix-primary-failover branch March 18, 2026 12:49
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.

1 participant