[JBoss JIRA] (ISPN-9359) RocksDB clear always reinitializes the database
by Ryan Emerson (JIRA)
[ https://issues.jboss.org/browse/ISPN-9359?page=com.atlassian.jira.plugin.... ]
Ryan Emerson resolved ISPN-9359.
--------------------------------
Resolution: Done
> RocksDB clear always reinitializes the database
> -----------------------------------------------
>
> Key: ISPN-9359
> URL: https://issues.jboss.org/browse/ISPN-9359
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Affects Versions: 9.3.0.Final
> Reporter: William Burns
> Assignee: William Burns
> Fix For: 9.4.0.Alpha1
>
>
> The RocksDBStore always destroys the database on a clear and reinitializes it. This causes a lot of disk IO, especially when the store may have very few entries. The configured clearThreshold is only supposed to reinit the database if so many entries are found, but the variable should have been checked as *>* instead of *<=*.
> {code}
> if (optionalIterator.isPresent() && configuration.clearThreshold() <= 0) {
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 9 months
[JBoss JIRA] (ISPN-9359) RocksDB clear always reinitializes the database
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-9359?page=com.atlassian.jira.plugin.... ]
William Burns updated ISPN-9359:
--------------------------------
Status: Open (was: New)
> RocksDB clear always reinitializes the database
> -----------------------------------------------
>
> Key: ISPN-9359
> URL: https://issues.jboss.org/browse/ISPN-9359
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Affects Versions: 9.3.0.Final
> Reporter: William Burns
> Assignee: William Burns
> Fix For: 9.4.0.Alpha1
>
>
> The RocksDBStore always destroys the database on a clear and reinitializes it. This causes a lot of disk IO, especially when the store may have very few entries. The configured clearThreshold is only supposed to reinit the database if so many entries are found, but the variable should have been checked as *>* instead of *<=*.
> {code}
> if (optionalIterator.isPresent() && configuration.clearThreshold() <= 0) {
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 9 months
[JBoss JIRA] (ISPN-9359) RocksDB clear always reinitializes the database
by William Burns (JIRA)
William Burns created ISPN-9359:
-----------------------------------
Summary: RocksDB clear always reinitializes the database
Key: ISPN-9359
URL: https://issues.jboss.org/browse/ISPN-9359
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores
Affects Versions: 9.3.0.Final
Reporter: William Burns
Assignee: William Burns
Fix For: 9.4.0.Alpha1
The RocksDBStore always destroys the database on a clear and reinitializes it. This causes a lot of disk IO, especially when the store may have very few entries. The configured clearThreshold is only supposed to reinit the database if so many entries are found, but the variable should have been checked as *>* instead of *<=*.
{code}
if (optionalIterator.isPresent() && configuration.clearThreshold() <= 0) {
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 9 months
[JBoss JIRA] (ISPN-9336) Error transcoding from JSON/XML to java objects with deployed entities
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-9336?page=com.atlassian.jira.plugin.... ]
Work on ISPN-9336 started by Gustavo Fernandes.
-----------------------------------------------
> Error transcoding from JSON/XML to java objects with deployed entities
> ----------------------------------------------------------------------
>
> Key: ISPN-9336
> URL: https://issues.jboss.org/browse/ISPN-9336
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Affects Versions: 9.3.0.Final, 9.2.5.Final
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
>
> When an entities jar is deployed in the server using the <modules> configuration under the cache manager, if a certain operation required converting from JSON/XML to java Objects, for example, when storage is application/x-java-object and json is sent, the JSONTranscoder cannot find the deployed classes since it does not use the cache manager's aggregated classloader
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 9 months
[JBoss JIRA] (ISPN-9336) Error transcoding from JSON/XML to java objects with deployed entities
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-9336?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-9336:
------------------------------------
Status: Open (was: New)
> Error transcoding from JSON/XML to java objects with deployed entities
> ----------------------------------------------------------------------
>
> Key: ISPN-9336
> URL: https://issues.jboss.org/browse/ISPN-9336
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Affects Versions: 9.3.0.Final, 9.2.5.Final
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
>
> When an entities jar is deployed in the server using the <modules> configuration under the cache manager, if a certain operation required converting from JSON/XML to java Objects, for example, when storage is application/x-java-object and json is sent, the JSONTranscoder cannot find the deployed classes since it does not use the cache manager's aggregated classloader
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 9 months