Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Core] fix inaccurate Raylet log message for aborting object creation (…
…ray-project#24450) Found many log messages about Not enough memory to create requested object ... when running shuffle tests, even when object store memory is far from full. It seems when ObjectBufferPool::AbortCreate() is called, Raylet logs Not enough memory to create requested object .... However, ObjectBufferPool::AbortCreate() is called under 3 different codepaths: ObjectManager::ReceiveObjectChunk() PullManager::UpdatePullsBasedOnAvailableMemory() -> cancel_pull_request_ PullManager::CancelPull() -> cancel_pull_request_ Only codepath (2) is due to having not enough object store memory. So the logging in ObjectBufferPool::AbortCreate() is moved to the callsites instead, which have more context of the situation and can log with more accurate messages. Also change codepath (3) to be DEBUG, because it is an expected behavior and can be quite spammy when running shuffle / sort workload.
- Loading branch information