Skip to content

Infinispan 9.3.0 update #13570

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

galderz
Copy link
Contributor

@galderz galderz commented Jun 25, 2018

  • Update to Infinispan 9.3.0.Final.
  • Remove Infinispan uber jar dependencies.
  • Update to Hibernate to use Infinispan cache provider compatible with that Hibernate version.

@wilkinsona
Copy link
Member

Thanks for the PR. We generally try to keep changes has focussed as possible and the proposal here is mixing a few different changes. Some of those changes, such as removing dependency management for modules that still exist, shouldn't be made at all. We already have an issue for upgrading to Hibernate 5.3.x (#11725). Can you please re-work this pull request so that it focuses solely on the changes that are required for the Infinispan upgrade? If the Hibernate upgrade is a prerequisite then we can take care of that separately.

@wilkinsona wilkinsona added the status: waiting-for-feedback We need additional information before we can continue label Jun 25, 2018
@galderz
Copy link
Contributor Author

galderz commented Jul 2, 2018

@wilkinsona Makes sense. I'll remove the Hibernate stuff from here, and give the Hibernate 5.3 upgrade a try separately :)

@galderz galderz force-pushed the t_infinispan930final branch 2 times, most recently from dd1326c to 9443925 Compare July 2, 2018 15:11
@galderz
Copy link
Contributor Author

galderz commented Jul 2, 2018

Actually, Hibernate 5.3 has already been updated. I'll just fix the cache provider then.

@galderz galderz changed the title Infinispan 9.3.0 and Hibernate 5.3.1 updates Infinispan 9.3.0 update Jul 2, 2018
@galderz
Copy link
Contributor Author

galderz commented Jul 2, 2018

Should be ready now :)

@wilkinsona
Copy link
Member

Thanks for the updates. Do the modules that you have removed from dependency management no longer exist in Infinispan 9.3?

We have a policy of providing dependency management for all of a library's modules. This makes it easier to keep a library's dependencies in sync even for those modules that Boot itself doesn't use. If the modules still exist, we should keep the dependency management for them and just add entries for any new modules.

@galderz
Copy link
Contributor Author

galderz commented Jul 2, 2018

  • org.hibernate:hibernate-infinispan - the hibernate/infinispan integration is no longer in this location, the cache provider is now in Infinispan source tree and the module names have changed to adjust to individual Hibernate versions. Hence, the Hibernate 5.3 compatible Infinispan cache provider is located in org.infinispan:infinispan-hibernate-cache-v53

  • infinispan-embedded-query, infinispan-embedded, infinispan-cli - these are Infinispan uber jar dependencies which cause issues in Maven environments. They should never have been there in the first place. These uber jars are for environments with no dependency management capabilities, e.g. ant wo/ ivy.

@wilkinsona
Copy link
Member

these are Infinispan uber jar dependencies which cause issues in Maven environments. They should never have been there in the first place.

I don't agree with that. We don't presume to know why someone may be using a dependency. It could be for inclusion in an assembly, for example, rather than something that's used for compilation. Either way, the changes are unrelated to an upgrade to 9.3 so they do not belong here.

@galderz
Copy link
Contributor Author

galderz commented Jul 3, 2018

I don't agree with that. We don't presume to know why someone may be using a dependency. It could be for inclusion in an assembly, for example, rather than something that's used for compilation.

We're trying to avoid people using them at all since most of the time people are using them for compilation and have had issues like this. So, if they're not there, less chances of making the mistake.

Besides, in recent Infinispan versions we don't publish them to Maven any more. For example, infinispan-embedded no longer published to Maven since 9.1.x: http://repo2.maven.org/maven2/org/infinispan/infinispan-embedded

Either way, the changes are unrelated to an upgrade to 9.3 so they do not belong here.

Fair point. I'll remove that and open a new PR with the other changes.

@wilkinsona
Copy link
Member

wilkinsona commented Jul 3, 2018

Thanks.

Besides, in recent Infinispan versions we don't publish them to Maven any more.

Just to be clear, the modules that are no longer published in 9.3 should be removed as part of the upgrade. Any other removals should be considered separately.

@galderz galderz force-pushed the t_infinispan930final branch from d1c8ad5 to 2648a26 Compare July 3, 2018 08:55
@galderz
Copy link
Contributor Author

galderz commented Jul 3, 2018

I have updated the PR removing the uber jar removals

@galderz galderz force-pushed the t_infinispan930final branch from 2648a26 to 3784303 Compare July 3, 2018 13:28
@galderz
Copy link
Contributor Author

galderz commented Jul 3, 2018

Rebased PR. @wilkinsona What is going to be in the end? I've left the uber jars for now and then I'll send another PR to remove them.

@wilkinsona wilkinsona added type: dependency-upgrade A dependency upgrade and removed status: waiting-for-feedback We need additional information before we can continue status: waiting-for-triage An issue we've not yet triaged labels Jul 4, 2018
@wilkinsona wilkinsona added this to the 2.1.0.M1 milestone Jul 4, 2018
@wilkinsona wilkinsona self-assigned this Jul 4, 2018
wilkinsona pushed a commit that referenced this pull request Jul 4, 2018
@wilkinsona wilkinsona closed this in bc65c4c Jul 4, 2018
wilkinsona added a commit that referenced this pull request Jul 4, 2018
* gh-13570:
  Update Infinispan dependency management for changes between 9.1 and 9.3
  Upgrade to Infinispan 9.3.0.Final
@wilkinsona
Copy link
Member

wilkinsona commented Jul 4, 2018

Thanks for the PR, @galderz. The proposed changes are now in master, along with another commit that aligned the dependency management with modules that have been added or removed between Infinispan 9.1.7 and 9.3.0.

For the reasons explained above, we want to keep the dependency management for any remaining uber jars. I don't think any further changes are necessary here.

@galderz
Copy link
Contributor Author

galderz commented Jul 11, 2018

Thanks @wilkinsona :)

@galderz galderz deleted the t_infinispan930final branch October 8, 2018 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: dependency-upgrade A dependency upgrade
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants