Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Deploy AIOS web (React glide grid + FastAPI slice)
Browse files- RELEASES.json +1 -1
- VERSION +1 -1
- platform/core/store_pg.py +5 -2
- web/public/AIOS_DEPLOY_RECEIPT +1 -1
RELEASES.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"current": "
|
| 3 |
"releases": []
|
| 4 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"current": "b414845 (b414845)",
|
| 3 |
"releases": []
|
| 4 |
}
|
VERSION
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
b414845 (b414845)
|
platform/core/store_pg.py
CHANGED
|
@@ -426,8 +426,11 @@ def _shared_read(name, drops, tenant_slug, fetch_text):
|
|
| 426 |
if not leader:
|
| 427 |
flight.done.wait()
|
| 428 |
if flight.error is not None:
|
| 429 |
-
|
| 430 |
-
|
|
|
|
|
|
|
|
|
|
| 431 |
return flight.text
|
| 432 |
try:
|
| 433 |
flight.text = fetch_text()
|
|
|
|
| 426 |
if not leader:
|
| 427 |
flight.done.wait()
|
| 428 |
if flight.error is not None:
|
| 429 |
+
# ⛔ THE LEADER'S OWN EXCEPTION, never a wrapper: routes and retries classify store
|
| 430 |
+
# failures by TYPE (`PoolTimeout`/`OperationalError` -> 503 "try again", a transient
|
| 431 |
+
# retry), and a follower that saw `RuntimeError` would be answered as a 500 exactly
|
| 432 |
+
# when the pool is starved, which is when reads coalesce.
|
| 433 |
+
raise flight.error
|
| 434 |
return flight.text
|
| 435 |
try:
|
| 436 |
flight.text = fetch_text()
|
web/public/AIOS_DEPLOY_RECEIPT
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
cfa7bb771a223b7801df44dbd9d314ad12996ee42e6074c0ef13e5075f930110
|