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

fix(Test): BenchmarkDbGrowth #1967

Merged
merged 1 commit into from
Jun 8, 2023
Merged

Conversation

SpadeA-Tang
Copy link
Contributor

Problem

It seems some parameter settings have been changed in the past. As a result, some tests (at least one) lose the ability to test what they want to test.
For BenchmarkDbGrowth, current default value of ValueThreshold makes no vlog will be created and current default value of MemTableSize makes no memtable will be flushed which means no compaction and thus no vlog gc will be performed.

Solution

Setting ValueThreshold be 1024 and MemTableSize be 1MB in this case seems to be fine.

Signed-off-by: SpadeA-Tang <[email protected]>
@CLAassistant
Copy link

CLAassistant commented Jun 7, 2023

CLA assistant check
All committers have signed the CLA.

@SpadeA-Tang
Copy link
Contributor Author

Would you mind helping me to merge this? @mangalaman93

@mangalaman93 mangalaman93 merged commit d85287b into dgraph-io:main Jun 8, 2023
@mangalaman93
Copy link
Contributor

Thanks for the PR @SpadeA-Tang

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.

3 participants