@estpls @kumanotetu Scoped order is ignored の件は、modelのMediaAttachmentにdefault_scopeで:idによるorderがつけられているので、find_in_batchesでは無視するよー!っていうメッセージです。綺麗じゃ無いけど、とりあえず無害です。
https://github.com/tootsuite/mastodon/pull/7678
こいつで、mastodon:media:remove_remoteを一つずつfind_eachしてその場で削除する処理を、find_in_batchesで1000個ずつUncacheMediaWorkerを生成するループに変更して、sidekiqで走るUncacheMediaWorkerで削除処理をするように変更されています。
とりあえず。 #dtp