-
Couldn't load subscription status.
- Fork 887
CASSJAVA-104: Fix Flaky tests #2045
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 4.x
Are you sure you want to change the base?
Conversation
31c4c04 to
4f22bd6
Compare
| protected CqlPrepareAsyncProcessor( | ||
| Optional<? extends DefaultDriverContext> context, CacheBuilder<Object, Object> cacheBuilder) { | ||
| this.cache = cacheBuilder.build(); | ||
| context.ifPresent( | ||
| (ctx) -> { | ||
| LOG.info("Adding handler to invalidate cached prepared statements on type changes"); | ||
| EventExecutor adminExecutor = ctx.getNettyOptions().adminEventExecutorGroup().next(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@absurdfarce
CacheBuilder doesn't have a strongValues() method, so I guess our proposed solution about putting strongValues() to override the weak values wouldn't work.
Ready for review