<p></p>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/miconda/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/miconda">@miconda</a> it happens on every delete. Our "table definitions" use Redis sets to simulate non-unique database indexes. For example if we have a key <code>entry:foobar</code> that is a hash and includes a key "test = blah" (so, <code>HMSET entry:foobar test blah</code>) and we use the "test" key as a non-unique index, then we'd have a set <code>index:test:blah</code> that includes <code>entry:foobar</code> as member (<code>SADD index:test:blah entry:foobar</code>). So when deleting <code>entry:foobar</code> we need to delete that from the <code>index:test:blah</code> set (<code>SREM ...</code>). This requires fetching the contents of the <code>entry:foobar</code> hash when deleting it. So with this commit, when <code>entry:foobar</code> is deleted directly by name, there will be no "manual keys" and so the HMGET is skipped and so the SREM fails.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/commit/bf2ecd4dec55d5009e0904392d083e17af91977d#commitcomment-40428709">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJZTDMKBVB7INX2G53R2M6FRANCNFSM4OS4PTHQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZP7VEPA5H5XVTIXY73R2M6FRA5CNFSM4OS4PTH2YY3PNVWWK3TUL52HS4DFVVBW63LNNF2EG33NNVSW45FKMNXW23LFNZ2F62LEZYBGRZFF.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/commit/bf2ecd4dec55d5009e0904392d083e17af91977d#commitcomment-40428709",
"url": "https://github.com/kamailio/kamailio/commit/bf2ecd4dec55d5009e0904392d083e17af91977d#commitcomment-40428709",
"name": "View Commit"
},
"description": "View this Commit on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>