microsoft / rDSN

Robust Distributed System Nucleus (rDSN) is an open framework for quickly building and managing high performance and robust distributed systems.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

linmajia opened this issue · comments

commented

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.