api-manager icon indicating copy to clipboard operation
api-manager copied to clipboard

Port Eager Loading Fix to APIM-4.2.0 Version

Open Abshan opened this issue 1 year ago • 1 comments

Description

As per the Doc [1], when we enable eager_loading, the tenant specific artifacts are supposed to remain in the memory until server is shut down. However, this issue seems to be present APIM 4.2.0 version as well.

[1] https://apim.docs.wso2.com/en/4.2.0/administer/multitenancy/configuring-the-tenant-loading-policy/#:~:text=When%20eager%20loading%20is%20enabled%2C%20tenants%20(and%20the%20tenant%2Dspecific%20artifacts)%20are%20expected%20to%20remain%20in%20memory%20without%20unloading%20until%20the%20server%20shuts%20down.

Steps to Reproduce

  1. Enable eager loading
  2. After the tenants defined under eager loading has been loaded, the specific tenants would start to unload itself after 30 minutes (default idle time is 30 minutes)

Affected Component

APIM

Version

77

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

No response

Abshan avatar May 02 '24 16:05 Abshan

Public Fix : https://github.com/wso2/carbon-kernel/commit/4e46268b3d33077d2eeb2efa9a2db6bdaa785624

msm1992 avatar May 07 '24 10:05 msm1992