Skip to content

Warn when EVCache initializes an implicit fallback manager - #203

Draft
bihaoxwork wants to merge 1 commit into
masterfrom
fix/evcache-fallback-warning
Draft

bihaoxwork wants to merge 1 commit into
masterfrom
fix/evcache-fallback-warning

Conversation

@bihaoxwork

Copy link
Copy Markdown
Contributor

When EVCacheClientPoolManager.getInstance() creates an implicit fallback manager, its debug-only diagnostic is normally hidden. Emit it at WARN with the existing initialization stack trace and guidance to inject EVCache.Builder or explicitly bind the injected manager.

Keep the warning inside the fallback creation branch and retain the evcache.use.simple.node.list.provider=true opt-out for intentional simple-provider use. Manager construction and selection behavior are unchanged.

Validation: ./gradlew :evcache-core:test with Java 17 (82 tests passed); git diff --check.

This branch has not been deployed

No deployments
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.

1 participant