an add support for the seaweedfs backend in get_objstorage().
Note that streaming methods have not been implemented yet.
Depends on D1275
Differential D1298
Add a seaweedfs backend douardda on Mar 27 2019, 11:25 AM. Authored by
Details
an add support for the seaweedfs backend in get_objstorage(). Depends on D1275
Diff Detail
Event TimelineComment Actions Build has FAILED Link to build: https://jenkins.softwareheritage.org/job/DOBJS/job/tox/34/ Comment Actions The top level documentation for both classes needs some love (or at least it'd be nicer if it wasn't empty :D) The WeedFiler class does no real error checking at all which doesn't leave a great feeling. No tests? :(
Comment Actions Build has FAILED Link to build: https://jenkins.softwareheritage.org/job/DOBJS/job/tox/42/ Comment Actions Build has FAILED Link to build: https://jenkins.softwareheritage.org/job/DOBJS/job/tox/43/ Comment Actions Build has FAILED Link to build: https://jenkins.softwareheritage.org/job/DOBJS/job/tox/46/ Comment Actions Sorry for going for another loop, but that's still missing error checking on get/put/delete methods of the WeedFiler: these methods will return truthy values even when the server responds (properly) with an error condition and has failed to comply. Comment Actions On the other side, the ObjStorage 'API' (as defined in swh/objstorage/objstorage.py) does not describe how errors should be handled. So I can add some error checking code in the WeedFiler class, but I'm not quite clear what to do with these errors on the ObjStorage class part... So I am tempted to add XXX in this code for now. Comment Actions Build has FAILED Link to build: https://jenkins.softwareheritage.org/job/DOBJS/job/tox/50/ |