ruojieranyishen commented on code in PR #2077:
URL: 
https://github.com/apache/incubator-pegasus/pull/2077#discussion_r1706474721


##########
src/replica/bulk_load/replica_bulk_loader.cpp:
##########
@@ -520,38 +520,25 @@ void replica_bulk_loader::download_files(const 
std::string &provider_name,
 
     // download sst files asynchronously
     if (!_metadata.files.empty()) {
-        const file_meta &f_meta = _metadata.files[0];
+        const file_meta f_meta = _metadata.files.back();

Review Comment:
   Thank you for the reminder, I've learned a lot from your suggestions. I'll 
make the necessary modifications to ensure the code passes the unit tests.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to