icy-exabyte-25104
12/20/2022, 9:26 PMINFO:aiohttp.access:XX.XX.XX.XX [20/Dec/2022:20:59:37 +0000] "GET /api/runs?_order=-ts_epoch&_limit=30&_group_limit=31&_page=1&ts_epoch%3Age=1668902400000 HTTP/1.1" 500 0 "<https://m>*********/?timerange_start=1668902400000" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"
ERROR:AsyncPostgresDB:ui:Exception occured
Traceback (most recent call last):
File "/root/services/ui_backend_service/data/db/tables/base.py", line 228, in execute_sql
await cur.execute(select_sql, values)
File "/opt/latest/lib/python3.7/site-packages/aiopg/connection.py", line 426, in execute
await self._conn._poll(waiter, timeout)
File "/opt/latest/lib/python3.7/site-packages/aiopg/connection.py", line 884, in _poll
raise exc
File "/opt/latest/lib/python3.7/site-packages/aiopg/connection.py", line 881, in _poll
await asyncio.wait_for(self._waiter, timeout)
File "/usr/lib/python3.7/asyncio/tasks.py", line 409, in wait_for
await waiter
concurrent.futures._base.CancelledError
What we can do to recover from this and avoid this in future. Thanksaverage-beach-28850
12/20/2022, 9:47 PMaverage-beach-28850
12/20/2022, 9:48 PMaverage-beach-28850
12/20/2022, 9:48 PMCancelledError if I recall correctly is a bit of a red herring, its from asyncio request being cancelled due to operation timing out, but its not the root cause by itselficy-exabyte-25104
12/20/2022, 9:57 PMaverage-beach-28850
12/20/2022, 9:59 PMaverage-beach-28850
12/20/2022, 10:00 PMicy-exabyte-25104
12/20/2022, 10:12 PMicy-exabyte-25104
12/20/2022, 10:12 PMicy-exabyte-25104
12/20/2022, 10:12 PMaverage-beach-28850
12/20/2022, 10:19 PMaverage-beach-28850
12/20/2022, 10:20 PMaverage-beach-28850
12/20/2022, 10:21 PMicy-exabyte-25104
12/20/2022, 10:21 PMicy-exabyte-25104
12/20/2022, 10:37 PMicy-exabyte-25104
12/20/2022, 10:37 PMicy-exabyte-25104
12/20/2022, 10:38 PM/api/runs if I try that separately, it only fails when _order=-ts_epoch is passedicy-exabyte-25104
12/20/2022, 10:38 PMruns?_limit=30&_group_limit=31&_page=1icy-exabyte-25104
12/20/2022, 10:38 PMicy-exabyte-25104
12/20/2022, 10:39 PMorder parameter it failsaverage-beach-28850
12/20/2022, 10:46 PMaverage-beach-28850
12/20/2022, 10:47 PMicy-exabyte-25104
12/20/2022, 10:54 PMicy-exabyte-25104
12/21/2022, 9:35 PMCREATE INDEX CONCURRENTLY IF NOT EXISTS runs_v3_idx_epoch_ts_desc ON runs_v3 (ts_epoch DESC);icy-exabyte-25104
12/21/2022, 9:35 PM