Bug 1316221
Summary: | EAP modules for org.hibernate.search.infinispan-storage are useing the same module slot (jdg-6.4) and might overwritten if different JDG versions are installed | ||
---|---|---|---|
Product: | [JBoss] JBoss Data Grid 6 | Reporter: | wfink |
Component: | EAP modules | Assignee: | Tristan Tarrant <ttarrant> |
Status: | ASSIGNED --- | QA Contact: | Martin Gencur <mgencur> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.5.0, 6.6.0, 6.5.1 | CC: | mgencur, sanne.grinovero |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
wfink
2016-03-09 17:17:11 UTC
This module is used (as in consumed) exclusively by modules distributed within JBoss EAP. The modules in JDG 6.x aim at delivering this additional feature to EAP version *6.4*. I'm sorry for the confusion but the intention for the module slot was to mark the target EAP version it is delivering the feature *to*, not the identification of which JDG version did build it. Indeed there is a problem with overwrites: we did not expect people to want to run both JDG 6.4 and 6.5 in the same EAP server. We could improve on that with an alias so that people can easily switch the default, but it makes sense the file the be unique as there can be only one default. When it comes to support both EAP6.x and EAP7.x the modules will need to be implemented differently, so they could be "jdg-6.4" and "jdg-7.0" and we could ship both of them. There is a need to pack the module different, maybe separate from the other EAP-modules provided for JDG. The module name should be set to reflect both (eap and jdg) version if this is important and necessary to not override The module name can not change with each JDG versions, as EAP needs to look for a module with a specific id. The module for hibernate-seach need to be shipped as a separate one which can be installed "on demand" with the needed version. Do I understand it correctly that we need this fixed for both JDG 6.5 and JDG 6.6? Also, if I understand it correctly, this could simply be fixed by repackaging the EAP modules, i.e. unzipping the EAP modules, moving the hibernate search modules out of the directory into a new directory and then zip it back up creating two packages. I would not fix JDG 6.5. For 6.6 and further the idea was to have a separate EAP module for hibernate. The "jdg-6.4" slot must be the same, but if you separate this module from the rest you can install the EAP-modules without the hibernate stuff for EAP. And this only if needed. |