Skip to content

Resolve "Geo: cache results in issue and message count being incorrect"

Brett Walker requested to merge 4070-geo-caching-issue-count into master

What does this MR do?

For a Geo secondary node, it sets the cache expiration for the issues count to 5 mins instead of defaulting to 2 weeks.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

When a new issue is created on the primary, the issue count cache is automatically reset. However there is no easy way to do this on the secondary yet, leaving the issue count wrong for 2 weeks. For now, set the expiration to 5 mins.

For the future, a better solution is to communicate the need for certain cache items to be recalculated, so that it is more immediate. See issue #4070 (closed) for some additional discussion on this.

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #4070 (closed)

Edited by Dominic Couture

Merge request reports