diff options
author | Dan Gudmundsson <[email protected]> | 2019-08-09 12:52:59 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2019-08-09 12:52:59 +0200 |
commit | d48dd93bee87d039b80553031e7fe6625feff908 (patch) | |
tree | 87a837c49ef8255c0df11a0d811f6166d6b0d030 /lib/mnesia/src/mnesia_monitor.erl | |
parent | 29a73cf252143a09457a22dca433c4486d1c497b (diff) | |
parent | 7e92eb6666f3d73eb683516bc4b74b827953ec4a (diff) | |
download | otp-d48dd93bee87d039b80553031e7fe6625feff908.tar.gz otp-d48dd93bee87d039b80553031e7fe6625feff908.tar.bz2 otp-d48dd93bee87d039b80553031e7fe6625feff908.zip |
Merge branch 'dgud/mnesia/sticky-bug/ERL-768/OTP-15979' into maint
* dgud/mnesia/sticky-bug/ERL-768/OTP-15979:
mnesia: Bump protocol version
mnesia: Introduce sync_asym_trans protocol
Diffstat (limited to 'lib/mnesia/src/mnesia_monitor.erl')
-rw-r--r-- | lib/mnesia/src/mnesia_monitor.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mnesia/src/mnesia_monitor.erl b/lib/mnesia/src/mnesia_monitor.erl index 4cfe16dec0..4e50b46da8 100644 --- a/lib/mnesia/src/mnesia_monitor.erl +++ b/lib/mnesia/src/mnesia_monitor.erl @@ -83,9 +83,9 @@ going_down = [], tm_started = false, early_connects = [], connecting, mq = [], remote_node_status = []}). --define(current_protocol_version, {8,3}). +-define(current_protocol_version, {8,4}). --define(previous_protocol_version, {8,2}). +-define(previous_protocol_version, {8,3}). start() -> gen_server:start_link({local, ?MODULE}, ?MODULE, @@ -196,7 +196,7 @@ protocol_version() -> %% A sorted list of acceptable protocols the %% preferred protocols are first in the list acceptable_protocol_versions() -> - [protocol_version(), ?previous_protocol_version, {8,1}]. + [protocol_version(), ?previous_protocol_version]. needs_protocol_conversion(Node) -> case {?catch_val({protocol, Node}), protocol_version()} of |