mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 18:05:44 +02:00
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:
parent
ef0502238c
commit
b91435e360
8 changed files with 48 additions and 6 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue