Skip to main content

Introduction

build-status

Dynamo Consistency is the consistency plugin for Dynamo Dynamic Data Management System. Even though Dynamo controls and tracks the history of file transfers between computing sites, a separate check is needed to ensure files are not lost or accumulated during user or system errors. Sites that can no longer access files after a power outage, for example, can cause other problems for the entire data management system. Transfers requested from the site to another site will fail for missing files. Sites are chosen incorrectly for production jobs that assume the presence of a local file. Last disk copies may also be missing, causing a delay for user requests for data. Another type of inconsistency is caused when files thought to be deleted are still on disk. This leads to wasted disk space for files that are not accessed, except by accident. Dynamo Consistency does its check by regularly listing each remote site and comparing the listed contents to Dynamo’s inventory database.

The package also includes a number of modules that can be imported independently to create custom consistency check runs. A simple consistency check on a site can be done by doing the following when an instance of dynamo is installed:

from dynamo_consistency import config, datatypes, remotelister, inventorylister

config.LOCATION = '/path/to/config.json'
site = 'T2_US_MIT'                        # For example

inventory_listing = inventorylister.listing(site)
remote_listing = remotelister.listing(site)

datatypes.compare(inventory_listing, remote_listing, 'results')

In this example, the list of file LFNs in the inventory and not at the site will be in results_missing.txt. The list of file LFNs at the site and not in the inventory will be in results_orphan.txt. The listing functions can be re-implemented to perform the check desired.

Installation

Dynamo Consistency requires the XRootD Python module to be installed separately. In addition, it uses the Dynamo Dynamic Data Management package to get inventory listings and to report results of the consistency check. Any other needed packages are installed with Dynamo Consistency during installation.

The simplest way to install is through pip:

pip install dynamo-consistency

The source code is maintained on GitHub. Other typical setuptools methods are supported by the repository’s setup.py.

Metadata

Release files for dynamo-consistency 2.12.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dynamo-consistency 2.12.0
File Size Uploaded Provenance Actions
dynamo-consistency-2.12.0.tar.gz 69.3 kB Without provenance Details for dynamo-consistency-2.12.0.tar.gz

Release files / dynamo-consistency-2.12.0.tar.gz

Download URL dynamo-consistency-2.12.0.tar.gz
Size 69.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2d448b1780d17ff971a484c9ebe469c5315a6e2cfdae22db032ee4ddf3e808a9
BLAKE2b-256 checksum
How to use checksums
212bbabd150e0c3c569b7d13fb2b666c24c6b24add0aecca13d5d55138e6303e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.12.4 setuptools/32.1.2 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.15

Security for dynamo-consistency 2.12.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.12.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page