-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XDOCKER-51: Expose configuration options to configure an XWiki cluster #24
Open
ASHISH932
wants to merge
12
commits into
xwiki:master
Choose a base branch
from
ASHISH932:clustering
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
5334154
XDOCKER-51: Expose configuration options to configure an XWiki cluster
ASHISH932 d1fc16d
XDOCKER-51: Expose configuration options to configure an XWiki cluster
ASHISH932 85dccbc
XDOCKER-51: Expose configuration options to configure an XWiki cluster
ASHISH932 a1640af
XDOCKER-51: Expose configuration options to configure an XWiki cluster
ASHISH932 4ebe570
XDOCKER-51: Expose configuration options to configure an XWiki cluster
ASHISH932 c0c76b1
XDOCKER-51: Expose configuration options to configure an XWiki cluster
ASHISH932 242a56d
XDOCKER-51: Expose configuration options to configure an XWiki cluster
ASHISH932 ec2321c
XDOCKER-51: Expose configuration options to configure an XWiki cluster
ASHISH932 e033ee1
XDOCKER-51: Expose configuration options to configure an XWiki cluster
ASHISH932 de4a749
XDOCKER-51: Expose configuration options to configure an XWiki cluster
ASHISH932 3600357
XDOCKER-51: Expose configuration options to configure an XWiki cluster
ASHISH932 c5bfd6d
XDOCKER-51: Expose configuration options to configure an XWiki cluster
ASHISH932 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,3 +39,4 @@ nbproject | |
.sonar-ide.properties | ||
.clover | ||
*~ | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
<!-- | ||
* See the NOTICE file distributed with this work for additional | ||
* information regarding copyright ownership. | ||
* | ||
* This is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU Lesser General Public License as | ||
* published by the Free Software Foundation; either version 2.1 of | ||
* the License, or (at your option) any later version. | ||
* | ||
* This software is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
* Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public | ||
* License along with this software; if not, write to the Free | ||
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | ||
* 02110-1301 USA, or see the FSF site: http://www.fsf.org. | ||
--> | ||
|
||
<!-- | ||
Default stack using IP multicasting. It is similar to the "udp" | ||
stack in stacks.xml, but doesn't use streaming state transfer and flushing | ||
author: Bela Ban | ||
--> | ||
|
||
<config xmlns="urn:org:jgroups" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="urn:org:jgroups http://www.jgroups.org/schema/JGroups-3.3.xsd"> | ||
<UDP | ||
bind_addr="match-interface:eth0,match-interface:en0,site_local,loopback" | ||
|
||
mcast_port="${jgroups.udp.mcast_port:45588}" | ||
tos="8" | ||
ucast_recv_buf_size="5M" | ||
ucast_send_buf_size="640K" | ||
mcast_recv_buf_size="5M" | ||
mcast_send_buf_size="640K" | ||
max_bundle_size="64K" | ||
ip_ttl="${jgroups.udp.ip_ttl:8}" | ||
enable_diagnostics="true" | ||
thread_naming_pattern="cl" | ||
|
||
thread_pool.enabled="true" | ||
thread_pool.min_threads="2" | ||
thread_pool.max_threads="8" | ||
thread_pool.keep_alive_time="5000" /> | ||
|
||
<PING /> | ||
<FD_SOCK/> | ||
<FD_ALL/> | ||
<VERIFY_SUSPECT timeout="1500" /> | ||
<BARRIER /> | ||
<pbcast.NAKACK2 xmit_interval="500" | ||
xmit_table_num_rows="100" | ||
xmit_table_msgs_per_row="2000" | ||
xmit_table_max_compaction_time="30000" | ||
use_mcast_xmit="false" | ||
discard_delivered_msgs="true"/> | ||
<UNICAST3 xmit_interval="500" | ||
xmit_table_num_rows="100" | ||
xmit_table_msgs_per_row="2000" | ||
xmit_table_max_compaction_time="60000" | ||
conn_expiry_timeout="0"/> | ||
<pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000" | ||
max_bytes="4M"/> | ||
<pbcast.GMS print_local_addr="true" join_timeout="3000" | ||
view_bundling="true"/> | ||
<UFC max_credits="2M" | ||
min_threshold="0.4"/> | ||
<MFC max_credits="2M" | ||
min_threshold="0.4"/> | ||
<FRAG2 frag_size="60K" /> | ||
<RSVP resend_interval="2000" timeout="10000"/> | ||
<pbcast.STATE_TRANSFER /> | ||
<!-- pbcast.FLUSH /--> | ||
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
<!-- | ||
* See the NOTICE file distributed with this work for additional | ||
* information regarding copyright ownership. | ||
* | ||
* This is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU Lesser General Public License as | ||
* published by the Free Software Foundation; either version 2.1 of | ||
* the License, or (at your option) any later version. | ||
* | ||
* This software is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
* Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public | ||
* License along with this software; if not, write to the Free | ||
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | ||
* 02110-1301 USA, or see the FSF site: http://www.fsf.org. | ||
--> | ||
|
||
<!-- | ||
Default stack using IP multicasting. It is similar to the "udp" | ||
stack in stacks.xml, but doesn't use streaming state transfer and flushing | ||
author: Bela Ban | ||
--> | ||
|
||
<config xmlns="urn:org:jgroups" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="urn:org:jgroups http://www.jgroups.org/schema/JGroups-3.3.xsd"> | ||
<UDP | ||
bind_addr="match-interface:eth0,match-interface:en0,site_local,loopback" | ||
|
||
mcast_port="${jgroups.udp.mcast_port:45588}" | ||
tos="8" | ||
ucast_recv_buf_size="5M" | ||
ucast_send_buf_size="640K" | ||
mcast_recv_buf_size="5M" | ||
mcast_send_buf_size="640K" | ||
max_bundle_size="64K" | ||
ip_ttl="${jgroups.udp.ip_ttl:8}" | ||
enable_diagnostics="true" | ||
thread_naming_pattern="cl" | ||
|
||
thread_pool.enabled="true" | ||
thread_pool.min_threads="2" | ||
thread_pool.max_threads="8" | ||
thread_pool.keep_alive_time="5000" /> | ||
|
||
<PING /> | ||
<FD_SOCK/> | ||
<FD_ALL/> | ||
<VERIFY_SUSPECT timeout="1500" /> | ||
<BARRIER /> | ||
<pbcast.NAKACK2 xmit_interval="500" | ||
xmit_table_num_rows="100" | ||
xmit_table_msgs_per_row="2000" | ||
xmit_table_max_compaction_time="30000" | ||
use_mcast_xmit="false" | ||
discard_delivered_msgs="true"/> | ||
<UNICAST3 xmit_interval="500" | ||
xmit_table_num_rows="100" | ||
xmit_table_msgs_per_row="2000" | ||
xmit_table_max_compaction_time="60000" | ||
conn_expiry_timeout="0"/> | ||
<pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000" | ||
max_bytes="4M"/> | ||
<pbcast.GMS print_local_addr="true" join_timeout="3000" | ||
view_bundling="true"/> | ||
<UFC max_credits="2M" | ||
min_threshold="0.4"/> | ||
<MFC max_credits="2M" | ||
min_threshold="0.4"/> | ||
<FRAG2 frag_size="60K" /> | ||
<RSVP resend_interval="2000" timeout="10000"/> | ||
<pbcast.STATE_TRANSFER /> | ||
<!-- pbcast.FLUSH /--> | ||
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
<!-- | ||
* See the NOTICE file distributed with this work for additional | ||
* information regarding copyright ownership. | ||
* | ||
* This is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU Lesser General Public License as | ||
* published by the Free Software Foundation; either version 2.1 of | ||
* the License, or (at your option) any later version. | ||
* | ||
* This software is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
* Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public | ||
* License along with this software; if not, write to the Free | ||
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | ||
* 02110-1301 USA, or see the FSF site: http://www.fsf.org. | ||
--> | ||
|
||
<!-- | ||
Default stack using IP multicasting. It is similar to the "udp" | ||
stack in stacks.xml, but doesn't use streaming state transfer and flushing | ||
author: Bela Ban | ||
--> | ||
|
||
<config xmlns="urn:org:jgroups" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="urn:org:jgroups http://www.jgroups.org/schema/JGroups-3.3.xsd"> | ||
<UDP | ||
bind_addr="match-interface:eth0,match-interface:en0,site_local,loopback" | ||
|
||
mcast_port="${jgroups.udp.mcast_port:45588}" | ||
tos="8" | ||
ucast_recv_buf_size="5M" | ||
ucast_send_buf_size="640K" | ||
mcast_recv_buf_size="5M" | ||
mcast_send_buf_size="640K" | ||
max_bundle_size="64K" | ||
ip_ttl="${jgroups.udp.ip_ttl:8}" | ||
enable_diagnostics="true" | ||
thread_naming_pattern="cl" | ||
|
||
thread_pool.enabled="true" | ||
thread_pool.min_threads="2" | ||
thread_pool.max_threads="8" | ||
thread_pool.keep_alive_time="5000" /> | ||
|
||
<PING /> | ||
<FD_SOCK/> | ||
<FD_ALL/> | ||
<VERIFY_SUSPECT timeout="1500" /> | ||
<BARRIER /> | ||
<pbcast.NAKACK2 xmit_interval="500" | ||
xmit_table_num_rows="100" | ||
xmit_table_msgs_per_row="2000" | ||
xmit_table_max_compaction_time="30000" | ||
use_mcast_xmit="false" | ||
discard_delivered_msgs="true"/> | ||
<UNICAST3 xmit_interval="500" | ||
xmit_table_num_rows="100" | ||
xmit_table_msgs_per_row="2000" | ||
xmit_table_max_compaction_time="60000" | ||
conn_expiry_timeout="0"/> | ||
<pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000" | ||
max_bytes="4M"/> | ||
<pbcast.GMS print_local_addr="true" join_timeout="3000" | ||
view_bundling="true"/> | ||
<UFC max_credits="2M" | ||
min_threshold="0.4"/> | ||
<MFC max_credits="2M" | ||
min_threshold="0.4"/> | ||
<FRAG2 frag_size="60K" /> | ||
<RSVP resend_interval="2000" timeout="10000"/> | ||
<pbcast.STATE_TRANSFER /> | ||
<!-- pbcast.FLUSH /--> | ||
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it needed to replace an example in the config file? This feels weird :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In xwiki.properties there is no field of
"# observation.remote.channels"
So I didn't find anything to replace. So I replaced the Example