Hi, Getting a 200 for a truncate request means that the provided layer name was correct and that no errors happen during the truncate. Although, GWC doesn't know in advanced which styles, image formats, or other combinations are expected \ valid, hence it cannot check them. That say, when you get back a 200 and the cache on disk was not deleted, it usually means that one of the provided truncate parameters didn't match the cache (e.g. style, image format, etc ...). After a GWC truncate request has been executed you can still get back the result using [1]: http://localhost:8080/geoserver/gwc/rest/seed.json Apart form the request above, you can also check the logs for any error. Hope it helps, Nuno Oliveira [1] https://docs.geoserver.org/stable/en/user/geowebcache/rest/seed.htm l#truncating On Sun, 2019-09-22 at 19:11 -0700, Carlos Lacerda wrote: > Hi folks, > > There is a way to guarantee that a truncate rest request was > processed ? > > I have some cases that I send a truncate request, receive a 200 > response, > but cache was not erased from disk, and also I dont see any errors in > geoserver log, there is a way to control/check this ? I know that > exist a > rest service that check status of tasks like seed, but it's quick to > truncate/erase, when I call this service the task was already > terminated and > I can't check what realy happened. > There some workaround for this ? > > Thank so much > > > > -- > Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f378639 > 0.html > > > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting > to this list: > - Earning your support instead of buying it, but Ian Turton: http://w > ww.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: http://geoserver.org/co > mm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: ht > tps://github.com/geoserver/geoserver/wiki/Successfully-requesting- > and-integrating-new-features-and-improvements-in-GeoServer > > > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Regards, Nuno Oliveira == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. ==
Nuno Miguel Carvalho Oliveira @nmcoliveira Software Engineer GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users