ray/src
Stephanie Wang 5cee6135b4
[core] Fix bugs in data locality (#24698) (#25092)
Redo for PR #24698:

This fixes two bugs in data locality:

    When a dependent task is already in the CoreWorker's queue, we ran the data locality policy to choose a raylet before we added the first location for the dependency, so it would appear as if the dependency was not available anywhere.
    The locality policy did not take into account spilled locations.

Added C++ unit tests and Python tests for the above.

Split test_reconstruction to avoid test timeout. I believe this was happening because the data locality fix was causing extra scheduler load in a couple of the reconstruction stress tests.
2022-05-25 10:33:49 -07:00
..
mock [core] Fix bugs in data locality (#24698) (#25092) 2022-05-25 10:33:49 -07:00
ray [core] Fix bugs in data locality (#24698) (#25092) 2022-05-25 10:33:49 -07:00
shims/windows Support copyright format for c++ files (#14348) 2021-08-04 17:19:38 +08:00