Unistore: Batch write events (#101381)
* Batch write events * Improve instrumentation * Measure batch phases * Detect lock contention * remove the execBatch goroutine * removing tracing prefix * detect context cancel * batch channel map
This commit is contained in:
@@ -3,7 +3,8 @@ UPDATE {{ .Ident "resource" }}
|
||||
{{ .Ident "guid" }} = {{ .Arg .GUID }},
|
||||
{{ .Ident "value" }} = {{ .Arg .WriteEvent.Value }},
|
||||
{{ .Ident "folder" }} = {{ .Arg .Folder }},
|
||||
{{ .Ident "action" }} = {{ .Arg .WriteEvent.Type }}
|
||||
{{ .Ident "action" }} = {{ .Arg .WriteEvent.Type }},
|
||||
{{ .Ident "resource_version" }} = {{ .Arg .ResourceVersion }}
|
||||
WHERE 1 = 1
|
||||
AND {{ .Ident "group" }} = {{ .Arg .WriteEvent.Key.Group }}
|
||||
AND {{ .Ident "resource" }} = {{ .Arg .WriteEvent.Key.Resource }}
|
||||
|
||||
Reference in New Issue
Block a user