Page MenuHomeSoftware Heritage

Serialize objstorage and database writes in content_add
ClosedPublic

Authored by olasd on Mar 18 2020, 3:40 PM.

Details

Summary

Considering that the objstorage is idempotent, and that there's no rollback
feature, intermixing both "transactions" has no concrete benefit. This avoids
doing database transactions that are longer than needed.

Test Plan

tox tests are again unchanged

Diff Detail

Repository
rDSTO Storage manager
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.