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

expend the tablesize range #347

Merged
merged 5 commits into from
Sep 20, 2022
Merged

expend the tablesize range #347

merged 5 commits into from
Sep 20, 2022

Conversation

jingweicb
Copy link
Contributor

Fixes # .

Motivation

Solution

Open questions

GeekArthur
GeekArthur previously approved these changes Aug 26, 2022
@cb-heimdall cb-heimdall dismissed GeekArthur’s stale review September 19, 2022 08:08

Approved review 1087002592 from GeekArthur is now dismissed due to new commit. Re-request for approval.

if config.TableSize != nil && (*config.TableSize < 2 || *config.TableSize > 100) {
return fmt.Errorf("table size %d is invalid: %w", *config.TableSize, cliErrs.ErrTableSizeIsOutOfRange)
if config.TableSize != nil && (*config.TableSize < 1 || *config.TableSize > 100) {
return fmt.Errorf("table_size %d is not in the range [1, 100], please check your input", *config.TableSize)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For table size range update, we should update ErrTableSizeIsOutOfRange instead of updating wrapping error message

@cb-heimdall cb-heimdall dismissed GeekArthur’s stale review September 19, 2022 20:32

Approved review 1112749671 from GeekArthur is now dismissed due to new commit. Re-request for approval.

@jingweicb jingweicb merged commit 0ff8d25 into master Sep 20, 2022
@jingweicb jingweicb deleted the jingwei/inMemory-update branch September 20, 2022 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants