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

sql: replace assert with error in EXPERIMENTAL_RELOCATE #41157

Merged
merged 1 commit into from
Sep 27, 2019

Conversation

Gurio
Copy link
Contributor

@Gurio Gurio commented Sep 27, 2019

Resolves #39835
GetInfoProto returns an error in relocateNode.Next,
in case if store doesn't exist. It should not produce a stacktrace.

reverts this line to pre 8cfcbb4 commit state.

Release justification: low-impact assert changed to error
Release note: None

Resolves cockroachdb#39835
GetInfoProto returns an error in relocateNode.Next,
in case if store doesn't exist. It should not produce a stacktrace.

reverts this line to pre 8cfcbb4 commit state.

Release justification: low-impact assert changed to error
Release note: None
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@Gurio
Copy link
Contributor Author

Gurio commented Sep 27, 2019

@knz: Could you take a look? It kinda reverts one of the lines that you've changed. Namely: 8cfcbb4#diff-5a06d8672e0de596cc09f178fa0ef770L183

@Gurio
Copy link
Contributor Author

Gurio commented Sep 27, 2019

@jordanlewis: Could you please take a look, if change is what you meant in #39835 ?

@knz
Copy link
Contributor

knz commented Sep 27, 2019

LGTM. Thanks for your change!

@Gurio
Copy link
Contributor Author

Gurio commented Sep 27, 2019

@knz: Cool! Could you please trigger bors then?

@knz
Copy link
Contributor

knz commented Sep 27, 2019

absolutely

bors r+

@Gurio
Copy link
Contributor Author

Gurio commented Sep 27, 2019

Thanks

craig bot pushed a commit that referenced this pull request Sep 27, 2019
41157: sql: replace assert with error in EXPERIMENTAL_RELOCATE r=knz a=Gurio

Resolves #39835
GetInfoProto returns an error in relocateNode.Next,
in case if store doesn't exist. It should not produce a stacktrace.

reverts this line to pre 8cfcbb4 commit state.

Release justification: low-impact assert changed to error
Release note: None

Co-authored-by: Arseni Lapunov <[email protected]>
@craig
Copy link
Contributor

craig bot commented Sep 27, 2019

Build succeeded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sql: experimental_relocate produces bad error for missing store
3 participants