Taylor Leese
Taylor Leese

Reputation: 52300

Google App Engine - Task Queue Names and Transactions

In the Google App Engine documentation it says below (see here).

Transactional tasks must not have user-specified names.

Are tasks within transactions automatically assigned names or is there some other reason for this?

Upvotes: 1

Views: 433

Answers (1)

Nick Johnson
Nick Johnson

Reputation: 101139

The reason for this is that task names are themselves transactional, and it's not possible to combine the two atomic operations (the datastore transaction and obtaining the task name) into a single atomic transaction.

Upvotes: 1

Related Questions