Title: Feat: Support refresh table routing info in Client · Issue #49 · apache/horaedb-client-java · GitHub
Open Graph Title: Feat: Support refresh table routing info in Client · Issue #49 · apache/horaedb-client-java
X Title: Feat: Support refresh table routing info in Client · Issue #49 · apache/horaedb-client-java
Description: 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.r...
Open Graph Description: 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 ...
X Description: 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 t...
Opengraph URL: https://github.com/apache/horaedb-client-java/issues/49
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Feat: Support refresh table routing info in Client","articleBody":"**Description**\r\n\r\nI found table `routeCache` will not refresh when `routeCache` size is too small.\r\n```\r\n if (this.routeCache.size() \u003c this.opts.getMaxCachedSize() * CLEAN_CACHE_THRESHOLD) {\r\n LOG.info(\"Now that the number of cached entries is {}.\", this.routeCache.size());\r\n return times;\r\n }\r\n```\r\nThe problem is: \r\nRequest will be routed to wrong server after table is recreated.\r\n\r\n**Proposal**\r\n\r\nSupport refresh table routing info in Client periodly\r\n\r\n**Additional context**\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/MichaelLeeHZ","@type":"Person","name":"MichaelLeeHZ"},"datePublished":"2023-03-08T10:09:11Z","url":"https://github.com/apache/horaedb-client-java/issues/49"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f42427fe-34e9-4905-0bbb-958ace1cf7e1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9DCA:204D3A:703F59:9838CE:6AED2A5B |
| html-safe-nonce | a84566996cb46acc82fa0d777be9554c79fbc044a26e825c3929b0ab9fd5bd75 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RENBOjIwNEQzQTo3MDNGNTk6OTgzOENFOjZBRUQyQTVCIiwidmlzaXRvcl9pZCI6Ijg4NDAyNzgxNjU3Nzk0NTg2NTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1125357d7f476af246de31185aa0c58f21f5cf0f26105167e71ed5b7f2817862 |
| hovercard-subject-tag | issue:1615008623 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apache/horaedb-client-java/49/issue_layout |
| twitter:image | https://opengraph.githubassets.com/779966549d0e467edabb782aa56a9363161534368f72fde0a7ee017eee72569e/apache/horaedb-client-java/issues/49 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/779966549d0e467edabb782aa56a9363161534368f72fde0a7ee017eee72569e/apache/horaedb-client-java/issues/49 |
| og:image:alt | 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 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MichaelLeeHZ |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9d95365dda0576efe9b71f45807595e396bd0ca9286fba5367a05048e6ddf8f2 |
| turbo-cache-control | no-preview |
| go-import | github.com/apache/horaedb-client-java git https://github.com/apache/horaedb-client-java.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 501159254 |
| octolytics-dimension-repository_nwo | apache/horaedb-client-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 501159254 |
| octolytics-dimension-repository_network_root_nwo | apache/horaedb-client-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 98b41fa4b5635ceb45a4c54320fced73817ff290 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width