Commit Graph

21 Commits

Author SHA1 Message Date
yflory 1c2dc2cbef lint compliance 2024-03-07 14:58:14 +01:00
yflory d92636bcf8 Fix DRY_RUN issue 2024-01-09 15:09:41 +01:00
yflory ff3a40aa31 Fix TypeError 2024-01-08 19:11:20 +01:00
yflory 467e8ee7fe Use ctime to detect deletable archived blobs 2024-01-08 14:41:00 +01:00
yflory b22441446c Fix eviction error and add DRY_RUN to the archive cleaning script 2024-01-08 14:12:04 +01:00
yflory 70d84838df Add DRY_RUN option to the eviction script 2024-01-08 14:08:26 +01:00
David Benque 8f0a6319a5 Apply headers 2023-10-20 15:35:26 +01:00
yflory 91af47994b Placeholder on file deletion 2023-09-07 17:03:20 +02:00
yflory ce572e813e Update eviction script 2023-08-23 10:57:11 +02:00
yflory 5807b4dddf Reduce memory usage for the eviction script 2023-08-21 12:45:18 +02:00
ansuz 7b65d3e8c8 judge blob activity based on mtime instead of atime
and output a basic overview when eviction completes
2023-01-23 08:29:36 +05:30
ansuz c7dedf4054 more logging for potentially long-running eviction processes 2023-01-19 10:14:22 +05:30
ansuz 15272a6604 relocate blobs that have been archived to the wrong location 2023-01-19 08:57:39 +05:30
ansuz 9e1d82f373 move archive deletion out of the main eviction script 2021-02-17 14:17:41 +05:30
ansuz faa7ebf399 Fix some bugs with integrated eviction
1. implement SET_LAST_EVICTION as an admin command, not a decree
2. expect a return value from Env.evictInactive and expose it via Env.evictionReport
2020-10-15 13:15:39 +05:30
ansuz ac322c8e82 make the eviction script call back with accumulated statistics 2020-10-14 17:23:53 +05:30
ansuz a29c5641b8 introduce some artificial delays in the eviction script
...and reduce the margin of error in its bloom filters
2020-10-14 17:22:31 +05:30
ansuz f2ec9cbe33 load premium and customLimits to avoid evicting them even if inactive 2020-10-12 19:18:12 +05:30
ansuz 04d1bc9cd7 archive inactive data in one of the server's workers 2020-09-30 14:45:52 +05:30
ansuz 6ada5fd751 always consider premium accounts to be active 2020-09-29 18:48:23 +05:30
ansuz 5358fab615 more WIP inactive account eviction 2020-09-29 18:04:51 +05:30