diff options
author | Ulf Wiger <[email protected]> | 2011-01-30 20:19:48 +0100 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2011-05-16 11:00:29 +0200 |
commit | 497f4b2215e2fc1b6a10c3f96c71b90dbb529eae (patch) | |
tree | 32255add9f9f67188a3318980673ac3e2b236f5a /lib/mnesia/doc/src/Mnesia_chap7.xmlsrc | |
parent | 4eacd6dcc0ffd28c4d76507212b87b75b249daca (diff) | |
download | otp-497f4b2215e2fc1b6a10c3f96c71b90dbb529eae.tar.gz otp-497f4b2215e2fc1b6a10c3f96c71b90dbb529eae.tar.bz2 otp-497f4b2215e2fc1b6a10c3f96c71b90dbb529eae.zip |
Add documentation text about majority checking
Diffstat (limited to 'lib/mnesia/doc/src/Mnesia_chap7.xmlsrc')
-rw-r--r-- | lib/mnesia/doc/src/Mnesia_chap7.xmlsrc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/mnesia/doc/src/Mnesia_chap7.xmlsrc b/lib/mnesia/doc/src/Mnesia_chap7.xmlsrc index 7078499fbf..21174340d1 100644 --- a/lib/mnesia/doc/src/Mnesia_chap7.xmlsrc +++ b/lib/mnesia/doc/src/Mnesia_chap7.xmlsrc @@ -473,6 +473,13 @@ dets:close(N). </pre> <c>mnesia:table_info(Tab, master_nodes)</c> may be used to obtain information about the potential master nodes. </p> + <p>Determining which data to keep after communication failure is outside + the scope of Mnesia. One approach would be to determine which "island" + contains a majority of the nodes. Using the <c>{majority,true}</c> option + for critical tables can be a way of ensuring that nodes that are not part + of a "majority island" are not able to update those tables. Note that this + constitutes a reduction in service on the minority nodes. This would be + a tradeoff in favour of higher consistency guarantees.</p> <p>The function <c>mnesia:force_load_table(Tab)</c> may be used to force load the table regardless of which table load mechanism is activated. |