Reset instance data based on heuristics #315
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#315
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is a spinoff issue from discussions that happened in #304 and the suggestion made in #312.
Practically the reachable state of an instance is already reset if it goes dead for a couple of years and then comes back online with a new instance public key, however, that wouldn't be true for the
has_request_signatures
field I cooked up in the aforementioned issue and PR. At the moment, it will stay true if it was set true before.We would be treating new instance actor keys as a new instance entirely, and if we update the keys, all fields get reset (for now, it would just be the single boolean flag, but if we come up with new instance statistics, I think they would fall down on this kind of problem sooner or later).
A possible compromise that would be less complex would be to reset the fields on
unreachable -> reachable
state transitions (so we would be saying that in a period of unreachability for 7 days IIRC, the instance would need to prove its properties all over again, I'd be okay with that).