GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||
GeezerVison is showing github.com — Fix 'MultiDbClient' compatibility with client-side cache-enabled configuration by atakavci · Pull Request #4568 · redis/jedis Conversation
|
| File | Description |
|---|---|
| src/main/java/redis/clients/jedis/mcf/MultiDbConnectionProvider.java | Adds cache-aware constructor and passes Cache into pool creation. |
| src/main/java/redis/clients/jedis/mcf/TrackingConnectionPool.java | Extends builder to accept Cache and ensures recreated pools keep the same cache. |
| src/main/java/redis/clients/jedis/builders/MultiDbClientBuilder.java | Passes builder cache into MultiDbConnectionProvider. |
| src/test/java/redis/clients/jedis/MultiDbClientTest.java | Adds CSC integration coverage and updates tests to avoid health-check waits in most cases. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
- add tests to assert midtransaction failure in multidbtransaction
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
Reviewed by Cursor Bugbot for commit 6fc5518. Configure here.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
|
||
| // Create the multi-database connection provider | ||
| MultiDbConnectionProvider provider = new MultiDbConnectionProvider(multiDbConfig); | ||
| MultiDbConnectionProvider provider = new MultiDbConnectionProvider(multiDbConfig, cache); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Medium Severity
If MultiDbClient is built with a preconfigured MultiDbConnectionProvider that was constructed with a Cache, connections use client-side caching but UnifiedJedis.getCache() stays null unless the same Cache is also passed on the builder.
Reviewed by Cursor Bugbot for commit 6fc5518. Configure here.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.