singhpk234 opened a new pull request, #14629: URL: https://github.com/apache/iceberg/pull/14629
### About the change 1. Adds "sync" and "async" prefix to the plan-id 2. According to REST spec in the plan API call when we return the COMPLETED status its required to return plan-id to the client as the client needs it for subsequent call (for example cancel API) - https://github.com/apache/iceberg/blob/4ee507d5788e31c74d5ef77204ef126ae0105981/open-api/rest-catalog-open-api.yaml#L3454 3. Fixes a race condition where a client might come back to the server even when the server is still populating the IN_MEMORY_PLANNING_STATE in a seperate thread what this would mean is it can fail when the fetch plan task is called and nothing is populated hence resulting in Plan-id not found Exception. ### Testing present in #13400 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
