You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/04/06 06:06:29 UTC

[GitHub] [rocketmq-client-cpp] lirong-Lee opened a new issue #351: re-dev crashes when rocketmq adds cluster nodes,

lirong-Lee opened a new issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351


   MessageDecder.cpp:87
   MessageExtPtr MessageDecoder::decode(ByteBuffer& byteBuffer, bool readBody, bool deCompressBody, bool isClient)
   
   When rocketmq adds cluster nodes, MessageDecoder::decode resolves queueOffset exception and bodyLen exception
   When byteBuffer.position, because the bodyLen is too large, an exception is thrown and the program crashes


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] ifplusor commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
ifplusor commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-814685578


   I analyze your log, there are some things wrong.
   
   ![image](https://user-images.githubusercontent.com/9999114/113828237-c03d0a80-97b6-11eb-8cb4-d2f38a9e14e8.png)
   ![image](https://user-images.githubusercontent.com/9999114/113828329-d64acb00-97b6-11eb-86b2-d1ae94f23615.png)
   
   Could you dump the body of pull response in `TcpRemotingClient::processResponseCommand()`?
   
   ```c++
   void TcpRemotingClient::processResponseCommand(std::unique_ptr<RemotingCommand> responseCommand,
                                                  TcpTransportPtr channel) {
     int opaque = responseCommand->opaque();
     auto responseFuture = popResponseFuture(channel, opaque);
     if (responseFuture != nullptr) {
       int code = responseFuture->request_code();
       LOG_DEBUG_NEW("processResponseCommand, opaque:{}, request code:{}, server:{}", opaque, code,
                     channel->getPeerAddrAndPort());
   
       if (code == PULL_MESSAGE) {
         auto body = responseCommand->body();
         LOG_INFO_NEW("body of pull response: {}", UtilAll::bytes2string(body->array(), body->size()));
       }
   
       if (responseFuture->hasInvokeCallback()) {
         responseFuture->setResponseCommand(std::move(responseCommand));
         // bind shared_ptr can save object's life
         handle_executor_.submit(std::bind(&ResponseFuture::executeInvokeCallback, responseFuture));
       } else {
         responseFuture->putResponse(std::move(responseCommand));
       }
     } else {
       LOG_DEBUG_NEW("responseFuture was deleted by timeout of opaque:{}, server:{}", opaque,
                     channel->getPeerAddrAndPort());
     }
   }
   ```


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] lirong-Lee commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
lirong-Lee commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-813998481


   @ifplusor 
   To capture data in std::vector<MessageExtPtr> MessageDecoder::decodes(ByteBuffer& byteBuffer, bool readBody) is:
   000000DEDAA320A77F1A28DE00000001000000000000000000133D3200000002932A55C00000000000000178A68A0A3CAC128A5D0000864A00000178A68557390A82D43C00002A9F000000000000000000000000000000177B22636D644E616D65223A22486561727462656174227D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B455901303030303030303034433245373245433045454431443836423633433035423802434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000000DEDAA320A77F1A28DE00000001000000000000000000133D3300000002932A59380000000000000178A68A314EAC128A5D0000864A00000178A6857E4A0A82D43C00002A9F000000000000000000000000000000177B22636D644E616D65223A22486561727462656174227D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B455901303030303030303034433245373245433045454431443836444434453035424302434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C8DAA320A72D7D361B00000002000000000000000000113D2700000002932A5CB00000000000000178A68AA6FDAC128A5D000
 0B1C800000178A685F4030A82D43C00002AB3000000000000000000000000000001017B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A352C22736E5F636F6465223A22736E3030303131222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A312C2274696D65223A313631373730313830373632336C7573746572025741495401747275650254414753012A02000001C8DAA320A702C134DA000000000000000000000000000E27B200000002932A60400000000000000178A68AA73FAC128A5D0000B1C800000178A685F43B0A82D43C00002AB3000000000000000000000000000001017B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A392C22736E5F636F6465223A22736E3030303139222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C756537353336363044314402434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C8DAA320A77954AEF7000000000000000000000000000E27B300000002932A692A0000000000000178A68AA76AAC128A5D0000B1C80000
 0178A685F4660A82D43C00002AB3000000000000000000000000000001017B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A392C22736E5F636F6465223A22736E3030303139222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A312C2274696D65223A313631373730313830373636397D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A312C2274696D65223A313631373730313830373636397D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3531312E302C2274696D65223A313631373730313830373636397D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B455901303030303030303034433245373245433045454431443837353336413044314502434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C9DAA320A704A2857A00000001000000000000000000113BAA00000002932A6AF20000000000000178A68AA76FAC128A5D0000B1C800000178A685F46A0A82D43C00002AB3000000000000000000000000000001027B22636D644E616D65223A224
 4657669636556616C7565222C2270726F66696C655F6964223A312C226964223A31312C22736E5F636F6465223A22736E3030303930222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A302C2274696D65223A313631373730313830373636397D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A302C2274696D65223A313631373730313830373636397D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3531302E302C2274696D65223A313631373730313830373636397D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B455901303030303030303034433245373245433045454431443837353336463044314602434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C9DAA320A742DBF55600000002000000000000000000113D2A00000002932A6CBB0000000000000178A68AA773AC128A5D0000B1C800000178A685F46F0A82D43C00002AB3000000000000000000000000000001027B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A31332C22736E5F636F
 6465223A22736E3030303937222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A372C2274696D65223A313631373730313830373636397D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A332C2274696D65223A313631373730313830373636397D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3530392E302C2274696D65223A313631373730313830373636397D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B45590130303030303030303443324537324543304545443144353341383044333102434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C8DAA320A74ED6C57C000000030000000000000000000EE25900000002932A7AFE0000000000000178A68AA7ABAC128A5D0000B1C800000178A685F4A70A82D43C00002AB3000000000000000000000000000001017B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A372C22736E5F636F6465223A22736E3030303133222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797
 065223A322C227356616C7565223A332C2274696D65223A313631373730313830373731357D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A332C2274696D65223A313631373730313830373731357D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3531332E302C2274696D65223A313631373730313830373731357D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B4559013030303030303030344332453732454330454544314438373837353342353044333502434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C8DAA320A7719624C800000002000000000000000000113D2F00000002932A80580000000000000178A68AA7C1AC128A5D0000B1C800000178A685F4BD0A82D43C00002AB3000000000000000000000000000001017B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A352C22736E5F636F6465223A22736E3030303131222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A352C2274696D65223A313631373730313830373732377D2C7B22
 6368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A312C2274696D65223A313631373730313830373732377D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3531352E302C2274696D65223A313631373730313830373732377D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B4559013030303030303030344332453732454330454544314437353343463044334402434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C9DAA320A706A0392E00000002000000000000000000113D3000000002932A87790000000000000178A68AA7D7AC128A5D0000B1C800000178A685F4D30A82D43C00002AB3000000000000000000000000000001027B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A31332C22736E5F636F6465223A22736E3030303937222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A322C2274696D65223A313631373730313830373733307D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A322C2274696D65223A313
 631373730313830373733307D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3531322E302C2274696D65223A313631373730313830373733307D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B4559013030303030303030344332453732454330454544314437353345333044343402434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C9DAA320A72488E37A00000001000000000000000000113BAE00000002932A8B0A0000000000000178A68AA7E7AC128A5D0000B1C800000178A685F4E20A82D43C00002AB3000000000000000000000000000001027B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A31312C22736E5F636F6465223A22736E3030303930222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A342C2274696D65223A313631373730313830373733307D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A302C2274696D65223A313631373730313830373733307D2C7B226368616E6E656C5F6964223A332C2274797065223A312C22735661
 6C7565223A3531342E302C2274696D65223A313631373730313830373733307D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B4559013030303030303030344332453732454330454544314438353345393044343602434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C8DAA320A71BCC742700000002000000000000000000113D3100000002932A8E9B0000000000000178A68AA7ECAC128A5D0000B1C800000178A685F4E80A82D43C00002AB3000000000000000000000000000001017B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A352C22736E5F636F6465223A22736E3030303131222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A362C2274696D65223A313631373730313830373733307D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A322C2274696D65223A313631373730313830373733307D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3531362E302C2274696D65223A313631373730313830373733307D5D7D1A4561746F6E5F44657
 66963655F4F726967696E616C5F446174610052554E49515F4B4559013030303030303030344332453732454330454544314438373346463044344502434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C9DAA320A70ECA1EC800000001000000000000000000113BAF00000002932A93F40000000000000178A68AA802AC128A5D0000B1C800000178A685F4FD0A82D43C00002AB3000000000000000000000000000001027B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A31312C22736E5F636F6465223A22736E3030303930222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A352C2274696D65223A313631373730313830373737387D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A312C2274696D65223A313631373730313830373737387D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3531352E302C2274696D65223A313631373730313830373737387D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B4559013030303030303030344332453732
 45433045454431443837353431383044353602434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C8DAA320A75B658CB900000002000000000000000000113D3500000002932A9EA70000000000000178A68AA821AC128A5D0000B1C800000178A685F51D0A82D43C00002AB3000000000000000000000000000001017B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A352C22736E5F636F6465223A22736E3030303131222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A302C2274696D65223A313631373730313830373737397D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A302C2274696D65223A313631373730313830373737397D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3531382E302C2274696D65223A313631373730313830373737397D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B455901303030303030303034433245373245433045454431443837353432313044354102434C55535445520144656661756C74436C7573746572025
 741495401747275650254414753012A02000001C8DAA320A73C1EF55B000000030000000000000000000EE25D00000002932AA06F0000000000000178A68AA825AC128A5D0000B1C800000178A685F5200A82D43C00002AB3000000000000000000000000000001017B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A372C22736E5F636F6465223A22736E3030303133222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A372C2274696D65223A313631373730313830373737397D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A332C2274696D65223A313631373730313830373737397D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3531372E302C2274696D65223A313631373730313830373737397D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B455901303030303030303034433245373245433045454431443837353432353044354202434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C9DAA320A7246C7F6A0000000200000000000000000011
 3D3600000002932AA2370000000000000178A68AA82BAC128A5D0000B1C800000178A685F5270A82D43C00002AB3000000000000000000000000000001027B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A31332C22736E5F636F6465223A22736E3030303937222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A352C2274696D65223A313631373730313830373738317D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A312C2274696D65223A313631373730313830373738317D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3531352E302C2274696D65223A313631373730313830373738317D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B45590130303030303030303443324537324543304545443144383735413044363902434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C8DAA320A768350AF9000000030000000000000000000EE25F00000002932AAEB20000000000000178A68AA851AC128A5D0000B1C800000178A685F54C0A82D43C000
 02AB3000000000000000000000000000001017B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A372C22736E5F636F6465223A22736E3030303133222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A312C2274696D65223A313631373730313830373834307D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A312C2274696D65223A313631373730313830373834307D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3531392E302C2274696D65223A313631373730313830373834307D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B455901303030303030303034433245373245433045454431443837353435313044364202434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C8DAA320A70B83C3CE00000002000000000000000000113D3900000002932AB07A0000000000000178A68AA859AC128A5D0000B1C800000178A685F5540A82D43C00002AB3000000000000000000000000000001017B22636D644E616D65223A2244657669636556616C756522
 2C2270726F66696C655F6964223A312C226964223A352C22736E5F636F6465223A22736E3030303131222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A322C2274696D65223A313631373730313830373834307D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A322C2274696D65223A313631373730313830373834307D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3532302E302C2274696D65223A313631373730313830373834307D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B455901303030303030303034433245373245433045454431443837353435413044373502434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C9DAA320A73DAE568900000002000000000000000000113D3B00000002932AB9650000000000000178A68AA86FAC128A5D0000B1C800000178A685F56A0A82D43C00002AB3000000000000000000000000000001027B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A31332C22736E5F636F6465223A22736E30303039372
 22C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A302C2274696D65223A313631373730313830373834307D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A302C2274696D65223A313631373730313830373834307D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3531382E302C2274696D65223A313631373730313830373834307D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B4559013030303030303030344332453732454330454544314438373534363044383002434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C8DAA320A76FDE757D000000000000000000000000000E27BD00000002932AC0860000000000000178A68AA88AAC128A5D0000B1C800000178A685F5850A82D43C00002AB3000000000000000000000000000001017B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A392C22736E5F636F6465223A22736E3030303139222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C75
 65223A332C2274696D65223A313631373730313830373838327D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A332C2274696D65223A313631373730313830373838327D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3532312E302C2274696D65223A313631373730313830373838327D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B455901303030303030303034433245373245433045454431443837353438413044383102434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C9DAA320A7177B6E1F00000001000000000000000000113BB400000002932AC24E0000000000000178A68AA88CAC128A5D0000B1C800000178A685F5880A82D43C00002AB3000000000000000000000000000001027B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A31312C22736E5F636F6465223A22736E3030303930222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A322C2274696D65223A313631373730313830373838337D2C7B226368616E6E656C5F6964223A3
 22C2274797065223A322C227356616C7565223A322C2274696D65223A313631373730313830373838337D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3532302E302C2274696D65223A313631373730313830373838337D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B45590130303030303030303443324537324543304545443144383735343844384202434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C9DAA320A779DE7D0900000001000000000000000000113BB500000002932ACB380000000000000178A68AA8A8AC128A5D0000B1C800000178A685F5A40A82D43C00002AB3000000000000000000000000000001027B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A31312C22736E5F636F6465223A22736E3030303930222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A332C2274696D65223A313631373730313830373933337D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A332C2274696D65223A313631373730313830373933337D2C
 7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3532312E302C2274696D65223A313631373730313830373933337D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B45590130303030303030303443324537324543304545443144383735344138303044384602434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C8DAA320A747FB971200000002000000000000000000113D4100000002932AD0920000000000000178A68AA8BFAC128A5D0000B1C800000178A685F5BB0A82D43C00002AB3000000000000000000000000000001017B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A352C22736E5F636F6465223A22736E3030303131222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A362C2274696D65223A313631373730313830373933347D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A322C2274696D65223A313631373730313830373933347D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3532342E302C227
 4696D65223A313631373730313830373933347D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B4559013030303030303030344332453732454330454544314438373534424644393602434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C9DAA320A7096D2D0500000001000000000000000000113BB600000002932AD5EA0000000000000178A68AA8CAAC128A5D0000B1C800000178A685F5C60A82D43C00002AB3000000000000000000000000000001027B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A31312C22736E5F636F6465223A22736E3030303930222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A342C2274696D65223A313631373730313830373934347D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A302C2274696D65223A313631373730313830373934347D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3532322E302C2274696D65223A313631373730313830373934347D5D7D1A4561746F6E5F4465766963655F4F726967696E61
 6C5F446174610052554E49515F4B45590130303030303030303443324537324543304545443144383735344341394602434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C9DAA320A71252F12D00000001000000000000000000113BB700000002932ADD0C0000000000000178A68AA8E2AC128A5D0000B1C800000178A685F5DD0A82D43C00002AB3000000000000000000000000000001027B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A31312C22736E5F636F6465223A22736E3030303930222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A352C2274696D65223A313631373730313830373934347D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A312C2274696D65223A313631373730313830373934347D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3532332E302C2274696D65223A313631373730313830373934347D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B45590130303030303030303443324537324543304545443144383735344
 532304444413102434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C8DAA320A75FAB9D3C000000030000000000000000000EE26400000002932AE09E0000000000000178A68AA8ECAC128A5D0000B1C800000178A685F5E70A82D43C00002AB3000000000000000000000000000001017B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A372C22736E5F636F6465223A22736E3030303133222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A362C2274696D65223A313631373730313830373934347D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A322C2274696D65223A313631373730313830373934347D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3532342E302C2274696D65223A313631373730313830373934347D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B4559013030303030303030344332453732454330454544314438373534454330414202434C55535445520144656661756C74436C75737465720257414954017472756502544147
 53012A02000001C9DAA320A70A4C7F7600000002000000000000000000113D4600000002932AE9870000000000000178A68AA904AC128A5D0000B1C800000178A685F6000A82D43C00002AB3000000000000000000000000000001027B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A31332C22736E5F636F6465223A22736E3030303937222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A352C2274696D65223A313631373730313830373934397D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A312C2274696D65223A313631373730313830373934397D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3532332E302C2274696D65223A313631373730313830373934397D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B45590130303030303030303443324537324543304545443144383735353034303302434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C8DAA320A71EA924E4000000000000000000000000000E27C200000002932AEEE00000000
 000000178A68AA91BAC128A5D0000B1C800000178A685F6160A82D43C00002AB3000000000000000000000000000001017B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A392C22736E5F636F6465223A22736E3030303139222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A302C2274696D65223A313631373730313830373939347D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A302C2274696D65223A313631373730313830373939347D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3532362E302C2274696D65223A313631373730313830373939347D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B45590130303030303030303443324537324543304545443144383735353142304442343502434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C9DAA320A73E5A52BF00000002000000000000000000113D4800000002932AF2710000000000000178A68AA922AC128A5D0000B1C800000178A685F61E0A82D43C00002AB3000000000000000000
 000000000001027B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A31332C22736E5F636F6465223A22736E3030303937222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A362C2274696D65223A313631373730313830373939357D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A322C2274696D65223A313631373730313830373939357D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3532342E302C2274696D65223A313631373730313830373939357D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B4559013030303030303030344332453732454330454544314438373535323230444402434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C8DAA320A76D523D74000000030000000000000000000EE26700000002932AF7CA0000000000000178A68AA939AC128A5D0000B1C800000178A685F6350A82D43C00002AB3000000000000000000000000000001017B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F696
 4223A312C226964223A372C22736E5F636F6465223A22736E3030303133222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A312C2274696D65223A313631373730313830373939377D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A312C2274696D65223A313631373730313830373939377D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3532372E302C2274696D65223A313631373730313830373939377D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B455901303030303030303034433245373245433045454431443837353533393044424502434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C9DAA320A774B2E90800000002000000000000000000113D4A00000002932AF9920000000000000178A68AA93CAC128A5D0000B1C800000178A685F6380A82D43C00002AB3000000000000000000000000000001027B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A31332C22736E5F636F6465223A22736E3030303937222C22536967496E666F223A
 5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A372C2274696D65223A313631373730313830373939377D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A332C2274696D65223A313631373730313830373939377D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3532352E302C2274696D65223A313631373730313830373939377D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B45590130303030303030303443324537324543304545443144383735353343304442223A22736E3030303930222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A312C2274696D65223A313631373730313830373939377D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A312C2274696D65223A313631373730313830373939377D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3532372E302C2274696D65223A313631373730313830373939377D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B4559013030303030303030344
 33245373245433045454431443837353535353044433702434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C8DAA320A776B87E7A00000002000000000000000000113D4C00000002932B071E0000000000000178A68AA95DAC128A5D0000B1C800000178A685F65A0A82D43C00002AB3000000000000000000000000000001017B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A352C22736E5F636F6465
   
   
   To capture data in MessageExtPtr MessageDecoder::decode(ByteBuffer& byteBuffer, bool readBody, bool deCompressBody, bool isClient) is
   74797065223A322C227356616C7565223A322C2274696D65223A313631373730313830373939357D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3532342E302C2274696D65223A313631373730313830373939357D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B4559013030303030303030344332453732454330454544314438373535323230444402434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C8DAA320A76D523D74000000030000000000000000000EE26700000002932AF7CA0000000000000178A68AA939AC128A5D0000B1C800000178A685F6350A82D43C00002AB3000000000000000000000000000001017B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A372C22736E5F636F6465223A22736E3030303133222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A312C2274696D65223A313631373730313830373939377D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A312C2274696D65223A313631373730313830373939377D2C7B2
 26368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3532372E302C2274696D65223A313631373730313830373939377D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B455901303030303030303034433245373245433045454431443837353533393044424502434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C9DAA320A774B2E90800000002000000000000000000113D4A00000002932AF9920000000000000178A68AA93CAC128A5D0000B1C800000178A685F6380A82D43C00002AB3000000000000000000000000000001027B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A31332C22736E5F636F6465223A22736E3030303937222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A372C2274696D65223A313631373730313830373939377D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A332C2274696D65223A313631373730313830373939377D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3532352E302C227469
 6D65223A313631373730313830373939377D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B45590130303030303030303443324537324543304545443144383735353343304442223A22736E3030303930222C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A312C2274696D65223A313631373730313830373939377D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A312C2274696D65223A313631373730313830373939377D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A3532372E302C2274696D65223A313631373730313830373939377D5D7D1A4561746F6E5F4465766963655F4F726967696E616C5F446174610052554E49515F4B455901303030303030303034433245373245433045454431443837353535353044433702434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A02000001C8DAA320A776B87E7A00000002000000000000000000113D4C00000002932B071E0000000000000178A68AA95DAC128A5D0000B1C800000178A685F65A0A82D43C00002AB3000000000000000000000000000001017B22636D644E616D6
 5223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226964223A352C22736E5F636F6465
   
   
   


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] lirong-Lee commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
lirong-Lee commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-813908953


   Commits on Mar 10, 2021


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] lirong-Lee commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
lirong-Lee commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-814695022


   @ifplusor 
   Yes, after grabbing the network packet, I found that the data is indeed incomplete. I just posted a picture of the packet capture.
   The java SDK discards this incomplete data.
   How do we do this


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] lirong-Lee commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
lirong-Lee commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-814732516


   ```   
   // 1 TOTALSIZE
     int32_t storeSize = byteBuffer.getInt();
     if (storeSize > byteBuffer.remaining()) {
         byteBuffer.position(byteBuffer.limit());
         return nullptr;
     }
     // 15 BODY
     int uncompress_failed = false;
     int32_t bodyLen = byteBuffer.getInt();
     if (bodyLen > (byteBuffer.remaining() - 72)) {
         byteBuffer.position(byteBuffer.limit());
         return nullptr;
     }
   ```


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] ifplusor commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
ifplusor commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-813948245


   @lirong-Lee Could you dump the data in ByteBuffer?


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] ifplusor commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
ifplusor commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-813928671


   @lirong-Lee the new node on ipv6?


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] ifplusor commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
ifplusor commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-813959010


   @lirong-Lee Add log in below method.
   
   ```c++
   std::vector<MessageExtPtr> MessageDecoder::decodes(ByteBuffer& byteBuffer, bool readBody) {
     LOG_INFO_NEW("byte buffer: {}",
                  UtilAll::bytes2string(byteBuffer.array() + byteBuffer.arrayOffset() + byteBuffer.position(),
                                        byteBuffer.remaining()));
     std::vector<MessageExtPtr> msgExts;
     while (byteBuffer.hasRemaining()) {
       auto msgExt = clientDecode(byteBuffer, readBody);
       if (nullptr == msgExt) {
         break;
       }
       msgExts.emplace_back(std::move(msgExt));
     }
     return msgExts;
   }
   ```


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] ifplusor commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
ifplusor commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-814010533


   and the body of some messages is incomplete.
   ![image](https://user-images.githubusercontent.com/9999114/113697339-a394ca00-9705-11eb-8f77-f4803bb595bd.png)
   


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] ifplusor commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
ifplusor commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-814597012


   @lirong-Lee I have fixed some bugs about ipv6.


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] ifplusor commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
ifplusor commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-814720725


   If the body of the pull response out of order, CPP SDK can't parse it, and there is no way to sort it.


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] ifplusor commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
ifplusor commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-814016102


   @francisoliverlee Could you give some suggestions?


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] ifplusor commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
ifplusor commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-813992345


   You can use this snap to test the data.
   ```
   int main() {
     std::string data = "";
   
     auto byte_buffer = ByteBuffer::allocate(data.length() / 2);
     UtilAll::string2bytes(byte_buffer->array(), data);
   
     auto messages = MessageDecoder::decodes(*byte_buffer);
     for (auto& msg : messages) {
       std::cout << msg->msg_id() << std::endl;
     }
   
     return 0;
   }
   ```


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] lirong-Lee commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
lirong-Lee commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-813969324


   @ifplusor 
   Use this data, this is printed by printf, and the write file that just wrote the log is not written
   
   312D30342D30362031303A31313A34342E323034227D5D7D1525524554525925526F636B65744D71546F4D71747400D95245414C5F544F5049430125524554525925526F636B65744D71546F4D717474024F524947494E5F4D4553534147455F49440130413832443433433030303032413946303030303030303235394238463930300252455452595F544F504943014561746F6E5F4465766963655F4576656E7402554E49515F4B455901414331323843353734313030303030303533423331424643433531383030303702434C55535445520144656661756C74436C757374657202574149540166616C73650244454C415901330254414753012A025245414C5F514944013002000002F0DAA320A767D67131000000000000000000000000000003FC000000029189EECA0000000000000178A5001923AC128C570000DA9700000178A5A480C60A82D43C00002A9F000000010000000000000000000001A77B226465766963655F6964223A372C2270726F66696C655F6964223A3178A5001943AC128C570000DA9800000178A5A480C80A82D43C00002A9F000000010000000000000000000000F97B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226465766963655F6964223A31312C22536967496E666F223A5B7B2263686
 16E6E656C5F6964223A312C2274797065223A322C227356616C7565223A2234222C2274696D65223A313631373637353130343230347D2C7B226368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A2230222C2274696D65223A313631373637353130343230347D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A22343737222C2274696D65223A313631373637353130343230347D5D7D1525524554525925526F636B65744D71546F4D71747400D85245414C5F544F5049430125524554525925526F636B65744D71546F4D717474024F524947494E5F4D4553534147455F494401304138324434334330303030326368616E6E656C5F6964223A322C2274797065223A322C227356616C7565223A2231222C2274696D65223A313631373637353130343232357D2C7B226368616E6E656C5F6964223A332C2274797065223A312C227356616C7565223A22343738222C2274696D65223A313631373637353130343232357D5D7D1525524554525925526F636B65744D71546F4D71747400D85245414C5F544F5049430125524554525925526F636B65744D71546F4D717474024F524947494E5F4D4553534147455F494401304138324434334330303030324139463030303030303032353942393535424202524554
 52595F544F504943014561746F6E5F4465766963655F4461746102554E49515F4B455901414331323843353734313030303030303533423331424643433535373030313702434C55535445520144656661756C74436C757374657202574149540166616C73650244454C415901330254414753012A025245414C5F514944013002000003DDDAA320A7238166F0000000000000000000797065223A302C226964223A322C2276616C7565223A312C22756E6974223A22222C2274696D65223A22323032312D30342D30362031303A31313A34342E323034227D2C7B2274797065223A302C226964223A332C2276616C7565223A3437382E302C22756E6974223A2273222C2274696D65223A22323032312D30342D30362031303A31313A34342E323034227D5D7D1525524554525925526F636B65744D71546F4D71747400D95245414C5F544F5049430125524554525925526F636B65744D71546F4D717474024F524947494E5F4D4553534147455F49440130413832443433433030303032413946303030303030303235394239383243440252455452595F544F504943014561746F6E5F4465766963655F4576656E7402554E49515F4B455901414331323843353734313030303030303533423331424643433537333030314502434C55535445520144656661756C74436C75737465720
 2574149540166616C73650244454C415901330254414753012A025245414C5F514976656C223A312C2273746172745F74696D65223A22313937302D30312D32302030313A32313A31332E393835222C22656E645F74696D65223A22323032312D30342D30362031303A31313A35302E393636222C226576656E745F7374617465223A302C2274726967676C655F6461746173223A5B7B226964223A312C2276616C7565223A2230227D5D7D5D2C2274726967676C655F6461746173223A5B7B2274797065223A302C226964223A322C2276616C7565223A302C22756E6974223A22222C2274696D65223A22323032312D30342D30362031303A31313A35302E393636227D2C7B2274797065223A302C226964223A332C2276616C7565223A3136382E302C22756E6974223A2273222C2274696D65223A22323032312D30342D30362031303A31313A35302E393636227D5D7D1525524554525925526F636B65744D71546F4D71747400D95245414C5F544F5049430125524554525925526F636B65744D71546F4D717474024F524947494E5F4D4553534147455F4944013041430125524554525925526F636B65744D71546F4D717474024F524947494E5F4D4553534147455F49440130413832443433433030303032413946303030303030303236393138453338440252455452595F544F
 504943014561746F6E5F4465766963655F4461746102554E49515F4B455901303030303030303034393630303030303633373131433046394141463030303302434C55535445520144656661756C74436C757374657202574149540166616C73650244454C415901330254414753012A025245414C5F51494401300200000240DAA320A723B7D59C0000000000000000000000000000042600000002918A62500000000000000178A512EEB2AC128C570000E2C800000178A5A480D00A82D43C00002A9F000000010000000000000000000000F87B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226465766963655F6964223A372C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C227479706522


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] ifplusor edited a comment on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
ifplusor edited a comment on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-814685578


   I analyze your log, there are some things wrong.
   
   ![image](https://user-images.githubusercontent.com/9999114/113828237-c03d0a80-97b6-11eb-8cb4-d2f38a9e14e8.png)
   ![image](https://user-images.githubusercontent.com/9999114/113828329-d64acb00-97b6-11eb-86b2-d1ae94f23615.png)
   
   Could you dump the body of pull response in `TcpRemotingClient::processResponseCommand()`?
   
   ```c++
   void TcpRemotingClient::processResponseCommand(std::unique_ptr<RemotingCommand> responseCommand,
                                                  TcpTransportPtr channel) {
     int opaque = responseCommand->opaque();
     auto responseFuture = popResponseFuture(channel, opaque);
     if (responseFuture != nullptr) {
       int code = responseFuture->request_code();
       LOG_DEBUG_NEW("processResponseCommand, opaque:{}, request code:{}, server:{}", opaque, code,
                     channel->getPeerAddrAndPort());
   
       if (code == PULL_MESSAGE) {
         auto body = responseCommand->body();
         LOG_ERROR_NEW("body of pull response: {}", UtilAll::bytes2string(body->array(), body->size()));
       }
   
       if (responseFuture->hasInvokeCallback()) {
         responseFuture->setResponseCommand(std::move(responseCommand));
         // bind shared_ptr can save object's life
         handle_executor_.submit(std::bind(&ResponseFuture::executeInvokeCallback, responseFuture));
       } else {
         responseFuture->putResponse(std::move(responseCommand));
       }
     } else {
       LOG_DEBUG_NEW("responseFuture was deleted by timeout of opaque:{}, server:{}", opaque,
                     channel->getPeerAddrAndPort());
     }
   }
   ```


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] lirong-Lee commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
lirong-Lee commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-814768300


   @ifplusor It‘s work


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] ifplusor commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
ifplusor commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-814015166


   I think deleting all data in the storage directory is the easiest way.


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] ifplusor commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
ifplusor commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-814737157


   > @ifplusor
   > I looked at the java sdk, they are trying the whole process, when the data is wrong, they directly catch it and then
   > 
   > ```
   >     catch (Exception e) {
   >           byteBuffer.position(byteBuffer.limit());
   >     }
   > ```
   
   I have pushed a patch for this case.


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] lirong-Lee commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
lirong-Lee commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-813990603


   @ifplusor 
   The first one should be that the crashed data is not written in the log, it should be a packet of normal incomplete data.
   I found that the data printed out every time the crash does not start with “00000”. All invalid data, causing a crash


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] ifplusor commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
ifplusor commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-814008593


   @lirong-Lee I think your data in the broker is broken because it returns messages from different consume queues.


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] lirong-Lee commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
lirong-Lee commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-814012032


   @ifplusor 
   How to discard these data so that the program does not crash?
   Because when using the Java SDK, it is found that Java will not consume the data in time, it should be a data error.
   I just added a new borker to the cluster
   By the way, how to add broke correctly.


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] ifplusor commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
ifplusor commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-814142805


   I think the bad body of pull response is unacceptable. The only way is to catch exceptions, then retry later.


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] lirong-Lee commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
lirong-Lee commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-813948907


   @ifplusor What should I do


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] lirong-Lee commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
lirong-Lee commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-813945933


   @ifplusor I just arrived at the latest version of re-dev, and it still crashes in MessageDecoder::decode. I don't know why the data format in the ByteBuffer is wrong, and the parsed data is unreasonable.
   Use the java sdk to read, I find that it does not crash and  does not read, and the rocketmqt shows accumulated data.


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] lirong-Lee commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
lirong-Lee commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-814054531


   @ifplusor 
   Is it reasonable to add this paragraph here:
   MessageExtPtr MessageDecoder::decode(ByteBuffer& byteBuffer, bool readBody, bool deCompressBody, bool isClient) {
   
       const char* bytes = byteBuffer.array() + byteBuffer.arrayOffset() + byteBuffer.position();
       if (nullptr == bytes || (byteBuffer.remaining() <2) || !(bytes[0] == 0 && bytes[1] == 0)) {
            return nullptr;
       }
   
     ....
   }


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] lirong-Lee commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
lirong-Lee commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-814621420


   @ifplusor 
   This is the data I grabbed,
   1buf is the data printed in std::vector<MessageExtPtr> MessageDecoder::decodes(ByteBuffer& byteBuffer, bool readBody).
   2buf is the data printed in MessageExtPtr MessageDecoder::decode(ByteBuffer& byteBuffer, bool readBody, bool deCompressBody, bool isClient).
   Before the comma is the thread id
   Currently data can be consumed normally using java sdk
   [rocket.log](https://github.com/apache/rocketmq-client-cpp/files/6269262/rocket.log)
   


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] lirong-Lee commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
lirong-Lee commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-814571048


   @ifplusor 
   I experimented today. After clearing the borker data, I opened the two masters directly, and the re-dev library still crashed, but the java sdk can be consumed normally. Whether it is a problem of pulling data that causes the data format to be wrong.


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] lirong-Lee commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
lirong-Lee commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-814725797


   @ifplusor 
   I looked at the java sdk, they are trying the whole process, when the data is wrong, they directly catch it and then
   ```
       catch (Exception e) {
             byteBuffer.position(byteBuffer.limit());
       }
   ```
   Can we do this:
   ```
     // 1 TOTALSIZE
     int32_t storeSize = byteBuffer.getInt();
     if (storeSize > byteBuffer.limit()) {
         byteBuffer.position(byteBuffer.limit());
         return nullptr;
     }
     // 15 BODY
     int uncompress_failed = false;
     int32_t bodyLen = byteBuffer.getInt();
     if (bodyLen > (byteBuffer.limit() - 72)) {
         byteBuffer.position(byteBuffer.limit());
         return nullptr;
     }
   ```
   Do protection


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] ifplusor commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
ifplusor commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-813988918


   @lirong-Lee The first one is incomplete, and the second one is invalid.


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] lirong-Lee commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
lirong-Lee commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-814683725


   @ifplusor 
   I use the package captured by wireshark. The data obtained by java sdk and cpp is the same. From the package point of view, the data is problematic.
   But java can be parsed normally. Can we learn from the package that can parse the error and ensure that it does not crash
   
   ![image](https://user-images.githubusercontent.com/31945825/113828854-6d178780-97b7-11eb-94a8-b38a5924e7ae.png)
   


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] lirong-Lee commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
lirong-Lee commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-813963485


   @ifplusor 
   byte buffer: 000003F3DAA320A715F004EF000000030000000000000000000964A200000002913DC1B80000000100000178A5988035AC128A5D0000C43200000178A593CEC40A82D43C00002A9F00000000000000000000000000000335785EA599516FD3301485FF4AE4E76A8AEDD871FA0C0F7B18A06DE20521145287456A9329B42034EDBF930EAD54E8B83AE63E4EDD77ECD827E7DED84FAADB6DDEB5BBA8D6EA4DFC3174F163BB3D44B5528FF3D40FDBF865D8A8B55EA9CDCB8F2F7F552B75377CBB1EFB49AD3F3DA9EEA11DC7B87DFDC7FDAFC745CCACD4F73F4A6B552E6AFBE13884F6BAF6C13536185D3FAFFE61CB57589FC18EA6216E685CCB7083F0F2AAA405AC54A0920A3828C0D21EAF1FCDD7423EC8F6AF41B8F6240ECDE3D9C1B1F3695AF4D2E99471591EFA76D9375EA112CD1FBAD6589AC7BED5340F7D5BD1F8C9B6E5197E7B5F68475B5F9FBCFB3F0B684430742EBD7806BE378EF78E81EE352643C18A9E5FE45DE344B417D1D0B7CEF10B0703D7391687816BE8C0166D9BC5BD023F38F46DC52F9E85BEADD8C5B33074791CB60A74A76545B6B53070F9C14FBE3D0FCCE57DA7D75EF4CAC26A931158A92E891648B549B440A24FE205F08BCB0B480ACEDF7A730EB3F506979B9CA9E372932120ED96440547546F8CD4BA898AC3F3D0B90D9B1CB8E0D038DC38B6C3
 C7F546D38F8EEB4D43E63D2E36FCC2E36A93B1F3B8DEE408C0D8E5F70E5A97C7452DBE9506AE95195754EB2B685C7E6CE85B76E52A69DA56D0B8FCECE1D2F138342DFDF0B0BBD7240C1DCB8E0C3F49DFBFBD2986B19FE65DBB1FA691946A90D48776DE17E361F735CE9C4CA2E922E112CE619E36876E99C6F1E893D3D148E73E760FE3D0B5DBE236F6718E63178BA92FFA61DEFD6C6756DA20E9BB380F8B6ED6425924747C61F455599664BD70921EC3895CEF6052079686B6F7257B92E27054B3CB266D8C451F463E71FCCD8F0EB33A4700C635DFE47898D6193C8CEB0C5E14331EE6B521E18471491ADA962C151EBA961C59FA315A4B0EBE6B68581686660D248CEF6A4818DFD390B0E48EA6861625D3AD4E652BBDD7D0A53902A913435640DA88077CF840C2D0ADECC94548B4C2242D4CD620B16C8096CD181C9645164E241449A72C4BE2D0B0340E69B61C35C2138706DA959F3BF42B8F0B0DDB40C3F2C343CBF238746CC6EC45A66D7037C08F8E6FC2693E2CEDF6C93C173E20EA26385DD51AF1CC11F1259EB91CBAC4331F409778E69CF512CFDCEC9DF8CFCFBF01A9BD11FD114561746F6E5F4465766963655F446174610052554E49515F4B455901303030303030303034354139333042454246383931433935324333354331374102434C55535445520144656661756C74436C757
 3746572025741495401747275650254414753012A02000003F1DAA320A71EE617CB000000030000000000000000000964A300000002913DDD0A0000000100000178A598804CAC128A5D0000C43200000178A593CEDB0A82D43C00002A9F00000000000000000000000000000333785EA599CB6EDB3014447F45E0DA08F81029C9EB76D1451F48826E8AA25065AA11604B816AB72882FC7BE506768D62680C7B9746728614399A7B453EA96EB779D7EEA25AAB57F1C7D0C58FEDF610D54A3DCE533F6CE39761A3D666A5367FFEF8F26BF979377C7B33F6935A7F7A52DD433B8E717BFACFFDAFC745CDAED4F717A9B5D28BDC7E388E6182A942ED1B57DBD23EAFFE61F5093617B0A769885B1A3732DC225CDF685AC049054AA98087022C1DF0FAD17C25E46BD9FE35083781C4A179023B38763E4D8B5E3A93322ECB43DF2EFBC62B94A2F943D75A47F3D8B786E6A16F4B1A3FDB565FE0B7F785F1B4F5CDD9BBFFB380560443E7D28B67E17BE379EF58E85E6B33149CE8F945DEB55E4407110D7DEB3DBF703070BD677118B8960E6CD1B639DC2BF08343DF96FCE239E8DB925D3C074397C761AB40775A4E645B0703971FFCECDBCBC05CDE777AED45AF2CAC36198195EA926881549B440B24FA245E00BFB8BC80A4E0FCAD3797305B6F70B9C9993A2E371902D26E49547044F5C64AAD9BA8383C
 0F9DDBB0C9810B0E8DC38D633B7C5C6F0CFDE8B8DE3464DEE362C32F3CAE36193B8FEB4D8E008C5D7EEFA075795CD4E23B69E03A997145B5BE84C6E5C786BE6557AE94A66D098DCBCF1E2E1D8F43D3D20F0FBB7B43C2D0B1ECC8F093F4FDEBB7C530F6D3BC6BF7C33492520D92FAD0CEFB623CECBEC6999349345D24ACE11CE66973E896691CCF3E391D8374EE63F7300E5DBB2D6E631FE73876B198FAA21FE6DDCF7666A52D92BE8BF3B0E8662D944342C717C6DC68ADC97AE1253D8617B9DEC3A4AE591ADA3E68F624C5E3A866974DDA188B3E8C42E2F89B1F1D66758E008C6BBEC90930AD337818D719BC286602CC6B4BC209E39234B42D592A02742D39B2F463B4921C7C57D0B02C0CCD5A9330BEAB21617C4F43C2923B9A0A5A944CB72A95ADF45E4397E608A44E0C590169235EE3C30712866E654F2EEA442B4CD2C264AD2596ADA165330687659185130945D229CB9238342C8D439A2D478DF0C4A18176E5E70EFDCAE342C336D0B0FCF0D0B23C0E1D9B317B91691BDC0DF0A3E39B709AAF9776FB6C9E6B1F10DA7A634C8378EA88F80A4F5D0E5DE1A90FA02B3C75CE7A85A76EF64EFCE7E7DF35E410BF114561746F6E5F4465766963655F446174610052554E49515F4B455901303030303030303034354139333042454246383931433935324334434331374502434C555354455
 20144656661756C74436C7573746572025741495401747275650254414753012A02000003F0DAA320A703D7F387000000030000000000000000000964A400000002913F75AB0000000100000178A5A80994AC128C570000E13500000178A5A35EA70A82D43C00002A9F00000000000000000000000000000332785EA5994B6FD4301485FF4AE47554F9113BC9AC61C18287DA8A0D4228641C1A6926A9C20C0855FDEF645A7518A16374CC5D56D3EFD8B14FCEBDB11F54BFDFBEEBF6516DD4ABF863ECE3C76E778CAA54F7CB3C8CBBF865DCAA8D29D5F6E9C7A7BFAA52DD8CDFDE4CC3AC369F1E547FD74D53DCBDFCE3E1D7FD2A664BF5FD5969A3F4AA76184F439860EAD08456FBB6AE1FCBBF58FD029B0BD8D334C42D8D1B196E11AEAF342DE0A4029554C04301960E78FD68BE16F28D6CFF5A849B40E2D03C811D1C3B9FA6452F9D491997E5A16FD77DE3152AD1FCA16BADA379EC5B43F3D0B7158D9F6DAB2FF0EBDBC278DAFAE6ECDDFF59402B82A173E9C5B3F0BDF1BC772C74AFB5190A4EF4FC22EF5A2FA2838886BEF59E5F3818B8DEB3380C5C4B07B668DB1CEE15F8C1A16F2B7EF11CF46DC52E9E83A1CBE3B055A03B2D27B2AD8381CB0F7EF6ED6560AEEF3BBDF6A25716569B8CC04A7549B440AA4DA205127D122F805F5C5E405270FED49B4B98AD37B8DCE44C1D979B0C0169B7
 242A38A27A63A5D64D541C9E87CE6DD9E4C00587C6E1C6B11D3EAE37867E745C6F5A32EF71B1E1171E579B8C9DC7F5264700C62EBF77D0BA3C2E6AF19D34709DCCB8A25A5F41E3F26343DFB22B5749D3B682C6E5670F978EC7A169E98787DDBD2161E8587664F849FAFEF5DB629C8679D97787719E48A916497DE89643311DF75FE3C2C9249A2E12D6700ECBBC3DF6EB344E479F9C8E413AB7B1BF9BC6BEDB15D771884B9CFA58CC43318CCBFE67B7B0D21649DFC4655C75B316CA21A1D30B63AEB4D664BDF0921EC38B5CEF6152372C0D6D1F347B92E27154B3CB266D8C451F462171FCCD8F0EB33A4700C635DFE40498D6193C8CEB0C5E143301E6B525E18471491ADA962C1501BA961C59FA315A4B0EBE6B68581686666D4818DFD59030BEA72161C91D4D0D2D4AA65B9DCA567AAFA14B7304522786AC80B4116FF0E1030943B7B227174DA215266961B23612CB36D0B21983C3B2C8C2898422E99465491C1A96C621CD96A35678E2D042BBF273877EE571A1615B68587E7868591E878ECD98BDC8B42DEE06F8D1F14D38CD376BBB7D36CFBF3F207CA86C8378F28838C9939743499EFC004AF2E4396B92276FF69EF9CF8FBF0182F31669114561746F6E5F4465766963655F446174610052554E49515F4B455901303030303030303034433243303030303546373831434134423539333
 030303302434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A020000017DDAA320A7521FDCAC000000030000000000000000000964A500000002913F94BA0000000000000178A5A82789AC128C570000E13500000178A5A37C9B0A82D43C00002A9F000000000000000000000000000000BF7B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226465766963655F6964223A372C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A2231222C2274696D65223A313631373638363936353738347D2C7B226368616E6E656C5F6964223A31362C2274797065223A312C227356616C7565223A223230302E31222C2274696D65223A313631373638363936353738347D5D7D114561746F6E5F4465766963655F446174610052554E49515F4B455901303030303030303034433243303030303546373831434134443338393030303902434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A020000017DDAA320A72B347DE2000000030000000000000000000964A600000002913FB06E0000000000000178A5A827B9AC128C570000E13500000178A5A37CCB0A82D43C00002A9F00
 0000000000000000000000000000BF7B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226465766963655F6964223A362C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A2232222C2274696D65223A313631373638363936353832377D2C7B226368616E6E656C5F6964223A31362C2274797065223A312C227356616C7565223A223230302E32222C2274696D65223A313631373638363936353832377D5D7D114561746F6E5F4465766963655F446174610052554E49515F4B455901303030303030303034433243303030303546373831434134443342393030313202434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A020000017DDAA320A7099082FA000000030000000000000000000964A700000002913FBB130000000000000178A5A827C6AC128C570000E13500000178A5A37CD90A82D43C00002A9F000000000000000000000000000000BF7B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226465766963655F6964223A372C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A2233222
 C2274696D65223A313631373638363936353832377D2C7B226368616E6E656C5F6964223A31362C2274797065223A312C227356616C7565223A223230302E33222C2274696D65223A313631373638363936353832377D5D7D114561746F6E5F4465766963655F446174610052554E49515F4B455901303030303030303034433243303030303546373831434134443343363030313602434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A020000017EDAA320A7725AE690000000030000000000000000000964A800000002913FDB8E0000000000000178A5A827E8AC128C570000E13500000178A5A37CFC0A82D43C00002A9F000000000000000000000000000000C07B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226465766963655F6964223A31312C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A2233222C2274696D65223A313631373638363936353832377D2C7B226368616E6E656C5F6964223A31362C2274797065223A312C227356616C7565223A223230302E33222C2274696D65223A313631373638363936353832377D5D7D114561746F6E5F4465766963655F446174610052554E49515F4B4559
 01303030303030303034433243303030303546373831434134443345383030314502434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A020000017DDAA320A71F37A882000000030000000000000000000964A900000002913FF1170000000000000178A5A827FDAC128C570000E13500000178A5A37D0F0A82D43C00002A9F000000000000000000000000000000BF7B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226465766963655F6964223A342C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A2235222C2274696D65223A313631373638363936353836387D2C7B226368616E6E656C5F6964223A31362C2274797065223A312C227356616C7565223A223230302E35222C2274696D65223A313631373638363936353836387D5D7D114561746F6E5F4465766963655F446174610052554E49515F4B455901303030303030303034433243303030303546373831434134443346443030323502434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A020000017DDAA320A72BE77442000000030000000000000000000964AA0000000291400694000000000000017
 8A5A8280FAC128C570000E13500000178A5A37D220A82D43C00002A9F000000000000000000000000000000BF7B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226465766963655F6964223A352C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A2237222C2274696D65223A313631373638363936353930397D2C7B226368616E6E656C5F6964223A31362C2274797065223A312C227356616C7565223A223230302E37222C2274696D65223A313631373638363936353930397D5D7D114561746F6E5F4465766963655F446174610052554E49515F4B455901303030303030303034433243303030303546373831434134443430463030324302434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A020000017DDAA320A70C70B0EF000000030000000000000000000964AB0000000291401DA10000000000000178A5A82829AC128C570000E13500000178A5A37D3B0A82D43C00002A9F000000000000000000000000000000BF7B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226465766963655F6964223A362C22536967496E666F223A5B7B226368616E6E65
 6C5F6964223A312C2274797065223A322C227356616C7565223A2233222C2274696D65223A313631373638363936353832377D2C7B226368616E6E656C5F6964223A31362C2274797065223A312C227356616C7565223A223230302E33222C2274696D65223A313631373638363936353832377D5D7D114561746F6E5F4465766963655F446174610052554E49515F4B455901303030303030303034433243303030303546373831434134443432393030333302434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A020000017DDAA320A714F7CCA8000000030000000000000000000964AC00000002914036FF0000000000000178A5A82841AC128C570000E13500000178A5A37D530A82D43C00002A9F000000000000000000000000000000BF7B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226465766963655F6964223A362C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A2235222C2274696D65223A313631373638363936353836387D2C7B226368616E6E656C5F6964223A31362C2274797065223A312C227356616C7565223A223230302E35222C2274696D65223A313631373638363936353836387D5D7
 D114561746F6E5F4465766963655F446174610052554E49515F4B455901303030303030303034433243303030303546373831434134443434313030334202434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A020000017EDAA320A764C1B193000000030000000000000000000964AD0000000291404F7A0000000000000178A5A8285AAC128C570000E13500000178A5A37D6D0A82D43C00002A9F000000000000000000000000000000C07B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226465766963655F6964223A31312C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A2237222C2274696D65223A313631373638363936353931317D2C7B226368616E6E656C5F6964223A31362C2274797065223A312C227356616C7565223A223230302E37222C2274696D65223A313631373638363936353931317D5D7D114561746F6E5F4465766963655F446174610052554E49515F4B455901303030303030303034433243303030303546373831434134443435413030343202434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A020000017DDAA320A776F0B8D00000
 00030000000000000000000964AE0000000291405BB10000000000000178A5A8286BAC128C570000E13500000178A5A37D7D0A82D43C00002A9F000000000000000000000000000000BF7B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226465766963655F6964223A372C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A2230222C2274696D65223A313631373638363936353933317D2C7B226368616E6E656C5F6964223A31362C2274797065223A312C227356616C7565223A223230302E38222C2274696D65223A313631373638363936353933317D5D7D114561746F6E5F4465766963655F446174610052554E49515F4B455901303030303030303034433243303030303546373831434134443436423030343602434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A020000017EDAA320A71FD05E07000000030000000000000000000964AF0000000291406C370000000000000178A5A8287BAC128C570000E13500000178A5A37D8E0A82D43C00002A9F000000000000000000000000000000C07B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C2264657
 66963655F6964223A31312C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A2231222C2274696D65223A313631373638363936353935327D2C7B226368616E6E656C5F6964223A31362C2274797065223A312C227356616C7565223A223230302E39222C2274696D65223A313631373638363936353935327D5D7D114561746F6E5F4465766963655F446174610052554E49515F4B455901303030303030303034433243303030303546373831434134443437423030344302434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A020000017EDAA320A72499F666000000030000000000000000000964B000000002914078370000000000000178A5A8288DAC128C570000E13500000178A5A37DA00A82D43C00002A9F000000000000000000000000000000C07B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226465766963655F6964223A31312C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A2232222C2274696D65223A313631373638363936353937357D2C7B226368616E6E656C5F6964223A31362C2274797065223A312C227356616C756522
 3A223230312E30222C2274696D65223A313631373638363936353937357D5D7D114561746F6E5F4465766963655F446174610052554E49515F4B455901303030303030303034433243303030303546373831434134443438443030353202434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A020000017DDAA320A74A485C3B000000030000000000000000000964B1000000029140965D0000000000000178A5A828ACAC128C570000E13500000178A5A37DBE0A82D43C00002A9F000000000000000000000000000000BF7B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226465766963655F6964223A372C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A2234222C2274696D65223A313631373638363936363031347D2C7B226368616E6E656C5F6964223A31362C2274797065223A312C227356616C7565223A223230312E32222C2274696D65223A313631373638363936363031347D5D7D114561746F6E5F4465766963655F446174610052554E49515F4B455901303030303030303034433243303030303546373831434134443441433030354102434C55535445520144656661756C74436C7573746572025
 741495401747275650254414753012A020000017DDAA320A75383AFBD000000030000000000000000000964B2000000029140B5630000000000000178A5A828D4AC128C570000E13500000178A5A37DE60A82D43C00002A9F000000000000000000000000000000BF7B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226465766963655F6964223A372C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A2236222C2274696D65223A313631373638363936363035387D2C7B226368616E6E656C5F6964223A31362C2274797065223A312C227356616C7565223A223230312E34222C2274696D65223A313631373638363936363035387D5D7D114561746F6E5F4465766963655F446174610052554E49515F4B455901303030303030303034433243303030303546373831434134443444343030363202434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A020000017DDAA320A77736543A000000030000000000000000000964B3000000029140CF850000000000000178A5A828FCAC128C570000E13500000178A5A37E0E0A82D43C00002A9F000000000000000000000000000000BF7B22636D644E616D65223A2244
 657669636556616C7565222C2270726F66696C655F6964223A312C226465766963655F6964223A372C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A2230222C2274696D65223A313631373638363936363039387D2C7B226368616E6E656C5F6964223A31362C2274797065223A312C227356616C7565223A223230312E36222C2274696D65223A313631373638363936363039387D5D7D114561746F6E5F4465766963655F446174610052554E49515F4B455901303030303030303034433243303030303546373831434134443446433030363802434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A020000017DDAA320A735F07EE9000000030000000000000000000964B4000000029140EAFD0000000000000178A5A82924AC128C570000E13500000178A5A37E370A82D43C00002A9F000000000000000000000000000000BF7B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226465766963655F6964223A372C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A2232222C2274696D65223A313631373638363936363134307D2C7B226368616
 E6E656C5F6964223A31362C2274797065223A312C227356616C7565223A223230312E38222C2274696D65223A313631373638363936363134307D5D7D114561746F6E5F4465766963655F446174610052554E49515F4B455901303030303030303034433243303030303546373831434134443532343030364502434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A020000017DDAA320A7088AD2A8000000030000000000000000000964B500000002914102160000000000000178A5A82949AC128C570000E13500000178A5A37E5B0A82D43C00002A9F000000000000000000000000000000BF7B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226465766963655F6964223A372C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A2234222C2274696D65223A313631373638363936363138327D2C7B226368616E6E656C5F6964223A31362C2274797065223A312C227356616C7565223A223230322E30222C2274696D65223A313631373638363936363138327D5D7D114561746F6E5F4465766963655F446174610052554E49515F4B45590130303030303030303443324330303030354637383143413444353439
 3030373402434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A020000017DDAA320A746CBE590000000030000000000000000000964B600000002914125B60000000000000178A5A82976AC128C570000E13500000178A5A37E880A82D43C00002A9F000000000000000000000000000000BF7B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226465766963655F6964223A372C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A2236222C2274696D65223A313631373638363936363232337D2C7B226368616E6E656C5F6964223A31362C2274797065223A312C227356616C7565223A223230322E32222C2274696D65223A313631373638363936363232337D5D7D114561746F6E5F4465766963655F446174610052554E49515F4B455901303030303030303034433243303030303546373831434134443537363030374302434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A020000017DDAA320A705664D9D000000030000000000000000000964B70000000291413B250000000000000178A5A82998AC128C570000E13500000178A5A37EAA0A82D43C00002A9F0
 00000000000000000000000000000BF7B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226465766963655F6964223A372C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A2230222C2274696D65223A313631373638363936363236347D2C7B226368616E6E656C5F6964223A31362C2274797065223A312C227356616C7565223A223230322E34222C2274696D65223A313631373638363936363236347D5D7D114561746F6E5F4465766963655F446174610052554E49515F4B455901303030303030303034433243303030303546373831434134443539383030383202434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A020000017DDAA320A76F24957A000000030000000000000000000964B800000002914153660000000000000178A5A829BCAC128C570000E13500000178A5A37ECD0A82D43C00002A9F000000000000000000000000000000BF7B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226465766963655F6964223A372C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A223222
 2C2274696D65223A313631373638363936363330377D2C7B226368616E6E656C5F6964223A31362C2274797065223A312C227356616C7565223A223230322E36222C2274696D65223A313631373638363936363330377D5D7D114561746F6E5F4465766963655F446174610052554E49515F4B455901303030303030303034433243303030303546373831434134443542433030383802434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A020000017DDAA320A7228AC481000000030000000000000000000964B90000000291416C0C0000000000000178A5A829DFAC128C570000E13500000178A5A37EF10A82D43C00002A9F000000000000000000000000000000BF7B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226465766963655F6964223A372C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A2234222C2274696D65223A313631373638363936363334387D2C7B226368616E6E656C5F6964223A31362C2274797065223A312C227356616C7565223A223230322E38222C2274696D65223A313631373638363936363334387D5D7D114561746F6E5F4465766963655F446174610052554E49515F4B45590
 1303030303030303034433243303030303546373831434134443544463030384502434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A020000017DDAA320A722FBD8AA000000030000000000000000000964BA0000000291418CA40000000000000178A5A82A0EAC128C570000E13500000178A5A37F200A82D43C00002A9F000000000000000000000000000000BF7B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226465766963655F6964223A372C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A2236222C2274696D65223A313631373638363936363339317D2C7B226368616E6E656C5F6964223A31362C2274797065223A312C227356616C7565223A223230332E30222C2274696D65223A313631373638363936363339317D5D7D114561746F6E5F4465766963655F446174610052554E49515F4B455901303030303030303034433243303030303546373831434134443630453030393602434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A020000017DDAA320A7733C1269000000030000000000000000000964BB000000029141A38B0000000000000178
 A5A82A30AC128C570000E13500000178A5A37F420A82D43C00002A9F000000000000000000000000000000BF7B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226465766963655F6964223A372C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A2230222C2274696D65223A313631373638363936363433347D2C7B226368616E6E656C5F6964223A31362C2274797065223A312C227356616C7565223A223230332E32222C2274696D65223A313631373638363936363433347D5D7D114561746F6E5F4465766963655F446174610052554E49515F4B455901303030303030303034433243303030303546373831434134443633303030394302434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A020000017DDAA320A70716188E000000030000000000000000000964BC000000029141BBE40000000000000178A5A82A55AC128C570000E13500000178A5A37F670A82D43C00002A9F000000000000000000000000000000BF7B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226465766963655F6964223A372C22536967496E666F223A5B7B226368616E6E656
 C5F6964223A312C2274797065223A322C227356616C7565223A2232222C2274696D65223A313631373638363936363437337D2C7B226368616E6E656C5F6964223A31362C2274797065223A312C227356616C7565223A223230332E34222C2274696D65223A313631373638363936363437337D5D7D114561746F6E5F4465766963655F446174610052554E49515F4B455901303030303030303034433243303030303546373831434134443635353030413202434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A020000017DDAA320A76C343E94000000030000000000000000000964BD000000029141D6030000000000000178A5A82A7AAC128C570000E13500000178A5A37F8C0A82D43C00002A9F000000000000000000000000000000BF7B22636D644E616D65223A2244657669636556616C7565222C2270726F66696C655F6964223A312C226465766963655F6964223A372C22536967496E666F223A5B7B226368616E6E656C5F6964223A312C2274797065223A322C227356616C7565223A2234222C2274696D65223A313631373638363936363531367D2C7B226368616E6E656C5F6964223A31362C2274797065223A312C227356616C7565223A223230332E36222C2274696D65223A313631373638363936363531367D5D7D
 114561746F6E5F4465766963655F446174610052554E49515F4B455901303030303030303034433243303030303546373831434134443637413030413802434C55535445520144656661756C74436C7573746572025741495401747275650254414753012A020000017DDAA320A77BD045D8000000030000


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] ifplusor commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
ifplusor commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-813905990


   @lirong-Lee which commit version do you use?


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] ifplusor commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
ifplusor commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-814690881


   @lirong-Lee The third message start with "746F6E5F44" is incomplete.


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] ifplusor commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
ifplusor commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-813996926


   @lirong-Lee Use ```LOG_ERROR_NEW``` in place of ```LOG_INFO_NEW```, default logger does flush on error.


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] lirong-Lee commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
lirong-Lee commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-813964854


   @ifplusor 
   Added in MessageExtPtr MessageDecoder::decode(ByteBuffer& byteBuffer, bool readBody, bool deCompressBody, bool isClient)


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] lirong-Lee closed issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
lirong-Lee closed issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351


   


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] lirong-Lee commented on issue #351: re-dev crashes when rocketmq adds cluster nodes,

Posted by GitBox <gi...@apache.org>.
lirong-Lee commented on issue #351:
URL: https://github.com/apache/rocketmq-client-cpp/issues/351#issuecomment-814190214


   But in this situation to me, the data has been corrupted, which will cause the program to restart indefinitely. I cannot catch this exception externally.
   How does rocketmq-client-cpp handle this situation internally?
   
   My operation today is that the broker version is 4.6->4.8, and 4.6 is one master, and 4.8 opens two masters


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org