<div dir="ltr"><div dir="ltr">Hello there,<div>I'm testing the db_redis with usrloc module in mode 3 and i have been noticing that every time that kamailio checks if there is contacts expired then it logs the following warning messages:</div><div><br></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div><i>WARNING: PR_LOG: <a href="mailto:5a14aea50d9d9b17-75@172.31.1.11">5a14aea50d9d9b17-75@172.31.1.11</a>: db_redis [redis_dbase.c:1099]: db_redis_perform_query(): performing full table scan on table 'location' while performing query</i></div></div></div><div><div><i>WARNING: PR_LOG: <a href="mailto:5a14aea50d9d9b17-75@172.31.1.11">5a14aea50d9d9b17-75@172.31.1.11</a>: db_redis [redis_dbase.c:1102]: db_redis_perform_query():   scan key 0 is 'expires'</i></div></div><div><div><i>WARNING: PR_LOG: <a href="mailto:5a14aea50d9d9b17-75@172.31.1.11">5a14aea50d9d9b17-75@172.31.1.11</a>: db_redis [redis_dbase.c:1102]: db_redis_perform_query():   scan key 1 is 'expires'</i></div></div><div><div><i>WARNING: PR_LOG: <a href="mailto:5a14aea50d9d9b17-75@172.31.1.11">5a14aea50d9d9b17-75@172.31.1.11</a>: db_redis [redis_dbase.c:1274]: db_redis_perform_delete(): performing full table scan on table 'location' while performing delete</i></div></div><div><div><i>WARNING: PR_LOG: <a href="mailto:5a14aea50d9d9b17-75@172.31.1.11">5a14aea50d9d9b17-75@172.31.1.11</a>: db_redis [redis_dbase.c:1277]: db_redis_perform_delete():   scan key 0 is 'expires'</i></div></div><div><div><i>WARNING: PR_LOG: <a href="mailto:5a14aea50d9d9b17-75@172.31.1.11">5a14aea50d9d9b17-75@172.31.1.11</a>: db_redis [redis_dbase.c:1277]: db_redis_perform_delete():   scan key 1 is 'expires'</i></div></div></blockquote><div dir="ltr"><div><br></div><div>I'm not sure what is the rational behind of this, but having these logs being written when we have log level equal 2 in production is something unnecessary, so i'm asking if it shouldn't be better we have it as debug instead of warning? or do you forecast any performance issues using usrloc module in mode 3 with db_redis?</div><div><br></div><div>Thank you for your support </div><div>Cheers</div><div>José</div>-- <br><div dir="ltr" class="gmail_signature">Cumprimentos<div>José Seabra</div></div></div></div>