Skip to content
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
2 changes: 2 additions & 0 deletions db-connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -15116,6 +15116,8 @@ func SetDatastoreKeyBulk(ctx context.Context, allKeys []CacheKeyData) ([]Datasto
resp, err := project.Es.Bulk(ctx, opensearchapi.BulkReq{
Body: bytes.NewReader(buf.Bytes()),
Index: strings.ToLower(GetESIndexPrefix(nameKey)),
// Refresh for immediate read-after-write; matches indexEs().
Params: opensearchapi.BulkParams{Refresh: "true"},
})

res := resp.Inspect().Response
Expand Down
Loading