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


##########
src/replica/bulk_load/replica_bulk_loader.cpp:
##########
@@ -585,22 +596,19 @@ void replica_bulk_loader::download_sst_file(const 
std::string &remote_dir,
         return;
     }
     // download file succeed, update progress
+    download_file_metas.pop_back();
     update_bulk_load_download_progress(f_size, f_meta.name);

Review Comment:
   `f_meta` has referenced the last element of `download_file_metas`, however 
the last element was just removed by `download_file_metas.pop_back();`.



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