zhx
|
afce96dc42
|
feat(lucky-gift): settle jackpot eligibility by round and 48h RTP
|
2026-07-15 20:36:32 +08:00 |
|
zhx
|
eaeff155f8
|
feat(lucky-gift): isolate strategy pools and audit balance adjustments
|
2026-07-15 16:09:54 +08:00 |
|
zhx
|
f3570384f2
|
Merge lucky gift dynamic v3 into test
# Conflicts:
# api/proto/luckygift/v1/luckygift.pb.go
# api/proto/luckygift/v1/luckygift.proto
# api/proto/room/v1/room.pb.go
# api/proto/wallet/v1/wallet.pb.go
# services/lucky-gift-service/internal/domain/luckygift/lucky_gift.go
# services/lucky-gift-service/internal/service/luckygift/service.go
# services/lucky-gift-service/internal/transport/grpc/lucky_gift_server.go
# services/room-service/internal/room/service/gift_lucky.go
# services/user-service/internal/service/auth/password.go
# services/user-service/internal/service/auth/quick_account.go
# services/user-service/internal/service/auth/third_party.go
# services/user-service/internal/service/auth/token.go
|
2026-07-15 14:55:03 +08:00 |
|
zhx
|
8b6105c730
|
feat(lucky-gift): implement dynamic v3 strategy
|
2026-07-15 14:49:39 +08:00 |
|
zhx
|
1d581ff493
|
增加飘屏
|
2026-07-13 21:28:41 +08:00 |
|
zhx
|
7d011ce3d9
|
礼物性能优化
|
2026-07-12 00:47:20 +08:00 |
|
zhx
|
79e60f3815
|
fix: lucky_gift_outbox 抢占改单 status + SKIP LOCKED,补 delivered 保留期清理
- ClaimPendingLuckyGiftOutbox 把 status IN ('pending','retryable') 拆成单
status 查询并加 FOR UPDATE SKIP LOCKED:IN 跨 status 会 filesort 全部匹配行
并逐行加锁,积压时两实例互相阻塞(参照 chatapp3-golang 523cfe9 的修法);
ORDER BY 对齐 idx_lucky_gift_outbox_claim_retry/claim_lock 列序,索引序扫描
LIMIT 提前终止,只锁认领行。pending 留 10% 批次额度给 retryable 防饿死。
- 新增 delivered 行保留期清理 worker(默认开启,保留 30 天、5 分钟一轮、
单批 500):线上已积累 15.4 万只增不减的 delivered 行。清理按 app_code
迭代走 idx_lucky_gift_outbox_retention,只删 delivered 终态。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
2026-07-10 16:32:04 +08:00 |
|
zhx
|
68fc43d4b2
|
修复
|
2026-07-10 14:33:57 +08:00 |
|
zhx
|
8affe63f6a
|
Split lucky gift service and ops center
|
2026-07-08 22:30:46 +08:00 |
|