PYTHON find_by_mapreduce_state should never be executed in transaction since in most cases it must touch >5 entity groups.
PYTHON find_by_mapreduce_state should never be executed in transaction since in most cases it must touch >5 entity groups.

*One* way this could happen is a transaction is started in user-app, they call get_filenames, which in turn needs to look at the shard states via this method.


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6620

bmenasha/appengine-mapreduce,mikelambert/appengine-mapreduce,mikelambert/appengine-mapreduce,bmenasha/appengine-mapreduce,GoogleCloudPlatform/appengine-mapreduce,chargrizzle/appengine-mapreduce,soundofjw/appengine-mapreduce,potatolondon/potato-mapreduce,lordzuko/appengine-mapreduce,aozarov/appengine-mapreduce,ankit318/appengine-mapreduce,rbruyere/appengine-mapreduce,westerhofffl/appengine-mapreduce,aozarov/appengine-mapreduce,bmenasha/appengine-mapreduce,Candreas/mapreduce,westerhofffl/appengine-mapreduce,mikelambert/appengine-mapreduce,Candreas/mapreduce,ankit318/appengine-mapreduce,GoogleCloudPlatform/appengine-mapreduce,chargrizzle/appengine-mapreduce,chargrizzle/appengine-mapreduce,VirusTotal/appengine-mapreduce,vendasta/appengine-mapreduce,rbruyere/appengine-mapreduce,aozarov/appengine-mapreduce,soundofjw/appengine-mapreduce,soundofjw/appengine-mapreduce,vendasta/appengine-mapreduce,GoogleCloudPlatform/appengine-mapreduce,vendasta/appengine-mapreduce,ankit318/appengine-mapreduce,rbruyere/appengine-mapreduce,aozarov/appengine-mapreduce,VirusTotal/appengine-mapreduce,talele08/appengine-mapreduce,talele08/appengine-mapreduce,potatolondon/potato-mapreduce,aozarov/appengine-mapreduce,westerhofffl/appengine-mapreduce,westerhofffl/appengine-mapreduce,GoogleCloudPlatform/appengine-mapreduce,bmenasha/appengine-mapreduce,vendasta/appengine-mapreduce,VirusTotal/appengine-mapreduce,chargrizzle/appengine-mapreduce,GoogleCloudPlatform/appengine-mapreduce,lordzuko/appengine-mapreduce,Candreas/mapreduce,lordzuko/appengine-mapreduce,ankit318/appengine-mapreduce,ankit318/appengine-mapreduce,talele08/appengine-mapreduce,lordzuko/appengine-mapreduce,Candreas/mapreduce,rbruyere/appengine-mapreduce,mikelambert/appengine-mapreduce,mikelambert/appengine-mapreduce,VirusTotal/appengine-mapreduce,vendasta/appengine-mapreduce,talele08/appengine-mapreduce,chargrizzle/appengine-mapreduce,soundofjw/appengine-mapreduce,talele08/appengine-mapreduce,soundofjw/appengine-mapreduce,westerhofffl/appengine-mapreduce,rbruyere/appengine-mapreduce,lordzuko/appengine-mapreduce,Candreas/mapreduce,bmenasha/appengine-mapreduce,potatolondon/potato-mapreduce,VirusTotal/appengine-mapreduce