[Geoserver-users] What is a pending GWC task?

Hi,

GWC rest documentation http://docs.geoserver.org/stable/en/user/geowebcache/rest/seed.html#querying-running-tasks makes me understand that a seeding task may have a status "pending". What does it mean and is it really possible to put a seeding task into pending state? Or is this only a keyword reserved for possible needs in the future?

-Jukka Rahkonen-

As I recall the task is fist created, then handed to the TileBreeder for execution. PENDING is the state it’s in before the breeder starts it running. I think it’s purely an implementation detail rather than something relevant when accessing it via REST, but it has been a while since I looked at the seeding code.

···

On 17 March 2014 04:09, Rahkonen Jukka (Tike) <jukka.rahkonen@anonymised.com> wrote:

Hi,

GWC rest documentation http://docs.geoserver.org/stable/en/user/geowebcache/rest/seed.html#querying-running-tasks makes me understand that a seeding task may have a status “pending”. What does it mean and is it really possible to put a seeding task into pending state? Or is this only a keyword reserved for possible needs in the future?

-Jukka Rahkonen-


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Kevin Smith

Junior Software Engineer | Boundless

ksmith@anonymised.com

+1-778-785-7459

@boundlessgeo

Hi,
I’ve seen PENDING myself. If I initialise too many threads then once all of my cores are being used the rest sit around saying “PENDING” until a core is freed up for them. So it is visible to end users if they check thread status and isn’t just a code thing.

Cheers,
Jonathan

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

···

On 18 March 2014 16:17, Kevin Smith <ksmith@anonymised.com> wrote:

As I recall the task is fist created, then handed to the TileBreeder for execution. PENDING is the state it’s in before the breeder starts it running. I think it’s purely an implementation detail rather than something relevant when accessing it via REST, but it has been a while since I looked at the seeding code.


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

On 17 March 2014 04:09, Rahkonen Jukka (Tike) <jukka.rahkonen@anonymised.com…486…> wrote:

Hi,

GWC rest documentation http://docs.geoserver.org/stable/en/user/geowebcache/rest/seed.html#querying-running-tasks makes me understand that a seeding task may have a status “pending”. What does it mean and is it really possible to put a seeding task into pending state? Or is this only a keyword reserved for possible needs in the future?

-Jukka Rahkonen-


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Kevin Smith

Junior Software Engineer | Boundless

ksmith@anonymised.com

+1-778-785-7459

@boundlessgeo