Used purely for debug actions. The DEBUG_ACTION is only executed on the first RPC attempt.
| 69 | /// Used purely for debug actions. The DEBUG_ACTION is only executed on the first RPC |
| 70 | /// attempt. |
| 71 | static Status CatalogRpcDebugFn(int* attempt) { |
| 72 | return (*attempt)++ == 0 ? |
| 73 | DebugAction(FLAGS_debug_actions, "CATALOG_RPC_FIRST_ATTEMPT") : |
| 74 | Status::OK(); |
| 75 | } |
| 76 | |
| 77 | /// Used in LocalCatalog mode to verify the catalog RPC reponse only contains minimal |
| 78 | /// catalog objects, i.e. database objects have only db names and table objects have only |
no test coverage detected