Hi
Initially we were using app engine standard v1 (legacy) and datastore legacy.
Then we migrated our datastore to Firestore as datastore mode. This converted the concurrency mode to OPTIMISTIC_WITH_ENTITY_GROUPS.
Now we need to change this concurrency mode to “Optimistic” to have support of the TTL feature.
I tried adding the TTL in one of the table of datastore table, but then it says that TTL feature is not supported with concurrency mode OPTIMISTIC_WITH_ENTITY_GROUPS.
There is a way to change the concurrency mode, as per the following doc
https://cloud.google.com/datastore/docs/concepts/transactions#concurrency_modes
What does it mean by changing the concurrency of the project to Optimistic? I need to change the concurrency mode of datastore and not the GCP project.
I’ve following questions
- Considering the our production project, there are many datastore tables with many GBs of data, what would be the best and safest way to change the concurrency mode?
- How to know which tables are being used in Entity Group transactions?
- If we remove the dependencies over these Entity Group transactions tables and delete them from our current datastore table, then will it be safer to change the concurrency mode?