[ABTEST-318] Results from the analytics cache should be invalidated based on testId Created: 24/Sep/20  Updated: 26/Aug/22

Status: Open
Project: A/B Testing
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Low
Reporter: Andrei Ichimescu Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Epic Link: ABn Later
Team: AuthorX

 Description   

AnalyticsDataSupplierCache is wrapping the TestResultsDataSupplier fetch method with a cache that has the key = "#0.hashCode()"
As our TestResultsDataSupplier is a singleton, that means that the data in the cache gets overwritten by different test results.
One cannot invalidate only a single test results, therefore invalidateAll method is called.

*AC: *
Find a better way to handle the caching response as invalidate all is not ideal.


Generated at Sun Feb 11 22:55:03 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.