opt(lua): Avoid separate hops for lock & unlock on single shard execution (#1900)

This commit is contained in:
Shahar Mike 2023-09-22 14:09:17 +03:00 committed by GitHub
parent 8cc448f6b4
commit 2091f53777
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 78 additions and 44 deletions

View file

@ -154,7 +154,8 @@ class Service : public facade::ServiceInterface {
std::optional<facade::ErrorReply> CheckKeysOwnership(const CommandId* cid, CmdArgList args,
const ConnectionContext& dfly_cntx);
void EvalInternal(const EvalArgs& eval_args, Interpreter* interpreter, ConnectionContext* cntx);
void EvalInternal(CmdArgList args, const EvalArgs& eval_args, Interpreter* interpreter,
ConnectionContext* cntx);
void CallSHA(CmdArgList args, std::string_view sha, Interpreter* interpreter,
ConnectionContext* cntx);