File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 33 Placeholder for the next version (at the beginning of the line):
44 ## __WORK IN PROGRESS__
55-->
6+
7+ ## __ WORK IN PROGRESS__
8+ * (foxriver76) we now fixed the multihost functionality in the correct spot
9+
610## 3.3.20 (2021-11-24)
711* (Apollon77) Fixed the multihost functionality
812
Original file line number Diff line number Diff line change @@ -159,9 +159,7 @@ function _startMultihost(_config, secret) {
159159 * @returns {boolean|void }
160160 */
161161function startMultihost ( __config ) {
162- const objectData = objects . getStatus ( ) ;
163- // only main host controller needs to check/fix the host assignments from the instances
164- if ( compactGroupController || ! objectData . server ) {
162+ if ( compactGroupController ) {
165163 return ;
166164 }
167165
@@ -939,8 +937,10 @@ function delObjects(objs, callback) {
939937 * @return none
940938 */
941939function checkHost ( callback ) {
942- // only main host controller needs to check/fix the host assignments from the instances
943- if ( compactGroupController ) {
940+ const objectData = objects . getStatus ( ) ;
941+ // only file master host controller needs to check/fix the host assignments from the instances
942+ // for redis it is currently not possible to detect a single host system with a changed hostname for sure!
943+ if ( compactGroupController || ! objectData . server ) {
944944 return callback && callback ( ) ;
945945 }
946946
You can’t perform that action at this time.
0 commit comments