Module: sip-router
Branch: master
Commit: 820ef88912289cfff72dc153f5c1240300d49688
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=820ef88…
Author: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Committer: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Date: Tue Jan 25 11:16:46 2011 +0200
module_k/p_usrloc better documentation
---
modules_k/p_usrloc/README | 17 +++++++++--------
modules_k/p_usrloc/doc/p_usrloc_user.xml | 5 +++--
2 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/modules_k/p_usrloc/README b/modules_k/p_usrloc/README
index de1dddc..02854fe 100644
--- a/modules_k/p_usrloc/README
+++ b/modules_k/p_usrloc/README
@@ -205,14 +205,15 @@ Chapter 1. User's Guide
recovers, the module makes sure that no stale contacts are returned
from it.
- Write queries are replicated to two databases, depending on some
- distribution keys, e.g. the username and domain of some subscribers.
- Its main field of application is for storing and retrieving location
- data. The actual database for this subscriber is choosen from a set
- that is specified in the master database. Read queries are executed on
- one database of the set. If this database is not available, the other
- database would be used. This failure is recorded in the master
- database.
+ Write queries are replicated to two or more databases, depending on
+ some distribution keys, e.g. the username and domain the subscribers.
+ The number of databases used for replication is configurable at compile
+ time by modifying the DB_NUM define. Its main field of application is
+ for storing and retrieving location data. The actual database for this
+ subscriber is choosen from a set that is specified in the master
+ database. Read queries are executed on one database of the set. If this
+ database is not available, the other database would be used. This
+ failure is recorded in the master database.
Connections to the distributed databases are setup prior the actual
query is executed. The module maintains a cache of the database handles
diff --git a/modules_k/p_usrloc/doc/p_usrloc_user.xml
b/modules_k/p_usrloc/doc/p_usrloc_user.xml
index 8bc8041..86d0cac 100644
--- a/modules_k/p_usrloc/doc/p_usrloc_user.xml
+++ b/modules_k/p_usrloc/doc/p_usrloc_user.xml
@@ -39,8 +39,9 @@
<para>
</para>
- <para>Write queries are replicated to two databases, depending on some
- distribution keys, e.g. the username and domain of some subscribers.
+ <para>Write queries are replicated to two or more databases, depending on some
+ distribution keys, e.g. the username and domain the subscribers. The number of
databases
+ used for replication is configurable at compile time by modifying the DB_NUM define.
Its main field of application is for storing and retrieving location data. The actual
database for this subscriber is choosen from a set that is specified in the master
database. Read queries are executed on one database of the set. If this database is