(you can ignore my other message, which I sent before I read this - sorry)

Task naming in transactions can easily be fixed by adding a little random
suffix to the name. Either Google can do it or we can do it, either way is
fine.

I understand that task “names” conflate two behaviors:

 * Preventing duplicates
 * Display in the console

Not ideal but it’s what we have to work with. I can live with adding a UUID
to the end of task names. It’s much harder to live with a console that
doesn’t show at a glance what’s in the task queue :-(

Thanks,
Jeff



On Thu, Apr 28, 2016 at 4:18 PM, Kim Lewandowski <klewandow...@google.com>
wrote:

> Hi Jeff,
>
> if we allowed named tasks then the transactional task could be rejected
> because the task name already exists.
>
> "Task Name 1"  -> Datastore transaction -> AddTask to Queue
> "Task Name 1" -> Datastore transaction (???) -> ????
>
>
> On Wednesday, April 27, 2016 at 12:43:43 PM UTC-7, Jeff Schnitzer wrote:
>>
>> My task queues sometimes have a lot of tasks sitting in them for various
>> reasons (usually failing/retrying). I’d _really_ love to be able to look at
>> a queue at a glance and see what’s in it. Instead it’s a wall of numbers.
>>
>> Ah hah! I can name tasks, and this will show up in the interface, right?
>>
>> I just tried that and get “transactional tasks cannot be named”. What’s
>> the rationale for this? I get that the task name needs to be unique, but
>> that can be fixed with a suffix…
>>
>> This was asked in a SO question but the answer, although accepted, is
>> bogus.
>>
>> Any ideas?
>>
>> Thanks,
>> Jeff
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CADK-0uiTnPQS9PpvoUJox0NvYoRC5wA1RU0wwUqKz%3DrO%2BFPwjw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to