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

@@ -1,6 +1,10 @@
package repository
import "github.com/zitadel/zitadel/internal/errors"
import (
"database/sql"
"github.com/zitadel/zitadel/internal/errors"
)
//SearchQuery defines the which and how data are queried
type SearchQuery struct {
@@ -8,6 +12,7 @@ type SearchQuery struct {
Limit uint64
Desc bool
Filters [][]*Filter
Tx *sql.Tx
}
//Columns defines which fields of the event are needed for the query