Skip to content

Conversation

@jonasfj
Copy link
Member

@jonasfj jonasfj commented Oct 28, 2024

  • Garbage collection of version numbers, specifically archives.
  • Use tryDelete instead of delete to avoid errors from racing deletion, when GCS then returns 404.
  • Introduce _minGarbageAge to avoid deleting files before they are at-least a day old. This way GC won't race against creation of new files.

 * Garbage collection of version numbers, specifically archives.
 * Use `tryDelete` instead of `delete` to avoid errors from racing
   deletion, when GCS then returns 404.
 * Introduce `_minGarbageAge` to avoid deleting files before they are
   at-least a day old. This way GC won't race against creation of new
   files.
@jonasfj jonasfj requested a review from isoos October 28, 2024 12:41
@jonasfj jonasfj merged commit e82c94d into dart-lang:master Oct 28, 2024
7 checks passed
@jonasfj jonasfj deleted the exported-api-gc-versions branch October 28, 2024 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants