Bug #30766
closedError Row was updated or deleted by another transaction when deleting docker repository
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1867287
Description of problem:
Trying to delete docker repos which were sync previously on katello
Runtime Error Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : [org.candlepin.model.OwnerProduct#org.candlepin.model.OwnerProductKey@2c50e21a] at org.hibernate.dialect.lock.PessimisticWriteSelectLockingStrategy.lock:81 (Katello::Errors::CandlepinError)
Version-Release number of selected component (if applicable):
katello 3.16.0
pulp-server-2.21.2-1
How reproducible:
New installation of Katello 3.16.0
Steps to Reproduce:
1. Create a product
2. Sync docker images from external registry
3. Tried to delete existing repos
Actual results:
Error:
Katello::Errors::CandlepinError
Runtime Error Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : [org.candlepin.model.OwnerProduct#org.candlepin.model.OwnerProductKey@2c50e21a] at org.hibernate.dialect.lock.PessimisticWriteSelectLockingStrategy.lock:81
Expected results:
We should able to delete unwanted product, whenever required.
Additional info:
Updated by The Foreman Bot over 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/8922 added
Updated by Chris Roberts over 4 years ago
- Subject changed from Error Row was updated or deleted by another transaction when deleting docker repository to Error Row was updated or deleted by another transaction when deleting docker repository
- Target version set to Katello 3.16.1
- Triaged changed from No to Yes
- Fixed in Releases Katello 3.16.1 added
Updated by The Foreman Bot over 4 years ago
- Fixed in Releases Katello 4.0.0 added
Updated by Anonymous over 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|26eb03518f8ce13bd0247b5fc63f7830d25e3d6f.