Prerelease SDK for 1.5.2 is ready for testing, feel free to download
and give it a try for local verification:
http://code.google.com/p/googleappengine/downloads/list
See release notes below.
Happy testing!
App Engine Python SDK - Release Notes
Version 1.5.2
=============================
- You can now specify the minimum pending latency for instances and the maximum
number of idle instances for your application in the Admin Console.
- The datastore now never requires an exploding index.
http://code.google.com/appengine/docs/python/datastore/queries.html#Big_Entities_and_Exploding_Indexes
- The SDK will now never suggest indexes with the same property repeated, as
such indexes are likely to be exploding indexes.
- The SDK now supports multiple concurrent transactions.
- Datastore stats are now available on a per-namespace basis.
- The queue details page in the Admin Console now contains request header
details, previous run information, and a task payload viewer.
- You can modify the lease on a task leased from a pull queue using the
modify_task_lease() method.
- Pull Task maximum size has been increased to 1MB.
- You can now update the number of available backend instances without needing
to first stop the backend using the "backend configure" appcfg.py directive.
- You can now set the "References" and "In-Reply-To" headers with the Mail API.
http://code.google.com/p/googleappengine/issues/detail?id=2802
- The SDK "application" environment variable will now be prefixed with dev~.
The new preferred way of retrieving your app id is to use
appidentity.get_application_id(). The --default partition flag can be used
for applications whose code relied on a specific environment variable.
- In the Deferred API, defer() now accepts the _target parameter.
- Added a to_dict() function to db.py which converts a model to a dictionary.
- Added a get_original_metadata() method to the Images API to extract EXIF
information from images.
http://code.google.com/p/googleappengine/issues/detail?id=4133
- Added an @transactional decorator to db.py for functions that should
always be run in a transaction.
- Fixed an issue in the SDK where the Deferred API did not work when using
the --backends flag.
http://code.google.com/p/googleappengine/issues/detail?id=5072
App Engine Java SDK - Release Notes
Version 1.5.2
=============
- You can now specify the minimum pending latency for instances and the maximum
number of idle instances for your application in the Admin Console.
- The datastore now never requires an exploding index.
- The SDK will now never suggest indexes with the same property repeated, as
such indexes are likely to be exploding indexes.
- Datastore stats are now available on a per-namespace basis.
- The queue details page in the Admin Console now contains request header
details, previous run information, and a task payload viewer.
- You can modify the lease on a task leased from a pull queue using the
modifyTaskLease() method.
- Pull Task maximum size has been increased to 1MB.
- You can now update the number of available backend instances without needing
to first stop the backend using the "backend configure" appcfg directive.
- You can now set the "References" and "In-Reply-To" headers with the Mail API.
http://code.google.com/p/googleappengine/issues/detail?id=2802
- The whitelist has been updated to include support for JSR 105.
- When the SDK throws a DatastoreNeedIndexException for a missing index
definition, the exception can now be caught.
--
Johan Euphrosine (proppy)
Developer Programs Engineer
Google Developer Relations
--To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/KyL9f70-VtkJ.
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
> --
> You received this message because you are subscribed to the Google Groups "Google App Engine" group.
--
You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group.To post to this group, send email to google-app...@googlegroups.com.
To unsubscribe from this group, send email to google-appengine...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
> The SDK now supports multiple concurrent transactions.What does this mean exactly?
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
--
com.google.appengine.api.datastore.DatastoreNeedIndexException >> The built-in indices are not efficient enough for this query and your data. Please add a composite index for this query.. An index is missing but we are unable to tell you which one due to a bug in the App Engine SDK. If your query only contains equality filters you most likely need a composite index on all the properties referenced in those filters.
Hi Alfred,Thanks for clarification. I also have 2 questions:1. For this query:SELECT * FROM Model WHERE list = :1 AND list =:2 AND list=:3 AND string :=4 ORDER BY date DESCwill be enough this index?- kind: Model
properties:
- name: list- name: string
- name: date
direction: desc
2. After I create this index (or indexes) I will still receive this exceptions?com.google.appengine.api.datastore.DatastoreNeedIndexException >> The built-in indices are not efficient enough for this query and your data. Please add a composite index for this query.. An index is missing but we are unable to tell you which one due to a bug in the App Engine SDK. If your query only contains equality filters you most likely need a composite index on all the properties referenced in those filters.
--Alex
--
You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/cHCKy8QEXw0J.
--
You received this message because you are subscribed to the Google Groups "google-appengine-python" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-python/-/aQh0Xx49xlsJ.
To post to this group, send email to google-appe...@googlegroups.com.
To unsubscribe from this group, send email to google-appengine-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine-python?hl=en.
Building indexes for large data sets is expensive so deleting and recreating them from scratch needs to be avoided. With "NextGen queries" features the need arises to experiment with different index strategies for functionality and performance reasons. What I propose is a mechanism---probably through the admin interface---to disable an index for query purposes. The index must still be updated but is not used for queries until it is enabled again. When it is enabled the index is fully functional without any rebuilding overhead. This way a user can put all the possible indexes in her index.yaml file, enable/disable some of them in production and perform tests/measurements. When satisfied she can vacuum the unnecessary ones.
--
You received this message because you are subscribed to the Google Groups "google-appengine-python" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-python/-/w_WoWIWmEncJ.
To post to this group, send email to google-appe...@googlegroups.com.
To unsubscribe from this group, send email to google-appengine-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine-python?hl=en.
I just upgraded to prerelease 1.5.2, and can't read any old data from my app.
Then I down upgraded to 1.5.1, got no lucky although the
dev_appserver.datastore filesize
seems correctly.
I uploaded some data then upgraded again, results was the same. But
this time after down
upgraded the data was there, don't what cause the data missing first
time. Maybe due to I
wrote part of the data so the metadata was changed.
I upgraded to prerelease 1.5.2 again, upload data from a old dump, got
this error:
{{{
File "/home/yinhm/apps/APPNAME/parts/google_appengine/google/appengine/datastore/datastore_stub_util.py",
line 224, in CheckAppId
'app "%s" cannot access app "%s"\'s data' % (request_app_id, app_id))
File "/home/yinhm/apps/APPNAME/parts/google_appengine/google/appengine/datastore/datastore_stub_util.py",
line 207, in Check
raise apiproxy_errors.ApplicationError(error_code, msg)
ApplicationError: ApplicationError: 1 app "dev~APPNAME" cannot access
app "APPNAME"'s data
}}}
I'm using python sdk with sqlite datastore.
--
Regards,
twitter:@yinhm
有微码头:http://yinhm.appspot.com
github: https://github.com/yinhm
The data seems missing after down upgraded maybe caused by buildout
update rod.recipe.appengine to 2.0.0 which updated datastore path.
With --default_partition="" datastore works like before, thx point this to me.
Still wonder why break this in a minor release.
Oh, sorry. I was glanced at this thread, didn't noticed it.
>Matthew
> or use the bulkloader to dump/restore across app ids.
I tried bulkloader, it was broken, don't knwon is this due to I'm using sqlite.