<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Patch Set 1:</p><p style="white-space: pre-wrap; word-wrap: break-word;">Then why not having some sort of per-paging-req counter which is incremented for each BTS where it is scheduled, and decreased when it expires?<br>Then if all fail and reaches 0, the expired counter is incremented. If one succeeds, the refcound is dropped.</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">So in other words (to make sure I understood you correctly):</p><ul><li>instead of bsc_T3113, add a counter of active pagings to struct bsc_subscr</li><li>decrease by 1 if one BTS paging fails</li><li>if it is going from 1 to 0 because a BTS failed, also increase bsc.paging:expired</li><li>if paging is successful for any BTS, set it to 0, don't increase bsc.paging:expired</li></ul><p style="white-space: pre-wrap; word-wrap: break-word;">Should work as well. What's the advantage over the approach in the current patch?</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/26384">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/26384">change 26384</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.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.osmocom.org/c/osmo-bsc/+/26384"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I9c118e7e3d61ed8c9f1951111255b196905eba4d </div>
<div style="display:none"> Gerrit-Change-Number: 26384 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 26 Nov 2021 17:45:54 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>