<p>Joshua Colp <strong>uploaded patch set #8</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/10478">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">stasis: Use an implementation specific channel snapshot cache.<br><br>Channels no longer use the Stasis cache for channel snapshots. Instead<br>they are stored in a hash table in stasis_channels which reduces the<br>number of Stasis messages created and allows better storage.<br><br>As a result the following APIs are no longer available since the stasis<br>cache is no longer used:<br>ast_channel_topic_cached()<br>ast_channel_topic_all_cached()<br><br>The ast_channel_cache_all() and ast_channel_cache_by_name() functions<br>now return an ao2_container of ast_channel_snapshots rather than<br>a container of stasis_messages therefore you can't (and don't need<br>to) call stasis_cache functions on it.<br><br>The ast_channel_topic_all() function now returns a normal topic not<br>a cached one so you can't use stasis cache functions on it either.<br><br>The ast_channel_snapshot_type() stasis message now has the<br>ast_channel_snapshot_update structure as it's data. It contains the<br>last snapshot and the new one.<br><br>ast_channel_snapshot_get_latest() still returns the latest snapshot.<br><br>The latest snapshot is now stored on the channel itself to eliminate<br>cache hits when Stasis messages that have the snapshot as a payload<br>are created.<br><br>ASTERISK-28102<br><br>Change-Id: I9334febff60a82d7c39703e49059fa3a68825786<br>---<br>M CHANGES<br>M UPGRADE.txt<br>M apps/app_agent_pool.c<br>M apps/confbridge/confbridge_manager.c<br>M channels/chan_pjsip.c<br>M channels/pjsip/cli_commands.c<br>M include/asterisk/channel.h<br>M include/asterisk/stasis_channels.h<br>M main/aoc.c<br>M main/app.c<br>M main/bridge.c<br>M main/cdr.c<br>M main/cel.c<br>M main/channel.c<br>M main/channel_internal_api.c<br>M main/cli.c<br>M main/endpoints.c<br>M main/manager.c<br>M main/manager_bridges.c<br>M main/manager_channels.c<br>M main/stasis_channels.c<br>M res/ari/resource_channels.c<br>M res/res_agi.c<br>M res/res_chan_stats.c<br>M res/stasis/app.c<br>M res/stasis/control.c<br>M tests/test_cel.c<br>M tests/test_stasis_endpoints.c<br>28 files changed, 456 insertions(+), 528 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/78/10478/8</pre><p>To view, visit <a href="https://gerrit.asterisk.org/10478">change 10478</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/10478"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: I9334febff60a82d7c39703e49059fa3a68825786 </div>
<div style="display:none"> Gerrit-Change-Number: 10478 </div>
<div style="display:none"> Gerrit-PatchSet: 8 </div>
<div style="display:none"> Gerrit-Owner: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 (1000185) </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>