<div dir="ltr">Good, we confirm this is not about Postgres version<br><br>Yes I understood that what was not working was the insert done when receiving registration through DMQ, this is also what I have been testing.<div><br></div><div>Ok only db_mode 3 is not/never working ...<br><br></div><div>In my lab, only one server is trying to insert and this is the server receiving registration trough DMQ.<br><br>I guess we could patch to output every queries generated in module db_postgresĀ </div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 19, 2017 at 11:43 AM, Alex Balashov <span dir="ltr"><<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I will further note that db_mode 2 works even with timer_interval == 1,<br>
so this is definitely some sort of timing / race issue related to<br>
immediate use of the DB in db_mode 3.<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Dec 19, 2017 at 02:37:01PM -0500, Alex Balashov wrote:<br>
<br>
> I have tried against PG 9.6, and reloaded all the table schemas just to<br>
> be completely sure. The problem persists.<br>
><br>
> I should reemphasise that local usrloc storage works. It's only on the<br>
> remote peers receiving bindings via dmq_usrloc that there is a problem.<br>
><br>
> --<br>
> Alex Balashov | Principal | Evariste Systems LLC<br>
><br>
> Tel: <a href="tel:%2B1-706-510-6800" value="+17065106800">+1-706-510-6800</a> / <a href="tel:%2B1-800-250-5920" value="+18002505920">+1-800-250-5920</a> (toll-free)<br>
> Web: <a href="http://www.evaristesys.com/" rel="noreferrer" target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.csrpswitch.com/" rel="noreferrer" target="_blank">http://www.csrpswitch.com/</a><br>
><br>
> ______________________________<wbr>_________________<br>
> Kamailio (SER) - Users Mailing List<br>
> <a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
> <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br>
--<br>
Alex Balashov | Principal | Evariste Systems LLC<br>
<br>
Tel: <a href="tel:%2B1-706-510-6800" value="+17065106800">+1-706-510-6800</a> / <a href="tel:%2B1-800-250-5920" value="+18002505920">+1-800-250-5920</a> (toll-free)<br>
Web: <a href="http://www.evaristesys.com/" rel="noreferrer" target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.csrpswitch.com/" rel="noreferrer" target="_blank">http://www.csrpswitch.com/</a><br>
<br>
______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
</div></div></blockquote></div><br></div>