I’m using GAE and I’ve found the documentation about how to use transactions to handle two threads attempting to create an entity with the same key. Unfortunately, the documentation isn’t clear about exactly how to detect the situation. It says “the second attempt fails atomically”, but how? Does it throw an exception and if so, which one?
Share
it raises
ConcurrentModificationException. from your docs link, just after the first code block: