]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Batch blob read IO for MultiGet (#8699)
authorYanqin Jin <yanqin@fb.com>
Sat, 18 Sep 2021 01:43:32 +0000 (18:43 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Sat, 18 Sep 2021 02:23:13 +0000 (19:23 -0700)
commitb512f4bc766a8ea5dba271dc8df69984ccc27181
treed309ad159031f98a4813a21ef38764e827aa9cfa
parentba48ff8303aad3bcfdae070191dfe587d2720d44
Batch blob read IO for MultiGet (#8699)

Summary:
In batched `MultiGet()`, RocksDB batches blob read IO and uses `RandomAccessFileReader::MultiRead()`
to read the blobs instead of issuing multiple `Read()`.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/8699

Test Plan:
```
make check
```

Reviewed By: ltamasi

Differential Revision: D31030861

Pulled By: riversand963

fbshipit-source-id: a0df6060cbfd54cff9515a4eee08807b1dbcb0c8
HISTORY.md
db/blob/blob_file_reader.cc
db/blob/blob_file_reader.h
db/blob/blob_file_reader_test.cc
db/blob/blob_index.h
db/blob/db_blob_basic_test.cc
db/db_impl/db_impl.cc
db/version_set.cc
db/version_set.h
table/multiget_context.h