Skip to content

Commit d3497d8

Browse files
chore: add 503 service unavailable response to load endpoints
1 parent 36fbe60 commit d3497d8

5 files changed

Lines changed: 12 additions & 0 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- chore: add 503 service unavailable response to load endpoints
13+
1014
## [0.12.0] - 2026-10-15
1115

1216
### Added

‎docs/ConnectionsApi.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -811,6 +811,7 @@ Name | Type | Description | Notes
811811
**404** | Connection, upload, or result not found, or the table was deleted | - |
812812
**409** | Upload already consumed or in flight, the result is still being computed, or the incoming data changes a column's type incompatibly (only widening to a larger compatible type can be applied automatically); the existing data is unchanged and remains queryable | - |
813813
**413** | Inline `data` is over the 2 MiB limit (error code `INLINE_DATA_TOO_LARGE`); upload the data and load it by `upload_id` instead | - |
814+
**503** | The catalog is busy: no pooled catalog connection came free within the acquire window (error code `CATALOG_BUSY`). The load may already have committed data if the timeout hit after the write, so check the table, or load with an idempotency key, before retrying after the `Retry-After` delay | - |
814815

815816
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
816817

‎docs/DatabasesApi.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1366,6 +1366,7 @@ Name | Type | Description | Notes
13661366
**404** | Database, upload, or result not found, or the table was deleted | - |
13671367
**409** | Upload already consumed or in flight, the result is still being computed, or the incoming data changes a column's type incompatibly (only widening to a larger compatible type can be applied automatically); the existing data is unchanged and remains queryable | - |
13681368
**413** | Inline `data` is over the 2 MiB limit (error code `INLINE_DATA_TOO_LARGE`); upload the data and load it by `upload_id` instead | - |
1369+
**503** | The catalog is busy: no pooled catalog connection came free within the acquire window (error code `CATALOG_BUSY`). The load may already have committed data if the timeout hit after the write, so check the table, or load with an idempotency key, before retrying after the `Retry-After` delay | - |
13691370

13701371
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
13711372

‎hotdata/api/connections_api.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2389,6 +2389,7 @@ def load_managed_table(
23892389
'404': "ApiErrorResponse",
23902390
'409': "ApiErrorResponse",
23912391
'413': "ApiErrorResponse",
2392+
'503': "ApiErrorResponse",
23922393
}
23932394
response_data = self.api_client.call_api(
23942395
*_param,
@@ -2473,6 +2474,7 @@ def load_managed_table_with_http_info(
24732474
'404': "ApiErrorResponse",
24742475
'409': "ApiErrorResponse",
24752476
'413': "ApiErrorResponse",
2477+
'503': "ApiErrorResponse",
24762478
}
24772479
response_data = self.api_client.call_api(
24782480
*_param,
@@ -2557,6 +2559,7 @@ def load_managed_table_without_preload_content(
25572559
'404': "ApiErrorResponse",
25582560
'409': "ApiErrorResponse",
25592561
'413': "ApiErrorResponse",
2562+
'503': "ApiErrorResponse",
25602563
}
25612564
response_data = self.api_client.call_api(
25622565
*_param,

‎hotdata/api/databases_api.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4132,6 +4132,7 @@ def load_database_table(
41324132
'404': "ApiErrorResponse",
41334133
'409': "ApiErrorResponse",
41344134
'413': "ApiErrorResponse",
4135+
'503': "ApiErrorResponse",
41354136
}
41364137
response_data = self.api_client.call_api(
41374138
*_param,
@@ -4216,6 +4217,7 @@ def load_database_table_with_http_info(
42164217
'404': "ApiErrorResponse",
42174218
'409': "ApiErrorResponse",
42184219
'413': "ApiErrorResponse",
4220+
'503': "ApiErrorResponse",
42194221
}
42204222
response_data = self.api_client.call_api(
42214223
*_param,
@@ -4300,6 +4302,7 @@ def load_database_table_without_preload_content(
43004302
'404': "ApiErrorResponse",
43014303
'409': "ApiErrorResponse",
43024304
'413': "ApiErrorResponse",
4305+
'503': "ApiErrorResponse",
43034306
}
43044307
response_data = self.api_client.call_api(
43054308
*_param,

0 commit comments

Comments
 (0)