Skip to main content

The charmlibs.rollingops package.

Project description

charmlibs.rollingops

RollingOps is a Juju charm library for coordinating rolling operations across application units.

It provides a single API to ensure that disruptive actions such as restarts, reconfigurations, or maintenance tasks are executed in mutual exclusion, with at most one unit operating at a time.

The library supports two coordination modes:

  • Peer-based (application level) Uses peer relations to coordinate operations within a single application.

  • Etcd-based (cluster level) Uses etcd for distributed coordination across units, enabling asynchronous, non-blocking execution of long-running operations.

To install, add charmlibs-rollingops to your Python dependencies. Then in your Python code, import as:

from charmlibs import rollingops

See the reference documentation for more.

Developing

Refer to CONTRIBUTING.md for development instructions.

Note: Until this issue is resolved, you must explicitly set the Python version when running just commands:

just python=3.12 <recipe> rollingops

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

charmlibs_rollingops-1.1.0.tar.gz (90.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

charmlibs_rollingops-1.1.0-py3-none-any.whl (64.2 kB view details)

Uploaded Python 3

File details

Details for the file charmlibs_rollingops-1.1.0.tar.gz.

File metadata

  • Download URL: charmlibs_rollingops-1.1.0.tar.gz
  • Upload date:
  • Size: 90.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for charmlibs_rollingops-1.1.0.tar.gz
Algorithm Hash digest
SHA256 7ff6420943fdf6a953e60ff2a78e641741aba8f6f77efe0121457a37036f1bee
MD5 0bdc5413d8122eb40f78a52e9ffe7a13
BLAKE2b-256 225343fa1fe6e7db44488d6f8d6df1b2b5ef5cfaad616b2438d854dc027fec07

See more details on using hashes here.

Provenance

The following attestation bundles were made for charmlibs_rollingops-1.1.0.tar.gz:

Publisher: publish.yaml on canonical/charmlibs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file charmlibs_rollingops-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for charmlibs_rollingops-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 543e436fa6ebcefc290d1832182f19a5873910b3e48edc8fb028d0eadc83e493
MD5 ca7e578a3beddd41281cf2d2ad77b578
BLAKE2b-256 6ecd247fad89ce60c0f5771fbfb6165b2eb6aafae2a3784f1cb5ad43b7de863c

See more details on using hashes here.

Provenance

The following attestation bundles were made for charmlibs_rollingops-1.1.0-py3-none-any.whl:

Publisher: publish.yaml on canonical/charmlibs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page