Repository navigation
Open
Description
try 1 fail - looks like it tried to do the same replication 2x?
$ simpler-objects-async-replicate --replicas 3 http://localhost:29164/ bucket
http://obj1/bucket/f1.gz => http://obj3/bucket/f1.gz
http://obj4/bucket/f2.bundle => http://obj3/bucket/f2git.bundle
http://obj1/bucket/f4.jpg => http://obj3/bucket/f4.jpg
http://obj1/bucket/f4.jpg => http://obj3/bucket/f4.jpg
Traceback (most recent call last):
File "/home/simplerobjects/venv/bin/simpler-objects-async-replicate", line 8, in <module>
sys.exit(cli())
~~~^^
File "/home/simplerobjects/venv/lib64/python3.14/site-packages/simpler_objects/async_replicate.py", line 134, in cli
results = [auto_replica(args.locator, b, args.replicas, evacuate) for b in buckets]
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/simplerobjects/venv/lib64/python3.14/site-packages/simpler_objects/async_replicate.py", line 112, in auto_replica
assert replicate_object(src, dst) == obj['size']
~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/home/simplerobjects/venv/lib64/python3.14/site-packages/simpler_objects/async_replicate.py", line 45, in replicate_object
assert not any(get_object_size(dest, skip_404=True))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
try 2 fail - tried elsewhere, but different file, same thing
$ simpler-objects-async-replicate --replicas 3 http://localhost:29164/ bucket
http://obj1/bucket/f4.jpg => http://obj4/bucket/f4.jpg
http://obj3/bucket/f5.jpg => http://obj1/bucket/f5.jpg
http://obj3/bucket/f5.jpg => http://obj4/bucket/f5.jpg
http://obj3/bucket/f6.jpg => http://obj1/bucket/f6.jpg
http://obj3/bucket/f6.jpg => http://obj1/bucket/f6.jpg
Traceback (most recent call last):
File "/home/simplerobjects/venv/bin/simpler-objects-async-replicate", line 8, in <module>
sys.exit(cli())
~~~^^
File "/home/simplerobjects/venv/lib64/python3.14/site-packages/simpler_objects/async_replicate.py", line 134, in cli
results = [auto_replica(args.locator, b, args.replicas, evacuate) for b in buckets]
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/simplerobjects/venv/lib64/python3.14/site-packages/simpler_objects/async_replicate.py", line 112, in auto_replica
assert replicate_object(src, dst) == obj['size']
~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/home/simplerobjects/venv/lib64/python3.14/site-packages/simpler_objects/async_replicate.py", line 45, in replicate_object
assert not any(get_object_size(dest, skip_404=True))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
try 3 success - tried elsewhere
$ simpler-objects-async-replicate --replicas 3 http://localhost:29164/ bucket
http://obj1/bucket/f6.jpg => http://obj4/bucket/f6.jpg
try 4 noop - done
$ simpler-objects-async-replicate --replicas 3 http://localhost:29164/ bucket
$
Metadata
Metadata
Assignees
Labels
No labels
Activity