pithos: Add missing locks
_lookup_container() locks the container pathbut it was not called by some write backend methodswhich expected the container path to be locked.
In those cases optionally _lookup_object() callsthe _lookup_container() in order to lock the container path....
Revert "pithos: conditional select for update in lookup account"
This reverts commit 8a7ddfb0545348849d99fb686fec51659cbead58.
Select for update is not useful in case of account creation.If there is no such account, 0 rows are returnedso there are no rows locked.
Pithos: Catch invalid hashmap input
Refs: #3745
pithos: Remove obsolete backend method
pithos: Set attr lock_container_path during backend initialization
pithos: Destroy test database after test execution:Pithos uses a pool for the backend objects.Pooled backend objects override the default close behaviorand return the object to the pool instead.Therefore, django was unable to destroy the databasesince there were active connections....
pithos: Fix shared listing for implicitly shared objects
Provide also the appropriate tests
Refs: #4131
pithos: Fix delete deleted object
Delete object used to create a new object version flagged as deletedregarless of the status of the previous version.However, delete requests of a deleted objectshould return 404 (NOT FOUND) response.
pithos: Fix backend logging.
Merge branch 'hotfix-0.14.5' into develop
Conflicts: snf-pithos-backend/pithos/backends/modular.py version
View revisions
Also available in: Atom