Bug 1325783
| Summary: | OptaPlanner Kie server: Cannot marshall best solution score | ||
|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Karel Suta <ksuta> |
| Component: | Kie-Server | Assignee: | Geoffrey De Smet <gdesmet> |
| Status: | CLOSED EOL | QA Contact: | Karel Suta <ksuta> |
| Severity: | high | Docs Contact: | Tomas 'Sheldon' Radej <tradej> |
| Priority: | high | ||
| Version: | 6.3.0 | CC: | etirelli, lpetrovi, tradej |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
The Realtime Decision Server is unable to correctly marshall the score of Business Resource Planner's best solution. The best solution's score is incorrectly unmarshalled—The response contains an empty score or a score with the default value. The affected marshalling formats are JAXB (the functionality is entirely unavailable) and JSON (the only unmarshallable classes are BendableLongScore, BendableBigDecimalScore, and BendableScore). The XSTREAM format is not affected. There is currently no workaround.
The Realtime Decision Server is unable to correctly marshall Business Resource Planner's best solution if called immediately, before the solver has had a chance to start. When running more solvers then the thread pool size (defaults to half the number of CPU cores), it can take a while before the solver to start.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-03-27 19:37:59 UTC | 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
Karel Suta
2016-04-11 08:04:36 UTC
Yes. It's partially solved, with these PR's: https://github.com/droolsjbpm/droolsjbpm-integration/pull/419 https://github.com/droolsjbpm/droolsjbpm-integration/pull/420 but there's still a (less likely) race condition with those fixes. There is probably no full fix that doesn't change the API (which we can only do in 7.0). But I 'll get those PR's merged first (but keep ignoring the tests for now). Geoffrey, I think you are referring to fix for https://bugzilla.redhat.com/show_bug.cgi?id=1325824 This BZ is actually about problem with marshalling of initialized best solution score. See reproducer and commens in PR https://github.com/droolsjbpm/droolsjbpm-integration/pull/422 I've adjusted the Docs text, because the JSON/JAXB marshalling issues was actually fixed by Maciej, but there is still an race condition when the best solution is returned before the the solver starts. I have returned there back previous Doc text as marshalling issue is still present in 6.3. Now Doc text contains informations about both issues. +1 This is fixed for 7.0. |