[Asterisk-code-review] res_sorcery_memory_cache: Improve behavior of AMI and CLI object expire. (asterisk[13])

Joshua Colp asteriskteam at digium.com
Wed Jun 10 04:42:42 CDT 2020


Joshua Colp has uploaded a new patch set (#2). ( https://gerrit.asterisk.org/c/asterisk/+/14511 )

Change subject: res_sorcery_memory_cache: Improve behavior of AMI and CLI object expire.
......................................................................

res_sorcery_memory_cache: Improve behavior of AMI and CLI object expire.

The AMI action and CLI command did not take into account the properties
of full backend caching. This resulted in an expired object remaining
removed until a full backend update occurred, instead of having the
object updated when needed.

This change makes it so that the AMI action and CLI command for object
expire are treated as a full cache expire and population when full
backend caching is enabled ensuring the cache represents the backend.

ASTERISK-28942

Change-Id: Id662d888f177ab566c8e802ad583083b742d21f4
---
M res/res_sorcery_memory_cache.c
1 file changed, 18 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/11/14511/2
-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/14511
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Change-Id: Id662d888f177ab566c8e802ad583083b742d21f4
Gerrit-Change-Number: 14511
Gerrit-PatchSet: 2
Gerrit-Owner: Joshua Colp <jcolp at sangoma.com>
Gerrit-CC: Friendly Automation
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200610/3e4e84a2/attachment.html>


More information about the asterisk-code-review mailing list