I can reproduce the deadlock and I believe I have a fix. I'm not sure if it will make the next release though. Can you please file an issue so we can track this?
Thanks, Max On Sat, Oct 31, 2009 at 4:31 PM, stumpy <ianmcgrath.m...@gmail.com> wrote: > > I removed the thread dump doc because the servlet code denomstrates > the problem. > > > On Oct 29, 8:20 pm, "Jason (Google)" <apija...@google.com> wrote: > > Thanks for the snippet. The thread dump isn't appearing for me in the > Google > > Doc -- can you try posting it again and verifying that it's publicly > > viewable? > > > > - Jason > > > > On Wed, Oct 28, 2009 at 2:27 AM, stumpy <ianmcgrath.m...@gmail.com> > wrote: > > > > > The thread dump is a bit cryptic so I reduced the problem down to a > > > small servlet that fails. > > > > > Use the servlet below in the development environment and set up aync > > > requests to it and a deadline will occur e.g. using 2 or more looped > > > curls from the terminal. > > > > > public void doGet(HttpServletRequest req, HttpServletResponse resp) > > > throws IOException { > > > DatastoreService ds = > DatastoreServiceFactory.getDatastoreService(); > > > Transaction t = ds.beginTransaction(); > > > try { > > > Key key = KeyFactory.createKey("entity_kind", 1); > > > Entity e = new Entity(key); > > > e.setProperty("property_bytes", new Blob(new > > > byte[1000000])); > > > ds.put(t, e); > > > t.commit(); > > > } catch (Throwable th) { > > > if (t.isActive()) { > > > t.rollback(); > > > } > > > } > > > } > > > > > On Oct 27, 6:12 pm, stumpy <ianmcgrath.m...@gmail.com> wrote: > > > > > http://docs.google.com/Doc?docid=0AV6jRtzB1ZNYZGNtNWdxemZfNjNkYjVkajl... > > > --~--~---------~--~----~------------~-------~--~----~ 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-appengine-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~----------~----~----~----~------~----~------~--~---