Improve the comment on TableFactory::NewTableReader()

Summary:
`DBImpl::AddFile()` has been replaced by `DBImpl::IngestExternalFile()`.
Closes https://github.com/facebook/rocksdb/pull/3726

Differential Revision: D7646875

Pulled By: ajkr

fbshipit-source-id: 241eb7a8d88527fdc5c26b0c3f6faec3296451f8
This commit is contained in:
Harry Wong 2018-04-16 16:46:22 -07:00 committed by Facebook Github Bot
parent 5e48811844
commit b4f333922a

View File

@ -422,7 +422,7 @@ class TableFactory {
// and cache the table object returned.
// (2) SstFileReader (for SST Dump) opens the table and dump the table
// contents using the iterator of the table.
// (3) DBImpl::AddFile() calls this function to read the contents of
// (3) DBImpl::IngestExternalFile() calls this function to read the contents of
// the sst file it's attempting to add
//
// table_reader_options is a TableReaderOptions which contain all the