<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks very much. I got it.<div><br><div><div>On 2012-4-28, at 下午6:39, Joseph Norton wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div bgcolor="#FFFFFF"><div>Yes, it is expected behavior.</div><div><br></div><div>See this section in the Mnesia user's guide:</div><div><br></div><div><p>At start-up, it must be noted that all tables residing on nodes without a <span class="code" style="font-weight: normal; ">mnesia_down</span> entry, may have fresher replicas. Their replicas may have been updated after the termination of Mnesia on the current node. In order to catch up with the latest updates, transfer a copy of the table from one of these other "fresh" nodes. If you are unlucky, other nodes may be down and you must wait for the table to be loaded on one of these nodes before receiving a fresh copy of the table.</p><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); "><a href="http://www.erlang.org/doc/apps/mnesia/Mnesia_chap7.html#id78236">http://www.erlang.org/doc/apps/mnesia/Mnesia_chap7.html#id78236</a></span></div><div><br>On 2012/04/28, at 19:16, "cao.xu" <<a href="mailto:cao.xu@rytong.com">cao.xu@rytong.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><span>Yes. It is accessible as you expect. Does that mean the shutdown order affect the result of single restart, why?</span><br><span></span><br><span>Xu Cao</span><br><span></span><br><span>On 2012-4-28, at 下午5:41, Joseph Norton wrote:</span><br><span></span><br><blockquote type="cite"><span>Can you repeat your test and make sure to shutdown test1 AFTER test2? </span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>If you then restart test1 first, is the 'test' table accessible on test1?</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Joe N.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>On 2012/04/28, at 17:40, "cao.xu" <<a href="mailto:cao.xu@rytong.com">cao.xu@rytong.com</a>> wrote:</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><blockquote type="cite"><span>Then I shutdown these two nodes and restarted 'test2', the table 'test' was still accessible and I could read and write on it.  But when I shutdown 'test2' and restarted 'test1', the table 'test' was unaccessible.</span><br></blockquote></blockquote><span></span><br></div></blockquote></div></blockquote></div><br></div></body></html>