bug: "room <ID> has no state" in sync #1142

Open
opened 2025-11-02 21:34:48 +00:00 by nex · 1 comment
Owner

The root cause of this bug is unknown, however it is somewhat easy to reproduce in very large (and typically quite broken) rooms, seemingly spaces in particular.

I know of at least two spaces that have caused this bug, #community:matrix.org (matrix community space) and #space:nixos.org (NixOS space). My best guess is that joining the room gets far enough into the process that the user's membership cache is updated, however saving the room state fails (due to bad data? corrupted state chains?), which does return an error to the joining user, but causes sync to light up like a christmas tree.

ERROR conduwuit_api::client::sync::v3: Room !iMZEhwCvbfeAYUxAjZ:t2l.io has no state etc etc

let current_shortstatehash = services
.rooms
.state
.get_room_shortstatehash(room_id)
.map_err(|_| err!(Database(error!("Room {room_id} has no state"))));

The error site seems to imply that there is no state being associated with a short state hash when there should be one.

The root cause of this bug is unknown, however it is somewhat easy to reproduce in very large (and typically quite broken) rooms, seemingly spaces in particular. I know of at least two spaces that have caused this bug, `#community:matrix.org` (matrix community space) and `#space:nixos.org` (NixOS space). My best guess is that joining the room gets far enough into the process that the user's membership cache is updated, however saving the room state fails (due to bad data? corrupted state chains?), which does return an error to the joining user, but causes sync to light up like a christmas tree. `ERROR conduwuit_api::client::sync::v3: Room !iMZEhwCvbfeAYUxAjZ:t2l.io has no state` etc etc https://forgejo.ellis.link/continuwuation/continuwuity/src/commit/fbf48addc747a7afe4076627aa7213293df7cde0/src/api/client/sync/v3.rs#L608-L612 The error site seems to imply that there is no state being associated with a short state hash when there should be one.
Author
Owner

Repro'd this in the wild:

2025-11-08T00:34:45.345956Z  INFO join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_api::client::membership::join: Joining !iuyQXswfjgxQMZGrfQ:matrix.org over federation.
2025-11-08T00:34:45.345962Z  INFO join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_api::client::membership::join: Asking matrix.org for make_join (0)
2025-11-08T00:34:45.894717Z  INFO join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_api::client::membership::join: make_join finished
2025-11-08T00:34:45.894866Z  INFO join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_api::client::membership::join: Asking matrix.org for send_join in room !iuyQXswfjgxQMZGrfQ:matrix.org
2025-11-08T00:35:23.346125Z  INFO join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_api::client::membership::join: send_join finished
2025-11-08T00:35:23.357195Z  INFO join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_api::client::membership::join: Parsing join event
2025-11-08T00:35:23.357255Z  INFO join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_api::client::membership::join: Acquiring server signing keys for response events
2025-11-08T00:35:23.730825Z  INFO join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_service::server_keys::acquire: 2 keys for 2 servers will be acquired
2025-11-08T00:35:27.436041Z  WARN join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_service::server_keys::acquire: missing 2 keys for 2 servers from all notaries first
2025-11-08T00:35:28.699560Z  WARN join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_service::server_keys::acquire: did not obtain 2 keys for 2 servers out of 1714 total keys for 1611 total servers.
2025-11-08T00:35:28.699867Z  INFO join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_api::client::membership::join: Going through send_join response room_state
2025-11-08T00:35:34.121814Z  INFO join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_api::client::membership::join: Going through send_join response auth_chain
2025-11-08T00:35:39.072605Z  INFO join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_api::client::membership::join: Compressing state from send_join
  2025-11-08T00:35:42.526615Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state
    at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(3)
2025-11-08T00:35:42.526652Z  WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org"
  2025-11-08T00:35:42.526937Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state
    at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(5)
2025-11-08T00:35:42.526954Z  WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org"
  2025-11-08T00:35:42.674741Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state
    at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(4)
2025-11-08T00:35:42.674770Z  WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org"
  2025-11-08T00:35:42.719011Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state
    at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(4)
2025-11-08T00:35:42.719038Z  WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org"
  2025-11-08T00:35:44.032971Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state
    at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(2)
2025-11-08T00:35:44.033013Z  WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org"
  2025-11-08T00:35:44.078052Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state
    at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(4)
2025-11-08T00:35:44.078085Z  WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org"
  2025-11-08T00:35:44.163803Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state
    at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(3)
2025-11-08T00:35:44.163833Z  WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org"
  2025-11-08T00:35:44.376142Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state
    at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(2)
2025-11-08T00:35:44.376183Z  WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org"
  2025-11-08T00:35:45.201438Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state
    at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(2)
2025-11-08T00:35:45.201467Z  WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org"
  2025-11-08T00:35:45.245319Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state
    at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(3)
2025-11-08T00:35:45.245346Z  WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org"
  2025-11-08T00:35:45.324118Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state
    at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(5)
2025-11-08T00:35:45.324146Z  WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org"
  2025-11-08T00:35:45.462351Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state
    at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(2)
2025-11-08T00:35:45.462376Z  WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org"
  2025-11-08T00:35:45.464281Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state
    at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(5)
2025-11-08T00:35:45.464306Z  WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org"
  2025-11-08T00:35:45.653840Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state
    at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(2)
2025-11-08T00:35:45.653865Z  WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org"
  2025-11-08T00:35:57.759566Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state
    at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(2)
2025-11-08T00:35:57.759616Z  WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org"
  2025-11-08T00:35:57.788053Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state
    at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(3)
2025-11-08T00:35:57.788123Z  WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org"
  2025-11-08T00:35:57.994530Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state
    at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(5)
2025-11-08T00:35:57.994693Z  WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org"
  2025-11-08T00:35:58.051506Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state
    at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(2)
2025-11-08T00:35:58.051535Z  WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org"
  2025-11-08T00:36:03.984975Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state
    at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(5)
2025-11-08T00:36:03.985002Z  WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org"
  2025-11-08T00:36:04.015340Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state
    at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(3)
2025-11-08T00:36:04.015381Z  WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org"
  2025-11-08T00:36:04.176789Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state
    at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(3)
2025-11-08T00:36:04.176819Z  WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org"
  2025-11-08T00:36:04.219586Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state
    at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(5)
2025-11-08T00:36:04.219616Z  WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org"
2025-11-08T00:36:27.672397Z  INFO join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_api::client::membership::join: Appending new room join event
2025-11-08T00:36:27.734199Z  INFO join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_api::client::membership::join: Setting final room state for new room

my professional™️ opinion is there's a race condition between saving the room state response, and finishing adding the sender's membership event to the local graph.

Repro'd this in the wild: ``` 2025-11-08T00:34:45.345956Z INFO join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_api::client::membership::join: Joining !iuyQXswfjgxQMZGrfQ:matrix.org over federation. 2025-11-08T00:34:45.345962Z INFO join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_api::client::membership::join: Asking matrix.org for make_join (0) 2025-11-08T00:34:45.894717Z INFO join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_api::client::membership::join: make_join finished 2025-11-08T00:34:45.894866Z INFO join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_api::client::membership::join: Asking matrix.org for send_join in room !iuyQXswfjgxQMZGrfQ:matrix.org 2025-11-08T00:35:23.346125Z INFO join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_api::client::membership::join: send_join finished 2025-11-08T00:35:23.357195Z INFO join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_api::client::membership::join: Parsing join event 2025-11-08T00:35:23.357255Z INFO join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_api::client::membership::join: Acquiring server signing keys for response events 2025-11-08T00:35:23.730825Z INFO join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_service::server_keys::acquire: 2 keys for 2 servers will be acquired 2025-11-08T00:35:27.436041Z WARN join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_service::server_keys::acquire: missing 2 keys for 2 servers from all notaries first 2025-11-08T00:35:28.699560Z WARN join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_service::server_keys::acquire: did not obtain 2 keys for 2 servers out of 1714 total keys for 1611 total servers. 2025-11-08T00:35:28.699867Z INFO join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_api::client::membership::join: Going through send_join response room_state 2025-11-08T00:35:34.121814Z INFO join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_api::client::membership::join: Going through send_join response auth_chain 2025-11-08T00:35:39.072605Z INFO join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_api::client::membership::join: Compressing state from send_join 2025-11-08T00:35:42.526615Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(3) 2025-11-08T00:35:42.526652Z WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org" 2025-11-08T00:35:42.526937Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(5) 2025-11-08T00:35:42.526954Z WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org" 2025-11-08T00:35:42.674741Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(4) 2025-11-08T00:35:42.674770Z WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org" 2025-11-08T00:35:42.719011Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(4) 2025-11-08T00:35:42.719038Z WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org" 2025-11-08T00:35:44.032971Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(2) 2025-11-08T00:35:44.033013Z WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org" 2025-11-08T00:35:44.078052Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(4) 2025-11-08T00:35:44.078085Z WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org" 2025-11-08T00:35:44.163803Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(3) 2025-11-08T00:35:44.163833Z WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org" 2025-11-08T00:35:44.376142Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(2) 2025-11-08T00:35:44.376183Z WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org" 2025-11-08T00:35:45.201438Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(2) 2025-11-08T00:35:45.201467Z WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org" 2025-11-08T00:35:45.245319Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(3) 2025-11-08T00:35:45.245346Z WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org" 2025-11-08T00:35:45.324118Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(5) 2025-11-08T00:35:45.324146Z WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org" 2025-11-08T00:35:45.462351Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(2) 2025-11-08T00:35:45.462376Z WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org" 2025-11-08T00:35:45.464281Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(5) 2025-11-08T00:35:45.464306Z WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org" 2025-11-08T00:35:45.653840Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(2) 2025-11-08T00:35:45.653865Z WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org" 2025-11-08T00:35:57.759566Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(2) 2025-11-08T00:35:57.759616Z WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org" 2025-11-08T00:35:57.788053Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(3) 2025-11-08T00:35:57.788123Z WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org" 2025-11-08T00:35:57.994530Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(5) 2025-11-08T00:35:57.994693Z WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org" 2025-11-08T00:35:58.051506Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(2) 2025-11-08T00:35:58.051535Z WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org" 2025-11-08T00:36:03.984975Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(5) 2025-11-08T00:36:03.985002Z WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org" 2025-11-08T00:36:04.015340Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(3) 2025-11-08T00:36:04.015381Z WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org" 2025-11-08T00:36:04.176789Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(3) 2025-11-08T00:36:04.176819Z WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org" 2025-11-08T00:36:04.219586Z ERROR conduwuit_api::client::sync::v3::joined: Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state at src/api/client/sync/v3/joined.rs:79 on conduwuit:worker ThreadId(5) 2025-11-08T00:36:04.219616Z WARN conduwuit_api::client::sync::v3: error loading joined room !iuyQXswfjgxQMZGrfQ:matrix.org err=Room !iuyQXswfjgxQMZGrfQ:matrix.org has no state room_id="!iuyQXswfjgxQMZGrfQ:matrix.org" 2025-11-08T00:36:27.672397Z INFO join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_api::client::membership::join: Appending new room join event 2025-11-08T00:36:27.734199Z INFO join{client=10.11.10.124}:join_remote{sender_user=@nex:nexy7574.co.uk room_id=!iuyQXswfjgxQMZGrfQ:matrix.org}: conduwuit_api::client::membership::join: Setting final room state for new room ``` my professional:tm: opinion is there's a race condition between saving the room state response, and finishing adding the sender's membership event to the local graph.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
continuwuation/continuwuity#1142
No description provided.