Skip to content
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

add cache view #12163

Merged
merged 21 commits into from
Oct 23, 2023
Merged

add cache view #12163

merged 21 commits into from
Oct 23, 2023

Conversation

daviszhen
Copy link
Contributor

@daviszhen daviszhen commented Oct 17, 2023

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

issue #11709
issue #11499

What this PR does / why we need it:

增加cache视图,讨论见: https://github.com/matrixorigin/docs/blob/main/design/system_view.md#cache

方案:
1,用到fileservice目前只有cn, tn。

2,cn上已经有queryservice。因此在queryservice上加取cache视图的接口即可。
tn目前没启动queryservice的。因此需要先在tn上加queryservice,之后与cn上的做法一致。
在tn上加queryservice需要在tn和hakeeper上心跳上加tn.queryservice的地址。用于后续的查询。

3,standalone启动时,cn,tn在一个进程。cn已经有了query service。tn就无需再增加queryservice了。
分布式部署时,tn需要启动query service。

@daviszhen daviszhen changed the title 1016 add cache view add cache view Oct 17, 2023
@matrix-meow matrix-meow added the size/M Denotes a PR that changes [100,499] lines label Oct 17, 2023
@mergify mergify bot added the kind/feature label Oct 17, 2023
@matrix-meow matrix-meow added size/L Denotes a PR that changes [500,999] lines and removed size/M Denotes a PR that changes [100,499] lines labels Oct 17, 2023
@matrix-meow matrix-meow added size/XL Denotes a PR that changes [1000, 1999] lines and removed size/L Denotes a PR that changes [500,999] lines labels Oct 18, 2023
@daviszhen daviszhen added the attention/doc-influence need to complete design document label Oct 19, 2023
@mergify mergify bot merged commit 6a8fb96 into matrixorigin:main Oct 23, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
attention/doc-influence need to complete design document kind/feature size/XL Denotes a PR that changes [1000, 1999] lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.