You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2011/12/22 23:04:09 UTC

svn commit: r1222481 - /hbase/trunk/src/site/xdoc/replication.xml

Author: stack
Date: Thu Dec 22 22:04:09 2011
New Revision: 1222481

URL: http://svn.apache.org/viewvc?rev=1222481&view=rev
Log:
HBASE-5091 [replication] Update replication doc to reflect current znode structure

Modified:
    hbase/trunk/src/site/xdoc/replication.xml

Modified: hbase/trunk/src/site/xdoc/replication.xml
URL: http://svn.apache.org/viewvc/hbase/trunk/src/site/xdoc/replication.xml?rev=1222481&r1=1222480&r2=1222481&view=diff
==============================================================================
--- hbase/trunk/src/site/xdoc/replication.xml (original)
+++ hbase/trunk/src/site/xdoc/replication.xml Thu Dec 22 22:04:09 2011
@@ -294,21 +294,17 @@
         <pre>
 /hbase/replication/rs/
                       1.1.1.1,60020,123456780/
-                        peers/
-                              2/
-                                1.1.1.1,60020.1234  (Contains a position)
-                                1.1.1.1,60020.1265
+                          2/
+                              1.1.1.1,60020.1234  (Contains a position)
+                              1.1.1.1,60020.1265
                       1.1.1.2,60020,123456790/
-                        peers/
-                              2/
-                                1.1.1.2,60020.1214  (Contains a position)
-                                1.1.1.2,60020.1248
-                                1.1.1.2,60020.1312
+                          2/
+                              1.1.1.2,60020.1214  (Contains a position)
+                              1.1.1.2,60020.1248
+                              1.1.1.2,60020.1312
                       1.1.1.3,60020,    123456630/
-                        peers/
-                              2/
-                                1.1.1.3,60020.1280  (Contains a position)
-
+                          2/
+                              1.1.1.3,60020.1280  (Contains a position)
         </pre>
         <p>
           Now let's say that 1.1.1.2 loses its ZK session. The survivors will race
@@ -320,26 +316,23 @@
         <pre>
 /hbase/replication/rs/
                       1.1.1.1,60020,123456780/
-                        peers/
-                              2/
-                                1.1.1.1,60020.1234  (Contains a position)
-                                1.1.1.1,60020.1265
+                          2/
+                              1.1.1.1,60020.1234  (Contains a position)
+                              1.1.1.1,60020.1265
                       1.1.1.2,60020,123456790/
-                        lock
-                        peers/
-                              2/
-                                1.1.1.2,60020.1214  (Contains a position)
-                                1.1.1.2,60020.1248
-                                1.1.1.2,60020.1312
+                          lock
+                          2/
+                              1.1.1.2,60020.1214  (Contains a position)
+                              1.1.1.2,60020.1248
+                              1.1.1.2,60020.1312
                       1.1.1.3,60020,123456630/
-                        peers/
-                              2/
-                                1.1.1.3,60020.1280  (Contains a position)
+                          2/
+                              1.1.1.3,60020.1280  (Contains a position)
 
-                              2-1.1.1.2,60020,123456790/
-                                1.1.1.2,60020.1214  (Contains a position)
-                                1.1.1.2,60020.1248
-                                1.1.1.2,60020.1312
+                          2-1.1.1.2,60020,123456790/
+                              1.1.1.2,60020.1214  (Contains a position)
+                              1.1.1.2,60020.1248
+                              1.1.1.2,60020.1312
         </pre>
         <p>
           Some time later, but before 1.1.1.3 is able to finish replicating the
@@ -351,25 +344,23 @@
         <pre>
 /hbase/replication/rs/
                       1.1.1.1,60020,123456780/
-                        peers/
-                              2/
-                                1.1.1.1,60020.1378  (Contains a position)
+                          2/
+                              1.1.1.1,60020.1378  (Contains a position)
 
-                              2-1.1.1.3,60020,123456630/
-                                1.1.1.3,60020.1325  (Contains a position)
-                                1.1.1.3,60020.1401
+                          2-1.1.1.3,60020,123456630/
+                              1.1.1.3,60020.1325  (Contains a position)
+                              1.1.1.3,60020.1401
 
-                              2-1.1.1.2,60020,123456790-1.1.1.3,60020,123456630/
-                                1.1.1.2,60020.1312  (Contains a position)
+                          2-1.1.1.2,60020,123456790-1.1.1.3,60020,123456630/
+                              1.1.1.2,60020.1312  (Contains a position)
                       1.1.1.3,60020,123456630/
-                        lock
-                        peers/
-                              2/
-                                1.1.1.3,60020.1325  (Contains a position)
-                                1.1.1.3,60020.1401
+                          lock
+                          2/
+                              1.1.1.3,60020.1325  (Contains a position)
+                              1.1.1.3,60020.1401
 
-                              2-1.1.1.2,60020,123456790/
-                                1.1.1.2,60020.1312  (Contains a position)
+                          2-1.1.1.2,60020,123456790/
+                              1.1.1.2,60020.1312  (Contains a position)
         </pre>
       </section>
     </section>
@@ -407,4 +398,4 @@
       </ol>
     </section>
   </body>
-</document>
\ No newline at end of file
+</document>