Skip to content

rpc_msg_payload_serialize_default_format is set to DSF_THRIFT_BINARY, which could fail apps using protobuf. #211

Description

@linmajia

In function message_ex* message_ex::create_request(), core/src/rpc_message.cpp, line 427. Therefore if an app uses protobuf (e.g. tutorial/counter.proto), the generated function inline void marshall(binary_writer& writer, const GType &value, dsn_msg_serialize_format fmt) from macro GENERATED_TYPE_SERIALIZATION could throw assertion.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions