- Add TransactionService for atomic database operations with optimistic lock retry - Implement pessimistic locking in payment callback handling to prevent race conditions - Add idempotency check via transactionId unique index to prevent duplicate processing - Add version columns to PaymentORM and OrderORM for optimistic locking - Add composite indexes for performance (order_status, transaction_id) - Optimize connection pool settings for both payment and conversation services - Update init-db.sql with version columns and new indexes Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| deploy.sh | ||
| init-db.sql | ||
| setup-kong.sh | ||
| setup-network.sh | ||