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

Disable ingestion in stress tests when PutEntity is used #10769

Closed
wants to merge 1 commit into from

Conversation

ltamasi
Copy link
Contributor

@ltamasi ltamasi commented Oct 3, 2022

Summary:
SstFileWriter currently does not support the PutEntity API, so in TestIngestExternalFile all key-values are written using regular Puts. This violates the assumption that whether or not a key corresponds to a plain old key-value or a wide-column entity can be determined by solely looking at the "value base" used when generating the value. The patch fixes this issue by disabling ingestion when PutEntity is enabled in the stress tests.

Test Plan:
Ran a simple blackbox stress test.

Summary:
`SstFileWriter` currently does not support the `PutEntity` API, so in
`TestIngestExternalFile` all key-values are written using regular `Put`s.
This violates the assumption that whether or not a key corresponds to a
plain old key-value or a wide-column entity can be determined by solely
looking at the "value base" used for generating the value. The patch
fixes this issue by disabling ingestion when `PutEntity` is enabled in
the stress tests.

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:
@facebook-github-bot
Copy link
Contributor

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

Copy link
Contributor

@akankshamahajan15 akankshamahajan15 left a comment

Choose a reason for hiding this comment

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

LGTM!

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