[JBoss JIRA] (ISPN-9620) Rolling Upgrade Marshaller Changes
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-9620?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-9620:
-------------------------------
Fix Version/s: 10.0.0.Alpha2
(was: 10.0.0.Alpha1)
> Rolling Upgrade Marshaller Changes
> ----------------------------------
>
> Key: ISPN-9620
> URL: https://issues.jboss.org/browse/ISPN-9620
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core, Loaders and Stores
> Affects Versions: 9.4.0.Final
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 10.0.0.Alpha2
>
>
> In order to allow for compatibility between infinispan versions it is necessary for us to utilise a marshalling implementation at both the cluster (internal node-to-node communication) and persistence layer that is strictly defined but allows for future changes. This is necessary in order to facilitate both rolling and start/stop upgrades. Protocol buffers should be utilised as the wire/storage format, with protostream providing the implementation.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 4 months
[JBoss JIRA] (ISPN-9640) Reduce verbosity of hotrod cache configurations
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-9640?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-9640:
-------------------------------
Fix Version/s: 10.0.0.Alpha2
(was: 10.0.0.Alpha1)
> Reduce verbosity of hotrod cache configurations
> -----------------------------------------------
>
> Key: ISPN-9640
> URL: https://issues.jboss.org/browse/ISPN-9640
> Project: Infinispan
> Issue Type: Enhancement
> Components: Hot Rod
> Affects Versions: 9.4.0.Final
> Reporter: Ryan Emerson
> Priority: Major
> Fix For: 10.0.0.Alpha2
>
>
> Currently when defining a cache configuration via `RemoteCacheManagerAdmin::createCache` and `XMLStringConfiguration` it's necessary for the xml to include the `<infinispan><cache-container>..<infinispan/><cache-container/>` elements. This is unnecessarily verbose, and it should be possible for a user to simply provide the cache config XML, e.g. `<distributed-cache name="example"/>`
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 4 months
[JBoss JIRA] (ISPN-9632) PersistenceManager should be able to start if store's are unavailable
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-9632?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-9632:
-------------------------------
Fix Version/s: 10.0.0.Alpha2
(was: 10.0.0.Alpha1)
> PersistenceManager should be able to start if store's are unavailable
> ---------------------------------------------------------------------
>
> Key: ISPN-9632
> URL: https://issues.jboss.org/browse/ISPN-9632
> Project: Infinispan
> Issue Type: Enhancement
> Components: Loaders and Stores
> Affects Versions: 9.4.0.Final
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 10.0.0.Alpha2
>
>
> Currently it is necessary for a store to become available before `connection-attempts` are exceeded, otherwise cache startup fails. It should be possible for the PM to still start without the store being available, with the store's unavailability logged and operations requiring persistence still throwing StoreUnavailableException messages unless `SKIP_CACHE_STORE`/`SKIP_CACHE_LOAD` flags are present.
> Cache startup should still fail if preload=true as this behaviour is not possible if the store is unavailable.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 4 months
[JBoss JIRA] (ISPN-9624) Deprecate StreamingMarshaller interface
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-9624?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-9624:
-------------------------------
Fix Version/s: 10.0.0.Alpha2
(was: 10.0.0.Alpha1)
> Deprecate StreamingMarshaller interface
> ---------------------------------------
>
> Key: ISPN-9624
> URL: https://issues.jboss.org/browse/ISPN-9624
> Project: Infinispan
> Issue Type: Sub-task
> Components: Core
> Affects Versions: 9.4.0.Final
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 10.0.0.Alpha2
>
>
> The StreamingMarshaller interface is no longer fit for purpose once we move away from jboss-marshalling as the ObjectOutput abstraction does not fit with non-serialization based marshallers. We should provide a simpler interface that simply allows reading/writing objects to a provided stream. This interface should then be exposed via the InitializationContext to store implementations.
> {code:java}
> @ThreadSafe
> public interface StreamAwareMarshaller extends Marshaller {
> /**
> * Marshall an object to the {@link OutputStream}
> *
> * @param o the object to write to the {@link OutputStream}
> * @param out the {@link OutputStream} to write the object to
> * @throws IOException if the object cannot be marshalled to the {@link OutputStream} due to some I/O error
> */
> void writeObject(Object o, OutputStream out) throws IOException;
> /**
> * Unmarshall an object from the {@link InputStream}
> *
> * @param in the {@link InputStream} to unmarshall an object from
> * @return the unmarshalled object instance
> * @throws IOException if unmarshalling cannot complete due to some I/O error
> * @throws ClassNotFoundException if the class of the object trying to unmarshall is not found
> */
> Object readObject(InputStream in) throws ClassNotFoundException, IOException;
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 4 months
[JBoss JIRA] (ISPN-9623) Create Protobuf based user marshaller
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-9623?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-9623:
-------------------------------
Fix Version/s: 10.0.0.Alpha2
(was: 10.0.0.Alpha1)
> Create Protobuf based user marshaller
> -------------------------------------
>
> Key: ISPN-9623
> URL: https://issues.jboss.org/browse/ISPN-9623
> Project: Infinispan
> Issue Type: Sub-task
> Components: Core
> Affects Versions: 9.4.0.Final
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 10.0.0.Alpha2
>
>
> With the internal and persistence marshaller being protobuf based, we should also provide a user marshaller implementation that utilises protostream. Users should be able to configure annotated pojos or MessageMarshaller implementations for their objects.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 4 months