browsertrix/backend/btrixcloud
Ilya Kreymer 6df10d5fb0
Improved Scale Handling (#1889)
Fixes #1888 

Refactors scale handling:
- Ensures number of scaled instances does not exceed number of pages,
but is also at minimum 1
- Checks for finish condition to be numFailed + numDone >= desired scale
- If at least one instance succeeds, crawl considers successful / done.
- If all instances fail, crawl considered failed
- Ensures that pod done count >= redis done count

---------
Co-authored-by: Tessa Walsh <tessa@bitarchivist.net>
2024-06-26 10:24:45 -07:00
..
migrations Backend: Move page file and error counts to crawl replay.json endpoint (#1868) 2024-06-20 19:02:57 -07:00
operator Improved Scale Handling (#1889) 2024-06-26 10:24:45 -07:00
__init__.py
auth.py
background_jobs.py
basecrawls.py ensure QA configmap is updated for long running QA runs: (#1865) 2024-06-12 10:51:35 -07:00
colls.py
crawlconfigs.py Add and enforce readOnly field in Organization (#1886) 2024-06-25 19:30:53 -07:00
crawlmanager.py
crawls.py Add and enforce readOnly field in Organization (#1886) 2024-06-25 19:30:53 -07:00
db.py Backend: Move page file and error counts to crawl replay.json endpoint (#1868) 2024-06-20 19:02:57 -07:00
emailsender.py
invites.py
k8sapi.py Crawler pod memory padding + auto scaling (#1631) 2024-03-28 16:39:00 -07:00
main_op.py Add Repository Index + Chart Rename + Docs Rename (#1708) 2024-04-21 09:42:25 -07:00
main.py Add billing enabled and sales email to Helm chart and /settings API endpoint (#1873) 2024-06-25 10:55:29 -04:00
models.py Add and enforce readOnly field in Organization (#1886) 2024-06-25 19:30:53 -07:00
orgs.py Add and enforce readOnly field in Organization (#1886) 2024-06-25 19:30:53 -07:00
pages.py QA stats aggregation: exclude isFile / isError pages from stats (#1879) 2024-06-25 08:54:42 -07:00
pagination.py
profiles.py Use standard firstSeed/seedCount fallback for workflows with no name in profile details (#1852) 2024-06-06 14:28:19 -04:00
storages.py
uploads.py QA Runs Initial Backend Implementation (#1586) 2024-03-20 22:42:16 -07:00
users.py Fix regression to changing user roles via PATCH /user-role API (#1824) 2024-05-24 10:41:05 -07:00
utils.py
version.py version: bump to 1.10.2 2024-06-11 16:28:40 -07:00
webhooks.py