<div dir="ltr">That wasn't what the catch was for. Rather, it optimistically tries to update an aggregated counter that may or may not be there. It should NOT be created if it doesn't exist.<div><br></div><div>The change that Garrett didn't like was that it optimistically tried to update TWO different aggregated counters instead of just one.<br><div><br></div><div>BR,</div><div>Ulf W</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-01-21 15:48 GMT+00:00 Anthony Ramine <span dir="ltr"><<a href="mailto:n.oxyde@gmail.com" target="_blank">n.oxyde@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Out of curiosity, shouldn't you use ets:update_counter/4?<br>
</blockquote></div><br></div>