Skip to content

db.h: MultiGet: forward to more efficient overload#10664

Open
rockeet wants to merge 1 commit into
facebook:mainfrom
rockeet:MultiGet.forward.fast.overload
Open

db.h: MultiGet: forward to more efficient overload#10664
rockeet wants to merge 1 commit into
facebook:mainfrom
rockeet:MultiGet.forward.fast.overload

Conversation

@rockeet

@rockeet rockeet commented Sep 13, 2022

Copy link
Copy Markdown
Contributor

Forward MultiGet to overload with single cf.

Comment thread include/rocksdb/db.h
}
const bool sorted_input = false) {
std::string* timestamps = nullptr;
MultiGet(options, column_family, num_keys, keys, values, timestamps,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This overload, in turn, forwards to an overload that returns NotSupported (line 630).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This overload, in turn, forwards to an overload that returns NotSupported (line 630).

That NotSupported is the default impl, derived DB classes have overrided that MultiGet overload.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants