iconsulting/packages/services/payment-service/src
hailin 65c0bdd17c feat(payment): add transaction reliability and idempotency support
- 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>
2026-01-25 07:00:01 -08:00
..
adapters feat(payment): add transaction reliability and idempotency support 2026-01-25 07:00:01 -08:00
application feat(payment): add transaction reliability and idempotency support 2026-01-25 07:00:01 -08:00
domain feat(payment): add transaction reliability and idempotency support 2026-01-25 07:00:01 -08:00
health fix(docker): add health check endpoints and fix IPv6 issue 2026-01-10 02:13:42 -08:00
infrastructure/database feat(payment): add transaction reliability and idempotency support 2026-01-25 07:00:01 -08:00
order refactor(services): implement 4-layer Clean Architecture for all backend services 2026-01-24 22:18:22 -08:00
payment feat(payment): add transaction reliability and idempotency support 2026-01-25 07:00:01 -08:00
app.module.ts feat(payment): add transaction reliability and idempotency support 2026-01-25 07:00:01 -08:00
main.ts fix(payment): use PORT env variable instead of PAYMENT_SERVICE_PORT 2026-01-10 02:48:44 -08:00