[EXTDAM-318] Always store the region of a bucket if it is not cached Created: 25/Oct/21 Updated: 08/Nov/21 Resolved: 27/Oct/21 |
|
| Status: | Closed |
| Project: | External DAMs |
| Component/s: | None |
| Affects Version/s: | 1.0.7 |
| Fix Version/s: | 1.0.8, 1.1.0, 1.2.0 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Jesus Alonso | Assignee: | Jesus Alonso |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Template: |
|
||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||
| Task DoD: |
[X]*
Doc/release notes changes? Comment present?
[X]*
Downstream builds green?
[X]*
Solution information and context easily available?
[X]*
Tests
[X]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||
| Release notes required: |
Yes
|
||||||||||||
| Date of First Response: | |||||||||||||
| Description |
|
getBucketRegion tries to obtain the region from:
However, in the second case we are not updating the cache! While for the asset tree the region is always present in the cache, this is not always true for the delivery endpoint, where we are seeing performance issues. Thus, we need to, when the region is not present in the cache, update it so future requests can use it. |