7,209 questions
0
votes
0
answers
13
views
Datastore Query Null Ancestor
I have an entity Foo in Datastore that sometimes has an ancestor defined and sometimes doesn't.
How can I query Datastore for entities that have no (null) ancestor?
I tried (GQL):
SELECT * FROM `Foo` ...
0
votes
0
answers
43
views
Unable to Modify Schema Key Property in Vertex AI Agent Builder – Key Property Mapping Mismatch
I'm working with Google Cloud Vertex AI Agent Builder to create a Data Store for my chatbot. Initially, I uploaded a CSV file containing structured Q&A data (questions and their corresponding ...
0
votes
0
answers
40
views
cloud run function to flatten document and sync with Meilisearch
I have a collection movies with a subcollection subtitles with only one document in the subcollection.
I added a cloud run function that triggers on changes to the movies collection to sync data to ...
0
votes
1
answer
30
views
How to lift the limit of 25 entity groups in a transaction using Firestore in Datastore mode?
In some edge cases my application needs to perform a transaction on many entities (in my current case, on 163 entities).
When this happens, I get the following exception :
File ".venv/lib/...
0
votes
2
answers
126
views
Google App Engine slow cold boot time (Flask app)
I have a problem with Google App Engine that hosts my Flask app.
The Flask app's size iz 60 MB.
The requirements.txt for the app is:
python-bidi>=0.4.2,<0.5.0
Flask
mock
google-auth
pytest
...
1
vote
0
answers
41
views
Firestore in Datastore mode - will non-transaction queries of an Entity be strongly consistent after that Entity is updated in a transaction?
Using Firestore in Datastore mode, if my application updates a property of an Entity in a transaction, will that update be immediately visible to all reads of that entity that are not in a transaction?...
0
votes
1
answer
40
views
How do transaction and non-transaction updates affect the same entity?
I have an entity that has a sum field and I read the entity, update the sum and then save the entity, all inside of a transaction.
What would happen if at the same time the entity is being updated in ...
0
votes
1
answer
76
views
Datastore grpc are not being traced in Cloud Run
I have an instrumentation for tracing my Python backend that uses NDB to interact with Datastore, I follow the classic way for exporting traces to Cloud Trace:
from opentelemetry.sdk.trace import ...
1
vote
0
answers
43
views
How to fix thread issue with Dataflow job from GAE standard environment?
I want to use Dataflow, from a Google App Engine application (in a Standard environment), in java 21.
But I get the following error :
java.lang.RuntimeException: Error while staging packages
at ...
0
votes
0
answers
13
views
Is there a way to mimic the Google Cloud App Engine Standard Datastore module_id/version_id when doing requests using the regular Datastore client?
In Python (3.10+), I'm trying to find out what Datastore model is responsible for a high amount of traffic and the regular Datastore metrics don't seem to be able to tell me.
I can see that when using ...
0
votes
0
answers
61
views
Namespace Issue in the cloud datastore
I upgraded the Java from 8 to 11 and using the namespace from the Objectify 6.1.1. When I am storing the data in the different namespace then the data is being stored in the different namespace as ...
0
votes
0
answers
56
views
Delayed Data Ingestion from Cloud Storage to Datastore: How Long Should It Take?
I've set up automatic data ingestion from a Cloud Storage bucket to a Datastore following the instructions in the official documentation (https://cloud.google.com/generative-ai-app-builder/docs/create-...
0
votes
0
answers
41
views
Random DatastoreFailureException for datastore and objectify on appengine
In the last 2-3 months, the frequency of DatastoreFailureException has increased. The issue appears random and is not isolated to any specific entity or API. We are using retries with exponential ...
0
votes
1
answer
53
views
Firestore Security Rules: (minimal) code that doesn't work against these rules
I'm working on setting up Firestore security rules, but I'm facing an issue where my custom function getUserOrganization() doesn't seem to return the correct value when used in matching conditions. ...
1
vote
1
answer
139
views
Google Datastore/Firestore - generational timestamp
Is it scalable to index a daily timestamp on an entity that only increases in value once per day? In essence, similar to a generation field as explained in the best practice docs here (although that ...