You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "Abhitocode (via GitHub)" <gi...@apache.org> on 2026/09/01 18:13:33 UTC
[PR] [incubator-kie-issues#2396] Avoids unnecessary unmarshalling when loading a process instance [incubator-kie]
Abhitocode opened a new pull request, #7078:
URL: https://github.com/apache/incubator-kie/pull/7078
When a process instance is loaded with the non-read-only constructor, `findById` unmarshalls the state but the constructor does not keep it, so the next load reads and unmarshalls the same row again. This change keeps the instance that was already
unmarshalled instead of discarding it.
Read-only instances are left as they are, since they are also produced by bulk reads such as `stream`. Added two tests.
Part of Pr's for issue : https://github.com/apache/incubator-kie-issues/issues/2396
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org