[infinispan-dev] OGM, Hot Rod and Grouping API

Sanne Grinovero sanne at infinispan.org
Wed May 28 13:38:39 EDT 2014


On 28 May 2014 18:02, Mircea Markus <mmarkus at redhat.com> wrote:
> On May 28, 2014, at 12:25, Emmanuel Bernard <emmanuel at hibernate.org> wrote:
>
>> We are on our way to Hibernate OGM GA (sometime this summer) so this has an impact on the supported version of Infinispan we will offer which will limit us in the future due to data backward compatibility.
>
> I.e. if you're using 6.0 you might have problems upgrading to ISPN 7.0?

The configuration parser API changed, so we have to pick one
Infinispan version at compile time, and users will have to stick with
that.

That's the only blocker I know of, we could explore working around it
(i.e. restoring the old API, since in the parallel thread we couldn't
find a reason for it to be different). But there could be other
differences, which are hidden by the Parser problem.

Another pain point is that Infinispan 7 needs a different
configuration file and is unable to read the old ones.. we used to
include a default configuration file to not force a newcomer to start
by understanding the intricacies of an Infinispan configuration, but
this way we can't provide an out-of-the-box experience which would
work on both 7 and 6.

In conclusion: unless we work towards it to make it easy I think users
will need to use a specific version.

Sanne


>
>>
>> On 28 May 2014, at 12:52, Davide D'Alto <davide at hibernate.org> wrote:
>>
>>> Hi all,
>>> some time ago we talked on the mailing list about the integration between Hibernate OGM and Hot Rod.
>>>
>>> To achieve this we would need to include the grouping API in the Hot Rod protocol and to add a couple of methods in the grouping API:
>>>
>>> - to get the keys in a group
>>> - to remove the keys in a group
>>>
>>> Mircea created an experimental stub where the method " <G, KG> Set<KG> getGroupKeys(G group) " is added to the Cache interface.
>>> I've rebased the branch to the latest changes (I might have introduce some errors): https://github.com/DavideD/infinispan/compare/ISPN-3981
>>>
>>> I should have implemented the methods but I haven't had the time to work on these features.
>>>
>>> There are also two issues to keep track of this:
>>>
>>> https://issues.jboss.org/browse/ISPN-3732
>>> https://issues.jboss.org/browse/ISPN-3981
>>>
>>> As far as I know, the API for Infinispan 7 is going to be freezed soon,
>>> I was wondering if this changes have been taken into account and,
>>> if not, is it possible to include them?
>>>
>>> Thanks,
>>> Davide
>>> _______________________________________________
>>> infinispan-dev mailing list
>>> infinispan-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
> Cheers,
> --
> Mircea Markus
> Infinispan lead (www.infinispan.org)
>
>
>
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev


More information about the infinispan-dev mailing list