We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a34223a commit 62e04f9Copy full SHA for 62e04f9
src/S3File.cc
@@ -984,8 +984,9 @@ void S3File::S3Cache::Entry::Download(S3File &file) {
984
// will need to grab the lock to notify of completion. So, we
985
// must release the lock here before calling a blocking function --
986
// otherwise deadlock may occur.
987
+ auto off = m_off;
988
m_parent.m_mutex.unlock();
- if (!m_request->SendRequest(m_off, m_cache_entry_size)) {
989
+ if (!m_request->SendRequest(off, m_cache_entry_size)) {
990
m_parent.m_mutex.lock();
991
std::stringstream ss;
992
ss << "Failed to send GetObject command: "
0 commit comments