Skip to content

Conversation

@FarhanAnjum-opti
Copy link
Contributor

@FarhanAnjum-opti FarhanAnjum-opti commented Oct 28, 2025

Summary

Also includes CMAB bugbash fixes

  1. cacheSize, cacheTtl, and customCache are exposed to public
  2. logs and reasons added in DefaultCmabService
  3. Default_max_retry set to 1
  4. Fixed default cache timeout set in milliseconds but expected in seconds.

Test plan

All existing unit test and FSC should pass

Issues

FSSDK-11991

Copy link
Contributor

@Mat001 Mat001 left a comment

Choose a reason for hiding this comment

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

default cmab cache size to be 10000


NUM_LOCK_STRIPES = 1000
DEFAULT_CMAB_CACHE_TIMEOUT = 30 * 60 # 30 minutes
DEFAULT_CMAB_CACHE_SIZE = 1000
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this needs to be 10000.
Just like in ODP.

Copy link
Contributor

Choose a reason for hiding this comment

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

IN odp we have 10000 here:

DEFAULT_CAPACITY: Final = 10_000


NUM_LOCK_STRIPES = 1000
DEFAULT_CMAB_CACHE_TIMEOUT = 30 * 60 # 30 minutes
DEFAULT_CMAB_CACHE_SIZE = 1000
Copy link
Contributor

Choose a reason for hiding this comment

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

IN odp we have 10000 here:

DEFAULT_CAPACITY: Final = 10_000

Copy link
Contributor

@Mat001 Mat001 left a comment

Choose a reason for hiding this comment

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

LGTM

@FarhanAnjum-opti FarhanAnjum-opti merged commit caba597 into master Nov 4, 2025
19 checks passed
@FarhanAnjum-opti FarhanAnjum-opti deleted the farhan/FSSDK-11991-expose-cmab-cache-config-options branch November 4, 2025 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants