-
Notifications
You must be signed in to change notification settings - Fork 590
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
refactor: distinguish between placeholder and compat for vnode count #18976
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @BugenZhao and the rest of your teammates on Graphite |
The CI is expected to fail now because the revealed issue will be resolved in an unmerged PR (#18944). |
be6983e
to
7221dd5
Compare
0c7b344
to
b365566
Compare
7221dd5
to
6c15e17
Compare
6c15e17
to
7a50b0b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
7a50b0b
to
e023ece
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
265a7ac
to
ad6d5f5
Compare
Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Bugen Zhao <[email protected]>
ad6d5f5
to
c6ca978
Compare
Signed-off-by: Bugen Zhao <[email protected]>
…18976) Signed-off-by: Bugen Zhao <[email protected]>
…18976) (#19047) Signed-off-by: Bugen Zhao <[email protected]> Co-authored-by: Bugen Zhao <[email protected]>
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Distinguish between the placeholder value and backward-compatible value for
vnode_count
field in table catalog.During the process of creating a streaming job, incomplete catalogs will be temporarily synchronized to the frontend nodes, where
vnode_count
remains placeholders. This PR prevents access tovnode_count
in this scenario, avoiding hitting the backward-compatibility path that could silently and inadvertently return an incorrect value.Checklist
./risedev check
(or alias,./risedev c
)Documentation
Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.