We currently do not have an API for that, the best you can do is look at running jobs but there is no way to easily figure out which job it is (since a refresh can cause many jobs to be run if there are many reflections.
Thank you for confirming it. When i execute the the catalog refresh end point, I dont see any refresh queries under job section and yet I get a 204 back. where should i start troubleshooting this?
All the options are checked. I still do not see any load queries being fired except the scheduled ones. What is a best way to start debugging such this issue?
@sraavi Do you see a REFRESH REFLECTION and not a LOAD MATERIALIZATION job? This can happen if the REFRESH returns zero rows. Can you let it refresh once via background and see if both REFRESH and LOAD jobs show as successful?
I am refreshing a PDS. This does not have any reflections set up. I am able to do it via sql api using the below command.
alter pds “PDS.path” refresh metadata auto promotion force update;
I was unable to refresh it through the refresh api - /api/v3/catalog/611e7a1f-1bed-4a08-ac62-66ffc939c500/refresh
I get a 204 back but I don’t see the alter command being executed in the background under jobs tab. I hope this provides a better context?
The API Refresh a Catalog is not to refresh metadata for a PDS but to refresh for any VDS/PDS but you pass the PDS ID, if there is. VDS joining 2 PDS then you can pass the catalog id of any one of the PDS
The above API has nothing to do with metadata refresh
Hello Balaji,
Please there’s this issue I’m having with reflections of VDS failing during refreshes, how do I resolve this issue because there’s so many failures during monitoring.
Thank you for your swift response.
I’m suspecting the longer wait time between load-refresh-drop of the jobs even though refreshes happens every 3hrs but some reflections goes into “in-progress” state and drops/fails afterwards