hycdong commented on a change in pull request #671:
URL: https://github.com/apache/incubator-pegasus/pull/671#discussion_r553083750
##########
File path: src/server/rocksdb_wrapper.cpp
##########
@@ -181,6 +181,14 @@ int rocksdb_wrapper::write_batch_delete(int64_t decree,
dsn::string_view raw_key
void rocksdb_wrapper::clear_up_write_batch() { _write_batch->Clear(); }
+int rocksdb_wrapper::ingestion_files(int64_t decree, const
std::vector<std::string> &sst_file_list)
+{
+ rocksdb::IngestExternalFileOptions ifo;
+ rocksdb::Status s = _db->IngestExternalFile(sst_file_list, ifo);
+ derror_rocksdb("IngestExternalFile", s.ToString(), "decree = {}", decree);
Review comment:
If ingest succeed, log should be debug.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]