forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change resultBlockId for RddComputeMonotasks.
This commit changes the resultBlockId used by RddComputeMonotasks from being a RDDBlockId to being a MonotaskResultBlockId. There's no reason this result to use a RDDBlockId (because it's temporary data and not where the RDD will more permanently be stored), and storing it with RDDBlockId can sometimes trigger a race condition in BlockManager between when the monotask's result gets cleaned up and when a DiskWriteMonotask writes the result (NetSys/spark-monotasks#26).
- Loading branch information
1 parent
5df3963
commit d62c5cd
Showing
2 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters