Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Proxy the select correctly on initialbatch #389

Merged
merged 1 commit into from
Dec 4, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@ class InitialBatchedStore[K,V](val firstNonZero: BatchID, val proxy: BatchedScal

def batcher = proxy.batcher
def ordering = proxy.ordering
// This one is dangerous and marked override because it has a default
override def select(b: List[BatchID]) = proxy.select(b)
def writeLast(batchID: BatchID, lastVals: TypedPipe[(K, V)])(implicit flowDef: FlowDef, mode: Mode) =
if (batchID >= firstNonZero) proxy.writeLast(batchID, lastVals)
else sys.error("Earliest batch set at :" + firstNonZero + " but tried to write: " + batchID)
Expand Down