HBASE-5091 [replication] Update replication doc to reflect current znode structure

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1222481 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2011-12-22 22:04:09 +00:00
parent 5ec931d5c7
commit 6313293e51
1 changed files with 37 additions and 46 deletions

View File

@ -294,21 +294,17 @@
<pre> <pre>
/hbase/replication/rs/ /hbase/replication/rs/
1.1.1.1,60020,123456780/ 1.1.1.1,60020,123456780/
peers/ 2/
2/ 1.1.1.1,60020.1234 (Contains a position)
1.1.1.1,60020.1234 (Contains a position) 1.1.1.1,60020.1265
1.1.1.1,60020.1265
1.1.1.2,60020,123456790/ 1.1.1.2,60020,123456790/
peers/ 2/
2/ 1.1.1.2,60020.1214 (Contains a position)
1.1.1.2,60020.1214 (Contains a position) 1.1.1.2,60020.1248
1.1.1.2,60020.1248 1.1.1.2,60020.1312
1.1.1.2,60020.1312
1.1.1.3,60020, 123456630/ 1.1.1.3,60020, 123456630/
peers/ 2/
2/ 1.1.1.3,60020.1280 (Contains a position)
1.1.1.3,60020.1280 (Contains a position)
</pre> </pre>
<p> <p>
Now let's say that 1.1.1.2 loses its ZK session. The survivors will race Now let's say that 1.1.1.2 loses its ZK session. The survivors will race
@ -320,26 +316,23 @@
<pre> <pre>
/hbase/replication/rs/ /hbase/replication/rs/
1.1.1.1,60020,123456780/ 1.1.1.1,60020,123456780/
peers/ 2/
2/ 1.1.1.1,60020.1234 (Contains a position)
1.1.1.1,60020.1234 (Contains a position) 1.1.1.1,60020.1265
1.1.1.1,60020.1265
1.1.1.2,60020,123456790/ 1.1.1.2,60020,123456790/
lock lock
peers/ 2/
2/ 1.1.1.2,60020.1214 (Contains a position)
1.1.1.2,60020.1214 (Contains a position) 1.1.1.2,60020.1248
1.1.1.2,60020.1248 1.1.1.2,60020.1312
1.1.1.2,60020.1312
1.1.1.3,60020,123456630/ 1.1.1.3,60020,123456630/
peers/ 2/
2/ 1.1.1.3,60020.1280 (Contains a position)
1.1.1.3,60020.1280 (Contains a position)
2-1.1.1.2,60020,123456790/ 2-1.1.1.2,60020,123456790/
1.1.1.2,60020.1214 (Contains a position) 1.1.1.2,60020.1214 (Contains a position)
1.1.1.2,60020.1248 1.1.1.2,60020.1248
1.1.1.2,60020.1312 1.1.1.2,60020.1312
</pre> </pre>
<p> <p>
Some time later, but before 1.1.1.3 is able to finish replicating the Some time later, but before 1.1.1.3 is able to finish replicating the
@ -351,25 +344,23 @@
<pre> <pre>
/hbase/replication/rs/ /hbase/replication/rs/
1.1.1.1,60020,123456780/ 1.1.1.1,60020,123456780/
peers/ 2/
2/ 1.1.1.1,60020.1378 (Contains a position)
1.1.1.1,60020.1378 (Contains a position)
2-1.1.1.3,60020,123456630/ 2-1.1.1.3,60020,123456630/
1.1.1.3,60020.1325 (Contains a position) 1.1.1.3,60020.1325 (Contains a position)
1.1.1.3,60020.1401 1.1.1.3,60020.1401
2-1.1.1.2,60020,123456790-1.1.1.3,60020,123456630/ 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.2,60020.1312 (Contains a position)
1.1.1.3,60020,123456630/ 1.1.1.3,60020,123456630/
lock lock
peers/ 2/
2/ 1.1.1.3,60020.1325 (Contains a position)
1.1.1.3,60020.1325 (Contains a position) 1.1.1.3,60020.1401
1.1.1.3,60020.1401
2-1.1.1.2,60020,123456790/ 2-1.1.1.2,60020,123456790/
1.1.1.2,60020.1312 (Contains a position) 1.1.1.2,60020.1312 (Contains a position)
</pre> </pre>
</section> </section>
</section> </section>
@ -407,4 +398,4 @@
</ol> </ol>
</section> </section>
</body> </body>
</document> </document>