diff options
author | Mikolaj Golub <trociny@FreeBSD.org> | 2014-07-26 08:20:50 +0000 |
---|---|---|
committer | Mikolaj Golub <trociny@FreeBSD.org> | 2014-07-26 08:20:50 +0000 |
commit | 91c87afc8a3255c4b05ec50c2bc6b9c2ea5f193a (patch) | |
tree | b81c86e4e311806d7c2c93011385fdaa676c5261 /databases/leofs | |
parent | d2a12805c53878cdf6ae71b5ec2220c92b38c7b0 (diff) | |
download | ports-91c87afc8a3255c4b05ec50c2bc6b9c2ea5f193a.tar.gz ports-91c87afc8a3255c4b05ec50c2bc6b9c2ea5f193a.zip |
Notes
Diffstat (limited to 'databases/leofs')
-rw-r--r-- | databases/leofs/Makefile | 1 | ||||
-rw-r--r-- | databases/leofs/files/patch-deps-leo_manager-src-leo_manager_cluster_monitor.erl | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/databases/leofs/Makefile b/databases/leofs/Makefile index ca577f1e3067..9492435e42ff 100644 --- a/databases/leofs/Makefile +++ b/databases/leofs/Makefile @@ -3,6 +3,7 @@ PORTNAME= leofs PORTVERSION= 1.0.2 +PORTREVISION= 1 CATEGORIES= databases MAINTAINER= trociny@FreeBSD.org diff --git a/databases/leofs/files/patch-deps-leo_manager-src-leo_manager_cluster_monitor.erl b/databases/leofs/files/patch-deps-leo_manager-src-leo_manager_cluster_monitor.erl new file mode 100644 index 000000000000..fe5371f31de5 --- /dev/null +++ b/databases/leofs/files/patch-deps-leo_manager-src-leo_manager_cluster_monitor.erl @@ -0,0 +1,13 @@ +Send redundancy configuration to storage node redundant manager on +synchronization after the node restart. + +--- deps/leo_manager/src/leo_manager_cluster_monitor.erl.orig 2014-05-09 12:36:43.000000000 +0300 ++++ deps/leo_manager/src/leo_manager_cluster_monitor.erl 2014-07-22 20:31:37.000000000 +0300 +@@ -466,6 +466,7 @@ + %% synchronize member and ring + catch leo_manager_api:synchronize(?CHECKSUM_MEMBER, Node), + catch leo_manager_api:synchronize(?CHECKSUM_RING, Node), ++ catch leo_manager_api:recover(?RECOVER_BY_RING, Node, true), + ok; + + register_fun_2({ok, [#node_state{state = ?STATE_DETACHED}|_]}, #registration{node = Node, |