]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
MultiCfIterator Impl Follow up (#12465)
authorJay Huh <jewoongh@meta.com>
Fri, 22 Mar 2024 21:51:16 +0000 (14:51 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 22 Mar 2024 21:51:16 +0000 (14:51 -0700)
commitc449867236d7023a46b80e41608b5bde8ece0cb0
tree7ab96561121985ad66d29df8f195e29ee32fc7af
parentb515a5db3f8013d5a8b6c1deaf99b50b90bd5b81
MultiCfIterator Impl Follow up (#12465)

Summary:
As a follow up for https://github.com/facebook/rocksdb/issues/12422 , this PR includes the following two changes.
- Removal of `direction_` in the MultiCfIterator
- Use of Member Func Template instead of `std::function`

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

Test Plan:
```
./multi_cf_iterator_test
```

Reviewed By: pdillinger, ltamasi

Differential Revision: D55208448

Pulled By: jaykorean

fbshipit-source-id: 8b3167c1d59839d076afc29097b5ad21a453460a
db/multi_cf_iterator.cc
db/multi_cf_iterator.h