You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2016/03/10 14:03:40 UTC
[jira] [Commented] (OAK-4116) Broadcasting cache: disabled by
default
[ https://issues.apache.org/jira/browse/OAK-4116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15189251#comment-15189251 ]
Thomas Mueller commented on OAK-4116:
-------------------------------------
Proposed patch:
{noformat}
===================================================================
--- src/main/java/org/apache/jackrabbit/oak/plugins/document/persistentCache/PersistentCache.java (revision 1733250)
+++ src/main/java/org/apache/jackrabbit/oak/plugins/document/persistentCache/PersistentCache.java (working copy)
@@ -101,7 +101,7 @@
LOG.info("start, url={}", url);
String[] parts = url.split(",");
String dir = parts[0];
- String broadcast = "tcp:";
+ String broadcast = "disabled";
for (String p : parts) {
if (p.equals("+docs")) {
cacheDocs = true;
{noformat}
> Broadcasting cache: disabled by default
> ---------------------------------------
>
> Key: OAK-4116
> URL: https://issues.apache.org/jira/browse/OAK-4116
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: cache
> Affects Versions: 1.4.0
> Reporter: Thomas Mueller
> Assignee: Thomas Mueller
> Fix For: 1.4.1
>
>
> The broadcasting cache is now enabled by default, but I suggest we disable it again until we have more data, because:
> * It does a (although very limited) port scan trying to connect to other instances that are also connected (stored in MongoDB / the database).
> * We don't know the performance impact yet (we do have some data that show it's good, but we have very limited data so far).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)