GeoWebCache/geowebcache — Issue #75: REST seed request with GET method may return wrong tile count/total
Author: GeoWebCache
Created: 2011-10-14 21:48:06+00:00
State: open
Labels: Bug

A REST request to check the state of the seeding threads may return invalid results in the tile count and total tiles fields due to a cast from long to int.

Example: curl -u geowebcache:secured "http://localhost:8080/geowebcache/rest/seed/nurc:Arc_Sample.json"
returns something like:
{"long-array-array":[[12384,-1431655758,16107460],[12912,-1431655758,15374864], ......

The negative values (tile count and total tiles) are so because of integer overflow when casting long to int