-
Notifications
You must be signed in to change notification settings - Fork 276
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
add cache view #12163
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
daviszhen
requested review from
zhangxu19830126,
nnsgmsone,
XuPeng-SH,
triump2020,
ouyuanning,
aunjgr,
badboynt1,
m-schen,
reusee,
w-zr,
qingxinhome,
aressu1985,
heni02 and
sukki37
as code owners
October 17, 2023 12:09
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
volgariver6
approved these changes
Oct 18, 2023
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
zhangxu19830126
approved these changes
Oct 19, 2023
nnsgmsone
approved these changes
Oct 19, 2023
triump2020
approved these changes
Oct 19, 2023
reusee
approved these changes
Oct 19, 2023
heni02
approved these changes
Oct 19, 2023
m-schen
approved these changes
Oct 19, 2023
XuPeng-SH
approved these changes
Oct 19, 2023
badboynt1
approved these changes
Oct 19, 2023
aunjgr
approved these changes
Oct 19, 2023
ouyuanning
approved these changes
Oct 19, 2023
w-zr
approved these changes
Oct 19, 2023
qingxinhome
approved these changes
Oct 19, 2023
sukki37
approved these changes
Oct 20, 2023
…trixone into 1016-add-cache-view
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
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。