Are seach index operation from datastore transaction atomic?

38 views
Skip to first unread message

Dhanunjaya Naidu Yandrapu

unread,
Apr 27, 2016, 11:42:25 AM4/27/16
to Google App Engine
Hi all,

are index.Put() and index.Delete() operation atomic when run in a datastore transaction datastore.RunInTransaction()?

thanks,
dhanunjay

Nick (Cloud Platform Support)

unread,
Apr 29, 2016, 3:42:21 PM4/29/16
to Google App Engine
Hey Dhanunjaya,

Only Datastore operations inside a transaction will be grouped atomically inside the Datastore transaction. Search API operations and all other lines of code will run just as normal and won't interact with the transaction system to "roll back" or "commit" their changes to the world.

Cheers!

Nick
Cloud Platform Community Support
Reply all
Reply to author
Forward
0 new messages