Skip to content

Refactor OrdersCapacityService to improve capacity management and error...

chao.zhang requested to merge main into test

Refactor OrdersCapacityService to improve capacity management and error handling. Introduced a locking mechanism for store capacity operations to prevent race conditions, added retry logic for acquiring locks, and enhanced transaction management for ReturnCapacity and LockCapacity methods. Improved logging for better traceability, including orderId in error messages and responses.

Merge request reports