Skip to content

ユーザー削除Activityがリモートにdeliverされないことがある #7506

@mei23

Description

@mei23

💡 Summary

v11以降
リモートdeliverの署名使用するKeをがQueueに一緒に格納→requestするタイミングでDBから取得に変更になっているが
ユーザー削除の場合DBレコードが先に消えてしまっている可能性があるので、タイミングや再送の場合にはエラーになってしまうことがある。

  1. Enqueue Delete Activity
  2. Delete User/UserKeypair record
  3. Dequeue Delete Activity
  4. Fetch UserKeypair もう存在しない!
EntityNotFound: Could not find any entity of type "UserKeypair" matching: "id"

🙂 Expected Behavior

☹️ Actual Behavior

📝 Steps to Reproduce

📌 Environment

Metadata

Metadata

Assignees

Labels

🌌FederationThe Federation/ActivityPub feature🐛BugUnexpected behavior (Confirmed as an actual bug)

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions