Janis
5619c8223a
fix: resolve 6 coordinator bugs (cache eviction, rebalance race, pod matching, lookup inefficiency)
...
- Add lastUpdatedMs timestamp to GameCacheDto to track actual game updates instead of heartbeat time. Fix cache eviction incorrectly marking correspondence games as idle.
- Use atomic SPOP in LoadBalancer.getGamesToMove() to prevent concurrent rebalance calls from selecting same games for migration.
- Add game→instance reverse mapping (nowchess:game:$gameId:instance) to eliminate O(instances) linear scan during cache eviction.
- Fix HealthMonitor pod matching from loose contains() to reliable endsWith() to prevent matching unintended pods with similar names.
- Update FailoverService to maintain game→instance mappings when migrating games during failover.
- Update CacheEvictionManager to use game→instance mapping for O(1) lookup instead of O(n) instance scan.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-05-17 17:07:29 +02:00
TeamCity
b0d27d2de2
ci: bump version with Build-89
2026-05-16 11:31:37 +00:00
Janis
8f9eb12f66
feat: implement clock expiry scanning and handling for game records ( #53 )
...
Build & Test (NowChessSystems) TeamCity build finished
Reviewed-on: #53
2026-05-16 13:24:48 +02:00
TeamCity
5d5fffa812
ci: bump version with Build-88
2026-05-16 10:07:11 +00:00
Janis
73239088d9
fix: NCS-85 Database Writeback fails without Logs ( #52 )
...
Build & Test (NowChessSystems) TeamCity build finished
Reviewed-on: #52
2026-05-16 11:41:56 +02:00
Janis
4ad92ab236
fix: NCS-84 More Verbose Logging ( #51 )
...
Build & Test (NowChessSystems) TeamCity build failed
Reviewed-on: #51
2026-05-16 11:20:05 +02:00
TeamCity
56f0030a83
ci: bump version with Build-85
2026-05-13 20:48:35 +00:00
Janis
3f12f695f1
feat: implement periodic scaling checks and enhance instance management in AutoScaler
Build & Test (NowChessSystems) TeamCity build failed
2026-05-13 22:08:22 +02:00
TeamCity
0a3c494fa8
ci: bump version with Build-84
2026-05-13 19:32:12 +00:00
Janis
f7ce4df595
fix: update documentation to reflect new functions in CoordinatorGrpcServer and InstanceRegistry
Build & Test (NowChessSystems) TeamCity build finished
2026-05-13 21:07:44 +02:00
TeamCity
67802ee1b8
ci: bump version with Build-82
2026-05-13 14:49:00 +00:00
Janis
3ed3e59ee4
fix: remove unused HTTP root-path configurations from application.yml
Build & Test (NowChessSystems) TeamCity build finished
2026-05-13 16:23:04 +02:00
TeamCity
118acff0e5
ci: bump version with Build-80
2026-05-13 07:21:09 +00:00
Janis
a49f9be146
feat: add CORS configuration and reorder JWT settings in application.yml
Build & Test (NowChessSystems) TeamCity build finished
2026-05-13 09:03:21 +02:00
TeamCity
2a5cfeee39
ci: bump version with Build-79
2026-05-12 22:21:53 +00:00
Janis
72ce262bc4
feat: update application.yml with new API root paths and add Micrometer and OpenTelemetry dependencies
Build & Test (NowChessSystems) TeamCity build finished
2026-05-13 00:02:53 +02:00
Janis
a298417b9e
revert: Revert "feat: add authentication permissions for metrics endpoints in application.yml"
...
This reverts commit 04edd4d6fd .
2026-05-12 23:16:36 +02:00
Janis
3870566349
revert: Revert "refactor: update metrics paths formatting in application.yml for clarity"
...
This reverts commit 760859d066 .
2026-05-12 23:16:28 +02:00
TeamCity
5f177e1415
ci: bump version with Build-78
2026-05-12 20:36:44 +00:00
Janis
760859d066
refactor: update metrics paths formatting in application.yml for clarity
Build & Test (NowChessSystems) TeamCity build finished
2026-05-12 22:14:07 +02:00
Janis
04edd4d6fd
feat: add authentication permissions for metrics endpoints in application.yml
Build & Test (NowChessSystems) TeamCity build failed
2026-05-12 22:07:50 +02:00
TeamCity
e81c3844ad
ci: bump version with Build-77
2026-05-12 17:18:14 +00:00
Janis
3904d5ad8a
feat: add OpenTelemetry trace configuration with parentbased sampler
Build & Test (NowChessSystems) TeamCity build finished
2026-05-12 19:00:08 +02:00
TeamCity
58e08f3807
ci: bump version with Build-76
2026-05-11 21:05:41 +00:00
Janis
d438e97f32
feat: add initialization metrics for various services
2026-05-11 22:37:22 +02:00
TeamCity
fcc251f777
ci: bump version with Build-75
2026-05-10 21:19:52 +00:00
Janis
9459203e0d
refactor: update timer record calls to use Runnable type
Build & Test (NowChessSystems) TeamCity build failed
2026-05-10 22:24:55 +02:00
Janis
d57c488661
feat: configure logging and add OpenTelemetry support ( #49 )
...
Build & Test (NowChessSystems) TeamCity build failed
Reviewed-on: #49
2026-05-10 20:31:48 +02:00
TeamCity
989ac312d9
ci: bump version with Build-74
2026-05-10 12:17:02 +00:00
Janis
c96a09bb5c
feat: NCS-78 Add Traceability to the Applications ( #48 )
...
Build & Test (NowChessSystems) TeamCity build finished
Reviewed-on: #48
2026-05-10 13:54:31 +02:00
TeamCity
708ebaf6e5
ci: bump version with Build-68
2026-05-06 07:06:52 +00:00
Janis
0eb752d493
fix(redis): enhance GameRedisSubscriberManager to use ReactiveRedisDataSource and improve subscription handling
Build & Test (NowChessSystems) TeamCity build finished
2026-05-06 08:41:30 +02:00
TeamCity
a101866bcf
ci: bump version with Build-67
2026-05-05 18:20:39 +00:00
Janis
5baf6a7cdb
fix(redis): update Redis configuration with max pool size and waiting parameters
Build & Test (NowChessSystems) TeamCity build finished
2026-05-05 20:01:32 +02:00
TeamCity
a10958b0d1
ci: bump version with Build-66
2026-05-05 07:07:00 +00:00
Janis
dc224abe26
fix: Lints
Build & Test (NowChessSystems) TeamCity build finished
2026-05-05 08:44:25 +02:00
Janis
1813ea1d2d
fix(redis): simplify refreshRedisHeartbeat logic and ensure proper error handling
Build & Test (NowChessSystems) TeamCity build failed
2026-05-05 08:24:10 +02:00
Janis
6e0fd9523e
fix(auth): update InternalAuthFilter to use @ApplicationScoped and add index-dependency configuration
Build & Test (NowChessSystems) TeamCity build failed
2026-05-05 06:49:45 +02:00
Janis
847b13202c
fix(redis): prevent concurrent Redis heartbeat refreshes using AtomicBoolean
Build & Test (NowChessSystems) TeamCity build failed
2026-05-04 22:45:45 +02:00
Janis
c08d5303eb
fix(auth): change InternalAuthFilter to use @Singleton and add HTTP tests for secret validation
Build & Test (NowChessSystems) TeamCity build failed
2026-05-03 17:27:30 +02:00
Janis
33e5017f51
fix(redis): add max pool wait time and switch to ReactiveRedisDataSource for heartbeat updates
Build & Test (NowChessSystems) TeamCity build failed
2026-05-03 16:47:54 +02:00
TeamCity
cabf1bca73
ci: bump version with Build-61
2026-05-02 16:33:43 +00:00
Janis
0c981517da
fix(heartbeat): inject ObjectMapper into InstanceHeartbeatService ( #42 )
...
Build & Test (NowChessSystems) TeamCity build finished
Reviewed-on: #42
Co-authored-by: Janis <janis.e.20@gmx.de >
Co-committed-by: Janis <janis.e.20@gmx.de >
2026-05-02 18:15:29 +02:00
TeamCity
18a4b1cc15
ci: bump version with Build-60
2026-05-02 15:53:05 +00:00
Janis
804a4bf179
feat(logging): add DEBUG/INFO/WARN logging across services (NCS-72) ( #41 )
...
Build & Test (NowChessSystems) TeamCity build finished
Reviewed-on: #41
Co-authored-by: Janis <janis.e.20@gmx.de >
Co-committed-by: Janis <janis.e.20@gmx.de >
2026-05-02 17:33:27 +02:00
TeamCity
3c47d2b8c9
ci: bump version with Build-58
2026-05-01 18:23:46 +00:00
TeamCity
9f86cc421f
ci: bump version with Build-57
2026-04-30 17:14:21 +00:00
TeamCity
77e498a326
ci: bump version with Build-56
2026-04-30 16:15:27 +00:00
TeamCity
0229147f4d
ci: bump version with Build-55
2026-04-30 15:35:40 +00:00
Janis
2404e6164c
feat(config): update application.yml for PostgreSQL and remove staging/production configurations
2026-04-30 16:14:10 +02:00