cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Read Committed Transaction Handling in multi-threading environment bugs

0 Likes
264

In Hybris, When one transaction is removing items, the items will only be removed when transaction commit. The isRemoved attribute is set to true for the Item in Global Cache. But another transaction which fetches the same PK will be able to find this Item in the Global Cache. When ItemModelConverter is trying to convert this item into model, it throws exception

item xxxx no longer valid (was removed): object no longer valid.


Is this a bug from Hybris? I think when the first transaction didn't commit, the item should still be existing since it's a mirror for what is still existing in DB

Accepted Solutions (0)

Answers (0)