opt(lua): Coordinate single-shard Lua evals in remote thread (#1845)

* opt(lua): !!WIP!! Coordinate single-shard Lua evals in remote thread

This removes the need for an additional (and costly) Fiber.
This commit is contained in:
Shahar Mike 2023-09-13 11:52:35 +03:00 committed by GitHub
parent ef0502238c
commit b91435e360
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 48 additions and 6 deletions

View file

@ -943,7 +943,7 @@ void Transaction::ExpireBlocking(WaitKeysProvider wcb) {
}
string_view Transaction::Name() const {
return cid_->name();
return cid_ ? cid_->name() : "null-command";
}
ShardId Transaction::GetUniqueShard() const {