[BUG] Unexpected Cache Behavior on ASTRA_MANAGER_REPLICA_LIFESPAN_MINS Update #1206
Open
3 tasks done
Labels
bug
Something isn't working
Describe the bug
It seems that when the configuration for
replicaCreationServiceConfig.replicaLifespanMins
(e.g.,ASTRA_MANAGER_REPLICA_LIFESPAN_MINS
) is updated, existing replicas do not reflect the new value. This behavior is unexpected, as it differs from what I anticipated for cache updates.Requirements (place an
x
in each of the[ ]
)**To Reproduce
ASTRA_MANAGER_REPLICA_LIFESPAN_MINS
to a high value (e.g., 7 days).ASTRA_MANAGER_REPLICA_LIFESPAN_MINS
to a lower value (e.g., 24 hours).Observations
ASTRA_MANAGER_REPLICA_LIFESPAN_MINS
at the time of creation.Expected behavior
If the lifespan is increased, I would expect the system to pull additional data from S3. Conversely, if it is decreased, I would expect the system to limit the data served to align with the reduced window.
Questions and Suggestions
I understand that caching logic is undergoing changes. Will the new implementation allow for the cache window to adapt more immediately following a configuration update? This could be particularly useful for occasional scenarios where serving older data is necessary. For example:
ASTRA_MANAGER_REPLICA_LIFESPAN_MINS
and scaling up cache capacity, you could serve older data as needed.Currently, this flexibility does not seem possible due to the described behavior. Let me know if I can provide any additional details or run further tests to assist in diagnosing this issue.
Thank you!
Screenshots
If applicable, add screenshots to help explain your problem.
Reproducible in:
Astra version: We are running a slightly older version of astra. We are built off of https://github.com/airbnb/kaldb but I don't see any PRs that change this behavior since then.
JVM version:
OS version(s):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: