Description
I found table routeCache will not refresh when routeCache size is too small.
if (this.routeCache.size() < this.opts.getMaxCachedSize() * CLEAN_CACHE_THRESHOLD) {
LOG.info("Now that the number of cached entries is {}.", this.routeCache.size());
return times;
}
The problem is:
Request will be routed to wrong server after table is recreated.
Proposal
Support refresh table routing info in Client periodly
Additional context