Skip to content

Conversation

@nharper
Copy link
Collaborator

@nharper nharper commented Sep 2, 2025

Some writes of IneligibleDomainStates are failing with an error of:

failed: datastore: datastore: datastore: datastore: string property too long to index for a Property with Name "Message" at index 0 for a Property with Name "Errors" for a Property with Name "Issues" at index 1 for a Property with Name "Scans"`

Setting noindex
(see https://pkg.go.dev/cloud.google.com/go/datastore@v1.20.0#hdr-Properties) on the Scans field should resolve this issue. We never query based on the Scans field, so not indexing it should be fine.

Some writes of IneligibleDomainStates are failing with an error of:

failed: datastore: datastore: datastore: datastore: string property too
long to index for a Property with Name "Message" at index 0 for a
Property with Name "Errors" for a Property with Name "Issues" at index 1
for a Property with Name "Scans"`

Setting `noindex`
(see https://pkg.go.dev/cloud.google.com/go/datastore@v1.20.0#hdr-Properties)
on the Scans field should resolve this issue. We never query based on
the Scans field, so not indexing it should be fine.
@nharper nharper requested a review from jdeblasio September 2, 2025 23:11
@jdeblasio jdeblasio merged commit 8e88e85 into chromium:main Sep 2, 2025
2 checks passed
@nharper nharper deleted the noindex branch September 2, 2025 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants