Skip to content

Commit

Permalink
FileRef default affinity should be all workers on the host where the …
Browse files Browse the repository at this point in the history
…file resides
  • Loading branch information
Shashi Gowda committed May 24, 2018
1 parent b26dc9f commit 6ddaaa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chunks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function affinity(r::FileRef)
if haskey(MemPool.who_has_read, r.file)
Pair{OSProc, UInt64}[OSProc(dref.owner) => r.size for dref in MemPool.who_has_read[r.file]]
else
Pair{OSProc, UInt64}[]
Pair{OSProc, UInt64}[OSProc(w) => r.size for w in MemPool.get_workers_at(r.host)]
end
end

Expand Down

0 comments on commit 6ddaaa6

Please sign in to comment.