Skip to content

Commit

Permalink
Return spill future directly
Browse files Browse the repository at this point in the history
  • Loading branch information
sopel39 committed Feb 6, 2019
1 parent 5fef5aa commit 1492b3f
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -154,9 +154,7 @@ private boolean hasPreviousSpillCompletedSuccessfully()
@Override
public ListenableFuture<?> startMemoryRevoke()
{
checkState(spillInProgress.isDone());
spillToDisk();
return spillInProgress;
return spillToDisk();
}

@Override
Expand Down

0 comments on commit 1492b3f

Please sign in to comment.