Skip to content

Commit

Permalink
squash - Fix race condition in migration scheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
alanking committed Jan 15, 2025
1 parent d5920c2 commit 0876fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage_tiering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ namespace irods {
{
// An irods::query_processor concurrently executes this function for each returned result. Each
// instance refers to the same object_is_processed instance. So, we need a lock here to protect
// against concurrent accesses the object_is_processed map.
// against concurrent accesses of the object_is_processed map.
const std::lock_guard object_is_processed_lock{object_is_processed_mutex};

if (std::end(object_is_processed) != object_is_processed.find(object_path)) {
Expand Down

0 comments on commit 0876fe5

Please sign in to comment.