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:
adiholden 2024-01-17 16:13:56 +02:00 committed by GitHub
parent 8eda8226b2
commit 9f3b118b87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 401 additions and 231 deletions

View file

@ -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;