Skip to content

APIGOV-31191 - Cache validation/rebuild refactoring#1048

Merged
vivekschauhan merged 12 commits into
APIGOV-31191from
APIGOV-31191-updates
Jun 17, 2026
Merged

APIGOV-31191 - Cache validation/rebuild refactoring#1048
vivekschauhan merged 12 commits into
APIGOV-31191from
APIGOV-31191-updates

Conversation

@vivekschauhan

Copy link
Copy Markdown
Collaborator
  • Remove API calls with metadata for cache validation check
  • Remove entire cache flush. Flush only the kind getting processed and after the API call is successful to avoid cache inconsistency
  • Cleanup instance count map that should speed up building APIservice cache items
  • Keep original APIService resource instance in cache when duplicates are added to the cache
  • Hook cache rebuild on stream client reconnection instead of harvester error
  • Check publishing lock and acquire lock while publishing

- Remove entire cache flush. Flush only the kind getting processed and after the API call is successful to avoid cache inconsistency
- Cleanup instance count map that should speed up building APIservice cache items
- Fixes
- Fix for endless waitForCacheRebuild
- Fix to keep original APIService resource instance in cache when duplicates are added to the cache
- Fix to hook cache rebuild on stream client reconnection instead of harvester error and to address job pool status
Comment thread pkg/agent/cache/manager.go
Comment thread pkg/agent/cache/manager.go
Comment thread pkg/agent/resource/manager.go Outdated
Comment thread pkg/agent/discovery.go Outdated
Comment thread pkg/agent/discovery_test.go
@vivekschauhan vivekschauhan merged commit e93f8c1 into APIGOV-31191 Jun 17, 2026
2 checks passed
@vivekschauhan vivekschauhan deleted the APIGOV-31191-updates branch June 17, 2026 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants