fix: complete cache consistency implementation
Phase 6: Cache Consistency Fix (Google Engineer Approach) - Add @CacheEvict to ScheduleDispatchService (saveDispatch, adjustOrder) - Use allEntries=true for DispatchService (DTO lacks competitionId) - Create CacheConsistencyTest to verify cache eviction - All 466 tests passing (added 2 cache consistency tests) Cache Strategy: - Query: @Cacheable with competitionId key - Status/Arrange: @CacheEvict with competitionId key - Dispatch: @CacheEvict with allEntries=true (no competitionId in DTO) Data Consistency Guarantee: - All mutation operations evict cache - Test coverage for cache eviction behavior - No stale data risk Related to Phase 6 cache consistency requirements
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user