1. 30 Apr, 2026 1 commit
  2. 29 Apr, 2026 1 commit
    • shaw's avatar
      fix(scheduler): resolve SetSnapshot race conditions and remove usage throttle · 8bf2a7b8
      shaw authored
      Backend: Fix three race conditions in SetSnapshot that caused account
      scheduling anomalies and broken sticky sessions:
      - Use Lua CAS script for atomic version activation, preventing version
        rollback when concurrent goroutines write snapshots simultaneously
      - Add UnlockBucket to release rebuild lock immediately after completion
        instead of waiting 30s TTL expiry
      - Replace immediate DEL of old snapshots with 60s EXPIRE grace period,
        preventing readers from hitting empty ZRANGE during version switches
      
      Frontend: Remove serial queue throttle (1-2s delay per request) from
      usage loading since backend now uses passive sampling. All usage
      requests execute immediately in parallel.
      8bf2a7b8
  3. 17 Apr, 2026 1 commit
  4. 16 Apr, 2026 1 commit
  5. 09 Apr, 2026 1 commit
    • swark2006's avatar
      fix: 同步 LoadFactor 到调度快照缓存 · 118ff85f
      swark2006 authored
      LoadFactor 字段在构建调度快照缓存时缺失,导致调度算法
      EffectiveLoadFactor() 无法使用配置的负载因子,回退到 Concurrency。
      这会影响账号的负载率计算,进而影响调度优先级。
      
      修复:在 buildSchedulerMetadataAccount 中添加 LoadFactor 字段。
      118ff85f
  6. 08 Apr, 2026 1 commit
  7. 02 Feb, 2026 1 commit
  8. 28 Jan, 2026 1 commit
    • shaw's avatar
      修复调度器空缓存导致的竞态条件bug · e12dd079
      shaw authored
      当新分组创建后立即绑定账号时,调度器会错误地将空快照视为有效缓存命中,
      导致返回没有可调度的账号。现在空快照会触发数据库回退查询。
      e12dd079
  9. 12 Jan, 2026 1 commit