872bb9db14
Previous getFromView would call view.Result when the result may not have been returned (because the index is updated past the minIndex. This would allocate a slice and sort it for no reason, because the values would never be returned. Fix this by re-ordering the operations in getFromView. The test changes in this commit were an attempt to cover the case where an update is received but the index does not exceed the minIndex. |
||
---|---|---|
.. | ||
handler.go | ||
materializer.go | ||
store.go | ||
store_test.go | ||
streaming_test.go |