rda-python-dsquasar 3.0.25__tar.gz → 3.0.26__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rda_python_dsquasar-3.0.25/src/rda_python_dsquasar.egg-info → rda_python_dsquasar-3.0.26}/PKG-INFO +1 -1
- {rda_python_dsquasar-3.0.25 → rda_python_dsquasar-3.0.26}/pyproject.toml +1 -1
- {rda_python_dsquasar-3.0.25 → rda_python_dsquasar-3.0.26}/src/rda_python_dsquasar/dsquasar.py +15 -0
- {rda_python_dsquasar-3.0.25 → rda_python_dsquasar-3.0.26/src/rda_python_dsquasar.egg-info}/PKG-INFO +1 -1
- {rda_python_dsquasar-3.0.25 → rda_python_dsquasar-3.0.26}/LICENSE +0 -0
- {rda_python_dsquasar-3.0.25 → rda_python_dsquasar-3.0.26}/MANIFEST.in +0 -0
- {rda_python_dsquasar-3.0.25 → rda_python_dsquasar-3.0.26}/README.md +0 -0
- {rda_python_dsquasar-3.0.25 → rda_python_dsquasar-3.0.26}/setup.cfg +0 -0
- {rda_python_dsquasar-3.0.25 → rda_python_dsquasar-3.0.26}/src/rda_python_dsquasar/__init__.py +0 -0
- {rda_python_dsquasar-3.0.25 → rda_python_dsquasar-3.0.26}/src/rda_python_dsquasar/ds_quasar.py +0 -0
- {rda_python_dsquasar-3.0.25 → rda_python_dsquasar-3.0.26}/src/rda_python_dsquasar/dsquasar.usg +0 -0
- {rda_python_dsquasar-3.0.25 → rda_python_dsquasar-3.0.26}/src/rda_python_dsquasar/dstacc.py +0 -0
- {rda_python_dsquasar-3.0.25 → rda_python_dsquasar-3.0.26}/src/rda_python_dsquasar/taccrec.py +0 -0
- {rda_python_dsquasar-3.0.25 → rda_python_dsquasar-3.0.26}/src/rda_python_dsquasar/tacctar.py +0 -0
- {rda_python_dsquasar-3.0.25 → rda_python_dsquasar-3.0.26}/src/rda_python_dsquasar.egg-info/SOURCES.txt +0 -0
- {rda_python_dsquasar-3.0.25 → rda_python_dsquasar-3.0.26}/src/rda_python_dsquasar.egg-info/dependency_links.txt +0 -0
- {rda_python_dsquasar-3.0.25 → rda_python_dsquasar-3.0.26}/src/rda_python_dsquasar.egg-info/entry_points.txt +0 -0
- {rda_python_dsquasar-3.0.25 → rda_python_dsquasar-3.0.26}/src/rda_python_dsquasar.egg-info/requires.txt +0 -0
- {rda_python_dsquasar-3.0.25 → rda_python_dsquasar-3.0.26}/src/rda_python_dsquasar.egg-info/top_level.txt +0 -0
- {rda_python_dsquasar-3.0.25 → rda_python_dsquasar-3.0.26}/test/test_dsquasar.py +0 -0
{rda_python_dsquasar-3.0.25/src/rda_python_dsquasar.egg-info → rda_python_dsquasar-3.0.26}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rda_python_dsquasar
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.26
|
|
4
4
|
Summary: RDA Python package to backup and recover RDA data archives to and from GLOBUS Quasar backup server
|
|
5
5
|
Author-email: Zaihua Ji <zji@ucar.edu>
|
|
6
6
|
Project-URL: Homepage, https://github.com/NCAR/rda-python-dsquasar
|
{rda_python_dsquasar-3.0.25 → rda_python_dsquasar-3.0.26}/src/rda_python_dsquasar/dsquasar.py
RENAMED
|
@@ -1335,6 +1335,21 @@ class DsQuasar(PgCMD, PgSplit):
|
|
|
1335
1335
|
s = 's' if mcnt > 1 else ''
|
|
1336
1336
|
ftype = 'Saved' if fcate == 's' else 'Web'
|
|
1337
1337
|
self.pglog("{}: {} of {} {} file{} missing from storage, not backed up".format(dsid, mcnt, fcnt, ftype, s), self.LOGACT)
|
|
1338
|
+
if self.PGBACK['pstep']: self.drop_dscheck_files(mcnt)
|
|
1339
|
+
|
|
1340
|
+
# take files found missing from storage out of the dscheck file count. they are counted
|
|
1341
|
+
# in at start, before any file is checked, but are never tarred and so never reach
|
|
1342
|
+
# dcount: left in, they cap the done fraction below 100% (8,308 of 21,620 files once,
|
|
1343
|
+
# 38%), understate the progress report and make the stall test add a worker the run
|
|
1344
|
+
# does not need. with an upload action every file was counted twice, once to tar and
|
|
1345
|
+
# once to upload, so twice as many come out
|
|
1346
|
+
def drop_dscheck_files(self, mcnt):
|
|
1347
|
+
fcnt = self.DSCHK['fcount'] if 'fcount' in self.DSCHK else 0
|
|
1348
|
+
if not fcnt: return
|
|
1349
|
+
if self.PGBACK['action']&self.BCKACT: mcnt *= 2
|
|
1350
|
+
fcnt -= mcnt
|
|
1351
|
+
if fcnt < self.PGBACK['dcnt']: fcnt = self.PGBACK['dcnt']
|
|
1352
|
+
self.set_dscheck_fcount(fcnt, self.LGEREX)
|
|
1338
1353
|
|
|
1339
1354
|
# initialize dataset backup dict structure
|
|
1340
1355
|
@staticmethod
|
{rda_python_dsquasar-3.0.25 → rda_python_dsquasar-3.0.26/src/rda_python_dsquasar.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rda_python_dsquasar
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.26
|
|
4
4
|
Summary: RDA Python package to backup and recover RDA data archives to and from GLOBUS Quasar backup server
|
|
5
5
|
Author-email: Zaihua Ji <zji@ucar.edu>
|
|
6
6
|
Project-URL: Homepage, https://github.com/NCAR/rda-python-dsquasar
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rda_python_dsquasar-3.0.25 → rda_python_dsquasar-3.0.26}/src/rda_python_dsquasar/__init__.py
RENAMED
|
File without changes
|
{rda_python_dsquasar-3.0.25 → rda_python_dsquasar-3.0.26}/src/rda_python_dsquasar/ds_quasar.py
RENAMED
|
File without changes
|
{rda_python_dsquasar-3.0.25 → rda_python_dsquasar-3.0.26}/src/rda_python_dsquasar/dsquasar.usg
RENAMED
|
File without changes
|
|
File without changes
|
{rda_python_dsquasar-3.0.25 → rda_python_dsquasar-3.0.26}/src/rda_python_dsquasar/taccrec.py
RENAMED
|
File without changes
|
{rda_python_dsquasar-3.0.25 → rda_python_dsquasar-3.0.26}/src/rda_python_dsquasar/tacctar.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|