Skip to content

Conversation

andrea-deri
Copy link
Contributor

@andrea-deri andrea-deri commented Aug 8, 2025

This PR contains a new feature on cache generation that provide more stability during parallel processes. This new feature permits to define a lock on stakeholder's cache generation in order to avoid wrong concurrent cache generation that saturate memory. The lock can be applied at the level of all stakeholders or at the level of individual stakeholders, allowing for a more granular block if necessary.

List of Changes

  • Defined lock strategy for stakeholder's schema cache generation
  • Defined property to extend a single lock to all stakeholders
  • Including more verbosity on API-level logs
  • Including logs for locking and unlocking process

Motivation and Context

This change is made in order to try to mitigate a resource issue on application during parallel API calls

How Has This Been Tested?

  • Tested in local environment
  • Tested in DEV environment
  • Tested in UAT environment

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as
    expected)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@andrea-deri andrea-deri requested a review from a team as a code owner August 8, 2025 09:07
Copy link
Contributor

@aomegax aomegax left a comment

Choose a reason for hiding this comment

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

🔝

@andrea-deri andrea-deri merged commit 005f831 into main Aug 8, 2025
6 of 7 checks passed
@andrea-deri andrea-deri deleted the fix-lock-on-stakeholder-cache-gen branch August 8, 2025 09:49
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