Feature #64677
openFeature #63663: mds,client: add crash-consistent snapshot support
Enhance Message with a generic method that can be used to delay payload decoding
0%
Description
Message payload has a serialized version of the message content. Using the standard `decode_payload` suggests that the message should have a separate member for the deserialized form, which creates unnecessary duplication of the data in memory.
A technique can be used that delays decoding until the message needs to be processed, at which point the decoding is performed into an external variable that can be then utilized directly without an extra copy. Today this means duplicating some of the error handling that is performed by the generic Message code.
This task is looking to augment the Message to provide generic decoding and error handling while allowing for the delayed decoding strategy.
No data to display