fix(storage): resolve deadlock occuring durring projection (#3671)

This commit is contained in:
Silvan
2022-05-19 13:44:16 +02:00
committed by GitHub
parent 2f8c50aa4c
commit a95b1ab3d0
6 changed files with 29 additions and 7 deletions

View File

@@ -701,7 +701,7 @@ func TestProjectionHandler_fetchPreviousStmts(t *testing.T) {
}),
aggregates: tt.fields.aggregates,
}
stmts, err := h.fetchPreviousStmts(tt.args.ctx, tt.args.stmtSeq, "", tt.args.sequences, tt.args.reduce)
stmts, err := h.fetchPreviousStmts(tt.args.ctx, nil, tt.args.stmtSeq, "", tt.args.sequences, tt.args.reduce)
if !tt.want.isErr(err) {
t.Errorf("ProjectionHandler.prepareBulkStmts() error = %v", err)
return