mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 02:15:45 +02:00
refactor: rename Context into ExecutionState (#4562)
This commit is contained in:
parent
4ba1142cb3
commit
33584b9e96
19 changed files with 84 additions and 74 deletions
|
@ -60,7 +60,8 @@ class ProtocolClient {
|
|||
|
||||
std::error_code ResolveHostDns();
|
||||
// Connect to master and authenticate if needed.
|
||||
std::error_code ConnectAndAuth(std::chrono::milliseconds connect_timeout_ms, Context* cntx);
|
||||
std::error_code ConnectAndAuth(std::chrono::milliseconds connect_timeout_ms,
|
||||
ExecutionState* cntx);
|
||||
|
||||
void DefaultErrorHandler(const GenericError& err);
|
||||
|
||||
|
@ -121,7 +122,7 @@ class ProtocolClient {
|
|||
util::fb2::Mutex sock_mu_;
|
||||
|
||||
protected:
|
||||
Context cntx_; // context for tasks in replica.
|
||||
ExecutionState cntx_; // context for tasks in replica.
|
||||
|
||||
std::string last_cmd_;
|
||||
std::string last_resp_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue