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

db_stress TestIngestExternalFile avoid empty files #10754

Closed

Conversation

ajkr
Copy link
Contributor

@ajkr ajkr commented Sep 28, 2022

If all the keys in range [key_base, shared->GetMaxKey()) are non-overwritable TestIngestExternalFile() would attempt to ingest a file with zero keys, leading to the following error: "Cannot create sst file with no entries". This PR changes TestIngestExternalFile() to return early in that case instead of going through with the ingestion attempt.

@facebook-github-bot
Copy link
Contributor

@ajkr has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

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

Successfully merging this pull request may close these issues.

None yet

3 participants