Closed cferreiragonz closed 3 months ago
Since the payload_owner_
now belongs to the SerializedPayload_t
, I believe the get_payload()
method receiving a source SerializedPayload_t&
, an IPayloadPool*
and a destination SerializedPayload_t&
could be simplified removing the IPayloadPool*
parameter, as it is already contained in the source payload. I let the reviewer the decision of keeping it or not.
@cferreiragonz I have rebased this on top of #4875. When it gets merged, please re-rebase and update versions.md
on this PR.
@richiprosima Please test_3 discovery-server
Checked locally that discovery server tests pass with this and #4932. Ready to merge.
@richiprosima Please test_3 discovery-server because #4932 has just been merged
@richiprosima Please test_3 discovery-server with updated ci branch
@richiprosima Please test_3 discovery-server because I made a mistake in the jenkins job configuration
Description
This PR adds two main changes:
payload_owner_
fromCacheChange_t
toSerializedPayload_t
IPayloadPool
class and all derived classes to only manageSerializedPayload_t
, instead ofCacheChange_t
get_payload()
methods refactorSerializedPayload_t
copies are forbiddenIn this way, the
payload_owner_
is no longer related to a cache change, but to the payload it refers.Contributor Checklist
versions.md
file (if applicable).Reviewer Checklist