Document 'cattdb' more clearly that it dumps the content of the local TDB and not...
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 13 Sep 2011 08:44:13 +0000 (18:44 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 13 Sep 2011 08:44:13 +0000 (18:44 +1000)
doc/ctdb.1.xml
tools/ctdb.c

index a88ecc7644f16b35673daaa4bc73d74ee6d4082f..a57c67faa3798ba9c6af82ade5e95cb6c630bff4 100644 (file)
@@ -1174,6 +1174,12 @@ HEALTH: NO-HEALTHY-NODES - ERROR - Backup of corrupted TDB in '/var/ctdb/persist
       </para>
     </refsect2>
 
+    <refsect2><title>cattdb &lt;dbname&gt;</title>
+      <para>
+        This command will dump the content of the local TDB database to the screen. This is a debugging command.
+      </para>
+    </refsect2>
+
     <refsect2><title>dumpdbbackup &lt;backup-file&gt;</title>
       <para>
        This command will dump the content of database backup to the screen
index 9443eca9bd519a19c9fa23cddeb5ad6eb01deafd..fc281e48e5c62f969132e98ed6b7345d75231c78 100644 (file)
@@ -5020,8 +5020,8 @@ static const struct {
        { "process-exists",  control_process_exists,    true,   false,  "check if a process exists on a node",  "<pid>"},
        { "getdbmap",        control_getdbmap,          true,   false,  "show the database map" },
        { "getdbstatus",     control_getdbstatus,       true,   false,  "show the status of a database", "<dbname>" },
-       { "catdb",           control_catdb,             true,   false,  "dump a database" ,                     "<dbname>"},
-       { "cattdb",          control_cattdb,            true,   false,  "dump a database" ,                     "<dbname>"},
+       { "catdb",           control_catdb,             true,   false,  "dump a ctdb database" ,                     "<dbname>"},
+       { "cattdb",          control_cattdb,            true,   false,  "dump a local tdb database" ,                     "<dbname>"},
        { "getmonmode",      control_getmonmode,        true,   false,  "show monitoring mode" },
        { "getcapabilities", control_getcapabilities,   true,   false,  "show node capabilities" },
        { "pnn",             control_pnn,               true,   false,  "show the pnn of the currnet node" },