feat(cluster): add repeated ACK if an error is happened (#2892)

This commit is contained in:
Borys 2024-04-12 16:20:19 +03:00 committed by GitHub
parent c2f13993d9
commit 9bed3390d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 49 additions and 39 deletions

View file

@ -83,6 +83,7 @@ class ProtocolClient {
// is done with the result of the call; Calling ConsumeInput may invalidate the data in the result
// if the buffer relocates.
io::Result<ReadRespRes> ReadRespReply(base::IoBuf* buffer = nullptr, bool copy_msg = true);
io::Result<ReadRespRes> ReadRespReply(uint32_t timeout);
std::error_code ReadLine(base::IoBuf* io_buf, std::string_view* line);