Skip to content

Remove reservation mismatch assert in cache adapter destructor#13885

Closed
mszeszko-meta wants to merge 2 commits intofacebook:mainfrom
mszeszko-meta:remove_reservation_mismatch_assert_in_cache_adapter_destructor
Closed

Remove reservation mismatch assert in cache adapter destructor#13885
mszeszko-meta wants to merge 2 commits intofacebook:mainfrom
mszeszko-meta:remove_reservation_mismatch_assert_in_cache_adapter_destructor

Conversation

@mszeszko-meta
Copy link
Contributor

@mszeszko-meta mszeszko-meta commented Aug 15, 2025

The assert occasionally throws off the stress test runs. We already have sufficient logging in place to collect the signal about secondary cache capacity exceeding primary cache reservation for further investigation.

@facebook-github-bot
Copy link
Contributor

@mszeszko-meta has imported this pull request. If you are a Meta employee, you can view this in D80355513.

@mszeszko-meta mszeszko-meta force-pushed the remove_reservation_mismatch_assert_in_cache_adapter_destructor branch from 2925f7c to c659c2a Compare August 15, 2025 17:49
@facebook-github-bot
Copy link
Contributor

@mszeszko-meta has imported this pull request. If you are a Meta employee, you can view this in D80355513.

@anand1976
Copy link
Contributor

The fprintf to stderr is also going to cause crash test to fail. Is that the intention, or do you want to suppress it and allow the crash test to completion?

@mszeszko-meta
Copy link
Contributor Author

mszeszko-meta commented Aug 15, 2025

The fprintf to stderr is also going to cause crash test to fail. Is that the intention, or do you want to suppress it and allow the crash test to completion?

Good catch! Yes, the intent was to log it in a non-intrusive way. Changed it to stdout.

@facebook-github-bot
Copy link
Contributor

@mszeszko-meta has imported this pull request. If you are a Meta employee, you can view this in D80355513.

@facebook-github-bot
Copy link
Contributor

@mszeszko-meta merged this pull request in 84f8144.

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.

3 participants