Skip to content

MSC3895: Federation API Behaviour of Partial-State Resident Servers#3895

Draft
reivilibre wants to merge 1 commit intomainfrom
rei/unable_partial_state_room
Draft

MSC3895: Federation API Behaviour of Partial-State Resident Servers#3895
reivilibre wants to merge 1 commit intomainfrom
rei/unable_partial_state_room

Conversation

@reivilibre
Copy link
Copy Markdown
Contributor

@reivilibre reivilibre commented Sep 22, 2022

This MSC is currently considered a draft

Rendered

@reivilibre reivilibre changed the title . MSC3895: Federation API Behaviour of Partial-State Resident Servers Sep 22, 2022
@reivilibre reivilibre force-pushed the rei/unable_partial_state_room branch from 7a92c74 to 0ab2a5f Compare September 22, 2022 16:23
@turt2live turt2live added proposal A matrix spec change proposal s2s Server-to-Server API (federation) kind:maintenance MSC which clarifies/updates existing spec needs-implementation This MSC does not have a qualifying implementation for the SCT to review. The MSC cannot enter FCP. labels Sep 22, 2022

---

This appendix to [MSC3706] suggests adding an error code (`M_UNABLE_DUE_TO_PARTIAL_STATE`) to the Server-Server API.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's really not an appendix to MSC3706. That's specific to /send_join, whereas this covers other federation APIs.


This appendix to [MSC3706] suggests adding an error code (`M_UNABLE_DUE_TO_PARTIAL_STATE`) to the Server-Server API.

This error can be returned by a server when it is unable to answer a query whilst it is undergoing an MSC3706 partial state join, for example because:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which APIs are allowed to return this error code?


This appendix to [MSC3706] suggests adding an error code (`M_UNABLE_DUE_TO_PARTIAL_STATE`) to the Server-Server API.

This error can be returned by a server when it is unable to answer a query whilst it is undergoing an MSC3706 partial state join, for example because:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I receive this error code as a homeserver, how should I behave differently?

jackmaninov added a commit to jackmaninov/gomatrixserverlib that referenced this pull request Nov 29, 2025
Add error code for faster joins (MSC3706) to return when a federation
request cannot be processed because the room is in partial state and
has not yet completed its background state resynchronization.

See: matrix-org/matrix-spec-proposals#3895

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:maintenance MSC which clarifies/updates existing spec needs-implementation This MSC does not have a qualifying implementation for the SCT to review. The MSC cannot enter FCP. proposal A matrix spec change proposal s2s Server-to-Server API (federation)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants