mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 18:05:44 +02:00
server(tiering): load data on read (#2415)
* server(tiering): load data on read Signed-off-by: adi_holden <adi@dragonflydb.io>
This commit is contained in:
parent
8eda8226b2
commit
9f3b118b87
13 changed files with 401 additions and 231 deletions
|
@ -1066,6 +1066,7 @@ bool Transaction::ScheduleUniqueShard(EngineShard* shard) {
|
|||
// Fast path. If none of the keys are locked, we can run briefly atomically on the thread
|
||||
// without acquiring them at all.
|
||||
if (quick_run) {
|
||||
// TBD add acquire lock here
|
||||
auto result = RunQuickie(shard);
|
||||
local_result_ = result.status;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue