Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTTの各種タイムラインがアカウント削除やアンテナ/ロール削除時に消えない (と思う) #15577

Open
1 task
anatawa12 opened this issue Mar 1, 2025 · 4 comments
Labels
⚠️bug? This might be a bug [Feat] Antenna Antenna related issue [Feat] Timeline Timeline related issue packages/backend Server side specific issue/PR

Comments

@anatawa12
Copy link
Member

💡 Summary

FTTの各種タイムラインがアカウント削除やアンテナ/ロール削除時に消えないと思います。

コードの上でFanoutTimelineService.purge()が呼び出されてる箇所が見つかりませんでした。

Redis全体を削除するのは通知やアンテナのようにある程度の期間残ることを前提にしたものが数多くあるため現実的ではないためmisskey側で削除するべきだと思います

🥰 Expected Behavior

アカウント削除時には

  • homeTimeline:${string}
  • homeTimelineWithFiles:${string}
  • localTimelineWithReplyTo:${string}
  • userTimeline:${string}
  • userTimelineWithFiles:${string}
  • userTimelineWithReplies:${string}
  • userTimelineWithChannel:${string}
    とそのユーザの所有するアンテナのantennaTimeline:${string}、リストのuserListTimeline:${string}, userListTimelineWithFiles:${string} が、

アンテナ削除時にantennaTimeline:${string}が、リスト削除時にuserListTimeline:${string}, userListTimelineWithFiles:${string}が、チャンネル削除時にchannelTimeline:${string}が、ロール削除時にroleTimeline:${string}が、それぞれ消える

🤬 Actual Behavior

多分redisに残り続ける

📝 Steps to Reproduce

No response

💻 Frontend Environment

* Model and OS of the device(s):
* Browser:
* Server URL:
* Misskey:

🛰 Backend Environment (for server admin)

* Installation Method or Hosting Service:
* Misskey:
* Node:
* PostgreSQL:
* Redis:
* OS and Architecture:

Do you want to address this bug yourself?

  • Yes, I will patch the bug myself and send a pull request
@anatawa12 anatawa12 added the ⚠️bug? This might be a bug label Mar 1, 2025
@Sayamame-beans Sayamame-beans added [Feat] Antenna Antenna related issue [Feat] Timeline Timeline related issue packages/backend Server side specific issue/PR labels Mar 1, 2025
@tai-cha
Copy link
Contributor

tai-cha commented Mar 4, 2025

具体的な出典が出てこなかったけど当初はpurgeが使われていたけどFTTでpurgeすると起きる何らかのバグがあって外されていたような気がします…?(気のせいかもしれないですが)

@tai-cha
Copy link
Contributor

tai-cha commented Mar 4, 2025

勘違いしていたけど個人のTL情報が残り続けてしまうということか(失礼しました)

@anatawa12
Copy link
Member Author

あー、フォロー増えたときとかに使われてたのか。

だとしたらFTT実装当初からの問題ですね。

勘違いしていたけど個人のTL情報が残り続けてしまうということか(失礼しました)

YES

@tai-cha
Copy link
Contributor

tai-cha commented Mar 10, 2025

あー、フォロー増えたときとかに使われてたのか。

見つけました
#12522

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚠️bug? This might be a bug [Feat] Antenna Antenna related issue [Feat] Timeline Timeline related issue packages/backend Server side specific issue/PR
Projects
Development

No branches or pull requests

3 participants