mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-12 03:48:56 +00:00
Each spend-log delete batch and the remaining-rows probe ran inside a prisma interactive transaction with the default 5s timeout while setting a 30s Postgres statement and lock timeout. A batch that waited on a lock for more than 5s was closed by the query engine with a 422 and rolled back, and after three such batches the cleanup run aborted with nothing deleted. Reuse the partition manager's bounded_tx, which sizes the prisma timeout to the statement bound plus commit slack, for the delete batch and the probe. Resolves LIT-8686 Co-authored-by: yassin <yassin@berri.ai> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| test_chunked_in_lists.py | ||
| test_cleanup_transactions.py | ||
| test_global_spend_refresh_writer.py | ||
| test_harness_lifecycle.py | ||
| test_managed_file_flat_ids_index.py | ||
| test_migration_entrypoint.py | ||
| test_partition_transactions.py | ||
| test_proxy_boot_without_general_settings.py | ||
| test_reader_writer_regeneration.py | ||
| test_request_log_indexes_at_boot.py | ||
| test_roi_observed.py | ||
| test_roi_sync_store.py | ||
| test_transaction_atomicity.py | ||
| test_v1_migration_error_logging.py | ||