HomeSoftware Heritage

Serialize objstorage and database writes in content_add

Description

Serialize objstorage and database writes in content_add

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.

Details

Provenance
olasdAuthored on Mar 18 2020, 3:36 PM
olasdPushed on Mar 18 2020, 3:58 PM
Differential Revision
D2848: Serialize objstorage and database writes in content_add
Parents
rDSTOaaa0e5455c52: Don't nest transactions in content_add/skipped_content_add
Branches
Unknown
Tags
Unknown
References
tag: v0.0.179
Build Status
Buildable 11199
Build 16912: test-and-buildJenkins