Fix the memory leak in db_stress tests that are caused by FaultInjectionSecondaryCache and add CompressedSecondaryCache into stress tests.#10523
Closed
gitbw95 wants to merge 4 commits intofacebook:mainfrom
Closed
Conversation
FaultInjectionSecondaryCacheFaultInjectionSecondaryCache and add CompressedSecondaryCache into stress tests.
Contributor
|
@gitbw95 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Contributor
|
@gitbw95 has updated the pull request. You must reimport the pull request before landing. |
anand1976
reviewed
Aug 16, 2022
Contributor
|
@gitbw95 has updated the pull request. You must reimport the pull request before landing. |
Contributor
|
@gitbw95 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
anand1976
approved these changes
Aug 18, 2022
added 4 commits
August 18, 2022 16:27
4592721 to
bf79347
Compare
Contributor
|
@gitbw95 has updated the pull request. You must reimport the pull request before landing. |
Contributor
|
@gitbw95 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
1 similar comment
Contributor
|
@gitbw95 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
FaultInjectionSecondaryCache. To address the test requirements for both CompressedSecondaryCache and CachlibWrapper, a new class variablebase_is_compressed_sec_cache_is added to determine the different behaviors inLookup()andWaitAll().CompressedSecondaryCacheinto stress tests.Before this PR, memory leak is reported during crash tests if
CompressedSecondaryCacheis in stress tests. One example is shown as follows:Test Plan: