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
575 B
575 B