Currently, when a statement (e.g. SELECT) needs to access some unloaded tables, it issues a prioritizedLoad() request to the catalog. The catalog loads the table metadata but does not respond directly to the coordinator that issued the request. Instead, the metadata for the newly loaded tables are broadcast via the statestore. The problem with this approach is that the latency of the response may vary significantly and may depend on the latencies of other unrelated metadata operations (e.g. REFRESH) that happen to be in the same topic update.
The response to a prioritizedLoad() request should come directly to the issuing coordinator. Other coordinators will receive the metadata of the newly loaded table via the statestore.