Hello,
will a fix of this candlepin BZ include also scenario when deleting a Sat product? That invokes many Actions::Candlepin::Product::ContentRemove dynflow steps concurrently, i.e. many requests like:
Request: verb=DELETE, uri=/candlepin/owners/RedHat/products/73563395718/content/1561805575836
for the same product but different content are raised concurrently.
Will this BZ fix prevent the "Runtime Error Row was updated or deleted by another transaction" error I see in Sat6.5? (cf https://bugzilla.redhat.com/show_bug.cgi?id=1609543#c22)
For the creation of content there is a batch endpoint:
POST products/{product_uuid}/batch_content
Feels like we need a batch delete as well.
There is no good way to allow concurrent adds/deletes of content for the same product. The locking would be extensive an obtrusive.
Comment 6Nikos Moumoulidis
2022-03-25 10:37:54 UTC
*** This bug has been marked as a duplicate of bug 2068274 ***