Hi Keakon,

  I raised an issue for editing tasks in the queue around 15 months
ago - http://code.google.com/p/googleappengine/issues/detail?id=1772 -
please star this issue if you would like to see this feature.

  The main use case is a task that is generating an error - i.e. it is
stuck in a cycle of 'execute->error->return to queue'. At the moment
the fixes for this are

1. Fix the code that raised the bad task and accept that the broken
job will never complete properly (delete the stuck task)
2. hack the code that receives the task to modify the broken value(s)
- this is pretty hard/risky work

  In complex process environment, both options can be very difficult,
especially if the task is part of a long chain - it can be tough to
manually sort out the problem in many situations.

  So I agree the use case for this is really only when the app code
has a bug in it, but bugs happen, and this would help in plenty of
situations.

  One other way to consider this problem is the implementation of a
dead letter queue - a task that continually fails is moved to the dead
letter queue, to avoid using up too much CPU/API quota if it goes
unnoticed. Editing might be a function of the dead letter queue (along
with relaunching). It is possible to implement this in user space -
i.e. if you receive a task with > 10 retries (for example), then store
it in the datastore, return 200 and implement an admin API and
relaunch capability. Would be great if this was a feature of the task
queue administration screens rather than each app doing a roll-your-
own solution though.

Cheers,

Colin

On Oct 16, 5:12 am, 风笑雪 <[email protected]> wrote:
> Hi, Ikai
>
> I would like to know whether Google will let us be able to get tasks
> in the specified queue, then edit or delete them in the future.
>
> ----------
> keakon

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to