Page MenuHomePhabricator

Optionally mark utterance files with TTL in Swift
Closed, ResolvedPublic3 Estimated Story Points

Description

Detect if Swift is in use and:

  • Set TTL on creation of file.
  • Don't invoke delete in FS when flushing expired utterances.

This will require a MW core patch that accepts (read: does not filter out) FS file creation option header X-Delete-After. It will also require that the administrator of the Swift has turned on this feature.

Event Timeline

Change 680993 had a related patch set uploaded (by Karl Wettin (WMSE); author: Karl Wettin (WMSE)):

[mediawiki/extensions/Wikispeech@master] Optionally mark utterance files with TTL in Swift

https://gerrit.wikimedia.org/r/680993

kalle renamed this task from Ad hoc features for Swift FS in UtteranceStore to Optionally mark utterance files with TTL in Swift.Apr 19 2021, 9:36 AM
kalle updated the task description. (Show Details)
kalle updated the task description. (Show Details)
kalle moved this task from 🤠 This week to 🤔 Awaits action on the User-kalle board.
kalle set the point value for this task to 2.Apr 22 2021, 8:03 AM
kalle changed the point value for this task from 2 to 3.

Change 680993 merged by jenkins-bot:

[mediawiki/extensions/Wikispeech@master] Optionally mark utterance files with TTL in Swift

https://gerrit.wikimedia.org/r/680993

This will require a MW core patch that accepts (read: does not filter out) FS file creation option header X-Delete-After.

Has anyone filed a task for this? Nothing is obviously cross linked