weka / snaptool

GNU General Public License v3.0
9 stars 4 forks source link

Uploads fail if removal is active on FS. #6

Closed vince-weka closed 3 years ago

vince-weka commented 3 years ago

If a snapshot is being removed, uploads will fail:

1:wekaapi.py:351:weka_api_command():ERROR:bad response from ip-172-31-5-46
1:wekacluster.py:206:call_api():ERROR:IO Stopped on Cluster jack-snap
1:upload.py:199:background_uploader():ERROR:error uploading snapshot fs01/monthly.2021-03-14_1215: Operation not allowed to start in filesystem fs01 because snapshots are being deleted in it

Need to figure out how to pause/wait for operations on a per-fs basis, as other uploads may be able to continue to other fs's.

vince-weka commented 3 years ago

Long-running removes are problematic