Skip to content

Commit

Permalink
Merge pull request #1667 from kamailio/cchance/ht-dmq-sync
Browse files Browse the repository at this point in the history
htable: added startup synchronization over dmq
  • Loading branch information
miconda committed Oct 5, 2018
2 parents 0eb8c03 + 57f87fc commit fb63da5
Show file tree
Hide file tree
Showing 4 changed files with 387 additions and 40 deletions.
22 changes: 22 additions & 0 deletions src/modules/htable/doc/htable_admin.xml
Expand Up @@ -647,6 +647,28 @@ modparam("htable", "db_expires", 1)
...
modparam("htable", "enable_dmq", 1)
...
</programlisting>
</example>
</section>
<section id="htable.p.dmq_init_sync">
<title><varname>dmq_init_sync</varname> (integer)</title>
<para>
If set to 1, will request synchronization from other nodes at startup. It applies
to all tables having the "dmqreplicate" parameter set. As above, it is important to
ensure the definition (size, autoexpire etc.) of replicated tables is identical
across all instances.
</para>
<para>
<emphasis>
Default value is 0.
</emphasis>
</para>
<example>
<title>Set <varname>dmq_init_sync</varname> parameter</title>
<programlisting format="linespecific">
...
modparam("htable", "dmq_init_sync", 1)
...
</programlisting>
</example>
</section>
Expand Down

0 comments on commit fb63da5

Please sign in to comment.