Skip to content

Remove group mutex and related code and replace with GroupGuard where it was being used#2824

Open
tylerhawkes wants to merge 1 commit intomainfrom
remove-group-mutex
Open

Remove group mutex and related code and replace with GroupGuard where it was being used#2824
tylerhawkes wants to merge 1 commit intomainfrom
remove-group-mutex

Conversation

@tylerhawkes
Copy link
Copy Markdown
Contributor

@tylerhawkes tylerhawkes commented Nov 21, 2025

Remove per-group mutexes and eliminate MutexRegistry usage across xmtp_mls, replacing prior guards per the PR motivation

Delete MutexRegistry, remove tokio::Mutex from MlsGroup, drop mutex accessors from XmtpSharedContext, and stop locking in MlsGroup.sync_with_conn.

📍Where to Start

Start with MlsGroup construction and locking changes in xmtp_mls/src/groups/mod.rs, then review sync_with_conn in xmtp_mls/src/groups/mls_sync.rs.


Macroscope summarized 63eafd4.

Copy link
Copy Markdown
Contributor Author

tylerhawkes commented Nov 21, 2025


How to use the Graphite Merge Queue

Add the label mergequeue to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@claude
Copy link
Copy Markdown

claude Bot commented Nov 21, 2025

Claude encountered an error —— View job


I'll analyze this and get back to you.

@tylerhawkes tylerhawkes marked this pull request as ready for review November 21, 2025 08:08
@tylerhawkes tylerhawkes requested a review from a team as a code owner November 21, 2025 08:08
@tylerhawkes tylerhawkes force-pushed the remove-group-mutex branch 2 times, most recently from db73031 to c302cab Compare November 21, 2025 08:34
@tylerhawkes tylerhawkes changed the base branch from group-locks to graphite-base/2824 November 21, 2025 18:30
@tylerhawkes tylerhawkes changed the base branch from graphite-base/2824 to main November 21, 2025 18:30
Copy link
Copy Markdown
Contributor

@neekolas neekolas left a comment

Choose a reason for hiding this comment

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

Also seems like it can be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants