Hey,
We have decided to migrate our datastore's concurrency mode from OPTIMISTIC_WITH_ENTITY_GROUPS to OPTIMISTIC concurrency mode. The main reason for that being that we want to enable TTL on our platform, and our not very dependent on entity group relationships in our databases.
I wanted to ask if anybody has faced any unknown 500 errors/bugs/database transaction failures while migrating their datastore concurrency mode on a production environment where they are receiving a lot of user traffic?
Thank you
Solved! Go to Solution.
Hi @manansaraf16,
Welcome to Google Cloud Community!
Migrating your datastore’s concurrency mode in a high-traffic production environment can present some challenges, so it’s great that you're thinking ahead about potential issues. Here are some of the challenges you may encounter during migration
Switching to OPTIMISTIC concurrency can help with enabling TTL, but it might bring up challenges like conflicts, retries, and 500 errors. You may also refer to this post for more information regarding concurrency modes. With careful testing, error handling, and monitoring, you can minimize risks and ensure a smooth transition.
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.
Hi @manansaraf16,
Welcome to Google Cloud Community!
Migrating your datastore’s concurrency mode in a high-traffic production environment can present some challenges, so it’s great that you're thinking ahead about potential issues. Here are some of the challenges you may encounter during migration
Switching to OPTIMISTIC concurrency can help with enabling TTL, but it might bring up challenges like conflicts, retries, and 500 errors. You may also refer to this post for more information regarding concurrency modes. With careful testing, error handling, and monitoring, you can minimize risks and ensure a smooth transition.
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.