[JBoss JIRA] (ISPN-6980) Provide a manual method to sync sites
by Alan Field (JIRA)
[ https://issues.jboss.org/browse/ISPN-6980?page=com.atlassian.jira.plugin.... ]
Alan Field updated ISPN-6980:
-----------------------------
Description:
When switching between sites and especially when the replication between sites it async, cache operators should be able to sync any changes that haven't been replicated before taking the site offline.
It also might be useful to be able to do a controlled shutdown of a site that sends all pending changes to the backup site, and then shuts down the cluster.
was:When switching between sites and especially when the replication between sites it async, cache operators should be able to sync any changes that haven't been replicated before taking the site offline.
> Provide a manual method to sync sites
> -------------------------------------
>
> Key: ISPN-6980
> URL: https://issues.jboss.org/browse/ISPN-6980
> Project: Infinispan
> Issue Type: Feature Request
> Components: Cross-Site Replication
> Affects Versions: 9.0.0.Alpha4, 8.2.4.Final
> Reporter: Alan Field
>
> When switching between sites and especially when the replication between sites it async, cache operators should be able to sync any changes that haven't been replicated before taking the site offline.
> It also might be useful to be able to do a controlled shutdown of a site that sends all pending changes to the backup site, and then shuts down the cluster.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 1 month
[JBoss JIRA] (ISPN-7019) Need better docs for memory-based eviction
by John Sanda (JIRA)
[ https://issues.jboss.org/browse/ISPN-7019?page=com.atlassian.jira.plugin.... ]
John Sanda updated ISPN-7019:
-----------------------------
Description:
In order to use memory based eviction, cache entries have to be stored as binary, e.g.,
{noformat}
<infinispan>
<cache-container default-cache="default">
<transport cluster="HawkularMetrics"/>
<distributed-cache name="rawData" mode="ASYNC" >
<groups enabled="true"/>
<store-as-binary/>
<eviction size="2576980377" strategy="LRU" type="MEMORY"/>
<persistence passivation="true">
<leveldb-store path="/tmp/hawkular-metrics/jni/raw/data" shared="false" preload="false">
<expiration path="/tmp/hawkular-metrics/jni/raw/expired"/>
<compression type="NONE" />
<implementation type="JAVA"/>
<write-behind/>
</leveldb-store>
</persistence>
</distributed-cache>
</cache-container>
</infinispan>
{noformat}
Without the {{store-as-binary}}, you get exceptions like:
{noformat}
java.lang.IllegalArgumentException: Size of Class class org.hawkular.metrics.core.service.cache.MetricKey cannot be determined using given entry size calculator :class org.infinispan.container.entries.MarshalledValueEntrySizeCalculator
at org.infinispan.container.entries.PrimitiveEntrySizeCalculator.handleObject(PrimitiveEntrySizeCalculator.java:91) ~[infinispan-core-8.1.0.Final.jar:8.1.0.Final]
{noformat}
when trying to store cache entries. This configuration setting should be more clearly documented and/or have the exception mention it as well.
was:
In order to use memory based eviction, cache entries have to be stored as binary, e.g.,
{noformat}
<infinispan>
<cache-container default-cache="default">
<transport cluster="HawkularMetrics"/>
<distributed-cache name="rawData" mode="ASYNC" >
<groups enabled="true"/>
<store-as-binary/>
<eviction size="2576980377" strategy="LRU" type="MEMORY"/>
<persistence passivation="true">
<leveldb-store path="/tmp/hawkular-metrics/jni/raw/data" shared="false" preload="false">
<expiration path="/tmp/hawkular-metrics/jni/raw/expired"/>
<compression type="NONE" />
<implementation type="JAVA"/>
<write-behind/>
</leveldb-store>
</persistence>
</distributed-cache>
</cache-container>
</infinispan>
{noformat}
Without the {{store-as-binary}}, you get exceptions like:
{noformat}
ava.lang.IllegalArgumentException: Size of Class class org.hawkular.metrics.core.service.cache.MetricKey cannot be determined using given entry size calculator :class org.infinispan.container.entries.MarshalledValueEntrySizeCalculator
at org.infinispan.container.entries.PrimitiveEntrySizeCalculator.handleObject(PrimitiveEntrySizeCalculator.java:91) ~[infinispan-core-8.1.0.Final.jar:8.1.0.Final]
{noformat}
when trying to store cache entries. This configuration setting should be more clearly documented and/or have the exception mention it as well.
> Need better docs for memory-based eviction
> ------------------------------------------
>
> Key: ISPN-7019
> URL: https://issues.jboss.org/browse/ISPN-7019
> Project: Infinispan
> Issue Type: Task
> Reporter: John Sanda
> Priority: Minor
>
> In order to use memory based eviction, cache entries have to be stored as binary, e.g.,
> {noformat}
> <infinispan>
> <cache-container default-cache="default">
> <transport cluster="HawkularMetrics"/>
> <distributed-cache name="rawData" mode="ASYNC" >
> <groups enabled="true"/>
> <store-as-binary/>
> <eviction size="2576980377" strategy="LRU" type="MEMORY"/>
> <persistence passivation="true">
> <leveldb-store path="/tmp/hawkular-metrics/jni/raw/data" shared="false" preload="false">
> <expiration path="/tmp/hawkular-metrics/jni/raw/expired"/>
> <compression type="NONE" />
> <implementation type="JAVA"/>
> <write-behind/>
> </leveldb-store>
> </persistence>
> </distributed-cache>
> </cache-container>
> </infinispan>
> {noformat}
> Without the {{store-as-binary}}, you get exceptions like:
> {noformat}
> java.lang.IllegalArgumentException: Size of Class class org.hawkular.metrics.core.service.cache.MetricKey cannot be determined using given entry size calculator :class org.infinispan.container.entries.MarshalledValueEntrySizeCalculator
> at org.infinispan.container.entries.PrimitiveEntrySizeCalculator.handleObject(PrimitiveEntrySizeCalculator.java:91) ~[infinispan-core-8.1.0.Final.jar:8.1.0.Final]
> {noformat}
> when trying to store cache entries. This configuration setting should be more clearly documented and/or have the exception mention it as well.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 1 month
[JBoss JIRA] (ISPN-7019) Need better docs for memory-based eviction
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-7019?page=com.atlassian.jira.plugin.... ]
William Burns reassigned ISPN-7019:
-----------------------------------
Assignee: William Burns
> Need better docs for memory-based eviction
> ------------------------------------------
>
> Key: ISPN-7019
> URL: https://issues.jboss.org/browse/ISPN-7019
> Project: Infinispan
> Issue Type: Task
> Reporter: John Sanda
> Assignee: William Burns
> Priority: Minor
>
> In order to use memory based eviction, cache entries have to be stored as binary, e.g.,
> {noformat}
> <infinispan>
> <cache-container default-cache="default">
> <transport cluster="HawkularMetrics"/>
> <distributed-cache name="rawData" mode="ASYNC" >
> <groups enabled="true"/>
> <store-as-binary/>
> <eviction size="2576980377" strategy="LRU" type="MEMORY"/>
> <persistence passivation="true">
> <leveldb-store path="/tmp/hawkular-metrics/jni/raw/data" shared="false" preload="false">
> <expiration path="/tmp/hawkular-metrics/jni/raw/expired"/>
> <compression type="NONE" />
> <implementation type="JAVA"/>
> <write-behind/>
> </leveldb-store>
> </persistence>
> </distributed-cache>
> </cache-container>
> </infinispan>
> {noformat}
> Without the {{store-as-binary}}, you get exceptions like:
> {noformat}
> java.lang.IllegalArgumentException: Size of Class class org.hawkular.metrics.core.service.cache.MetricKey cannot be determined using given entry size calculator :class org.infinispan.container.entries.MarshalledValueEntrySizeCalculator
> at org.infinispan.container.entries.PrimitiveEntrySizeCalculator.handleObject(PrimitiveEntrySizeCalculator.java:91) ~[infinispan-core-8.1.0.Final.jar:8.1.0.Final]
> {noformat}
> when trying to store cache entries. This configuration setting should be more clearly documented and/or have the exception mention it as well.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 1 month
[JBoss JIRA] (ISPN-7019) Need better docs for memory-based eviction
by John Sanda (JIRA)
John Sanda created ISPN-7019:
--------------------------------
Summary: Need better docs for memory-based eviction
Key: ISPN-7019
URL: https://issues.jboss.org/browse/ISPN-7019
Project: Infinispan
Issue Type: Task
Reporter: John Sanda
Priority: Minor
In order to use memory based eviction, cache entries have to be stored as binary, e.g.,
{noformat}
<infinispan>
<cache-container default-cache="default">
<transport cluster="HawkularMetrics"/>
<distributed-cache name="rawData" mode="ASYNC" >
<groups enabled="true"/>
<store-as-binary/>
<eviction size="2576980377" strategy="LRU" type="MEMORY"/>
<persistence passivation="true">
<leveldb-store path="/tmp/hawkular-metrics/jni/raw/data" shared="false" preload="false">
<expiration path="/tmp/hawkular-metrics/jni/raw/expired"/>
<compression type="NONE" />
<implementation type="JAVA"/>
<write-behind/>
</leveldb-store>
</persistence>
</distributed-cache>
</cache-container>
</infinispan>
{noformat}
Without the {{store-as-binary}}, you get exceptions like:
{noformat}
ava.lang.IllegalArgumentException: Size of Class class org.hawkular.metrics.core.service.cache.MetricKey cannot be determined using given entry size calculator :class org.infinispan.container.entries.MarshalledValueEntrySizeCalculator
at org.infinispan.container.entries.PrimitiveEntrySizeCalculator.handleObject(PrimitiveEntrySizeCalculator.java:91) ~[infinispan-core-8.1.0.Final.jar:8.1.0.Final]
{noformat}
when trying to store cache entries. This configuration setting should be more clearly documented and/or have the exception mention it as well.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 1 month
[JBoss JIRA] (ISPN-7012) Refactor KUBE_PING
by Sebastian Łaskawiec (JIRA)
Sebastian Łaskawiec created ISPN-7012:
-----------------------------------------
Summary: Refactor KUBE_PING
Key: ISPN-7012
URL: https://issues.jboss.org/browse/ISPN-7012
Project: Infinispan
Issue Type: Feature Request
Components: Cloud Integrations
Reporter: Sebastian Łaskawiec
Assignee: Sebastian Łaskawiec
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 1 month