Skip to content

bot and web process fight for setting account data, leading to TXN OPERROR in Synapse (⇒ 500s), so the web process crashes #251

@reivilibre

Description

@reivilibre
2025-01-21 17:19:27.759	
2025-01-21 17:19:27,749 - synapse.storage.txn - 787 - WARNING - PUT-2433- [TXN OPERROR] {add_user_account_data-259b} could not serialize access due to concurrent update
	
	
2025-01-21 17:19:27.786	
2025-01-21 17:19:27,775 - synapse.storage.txn - 787 - WARNING - PUT-2433- [TXN OPERROR] {add_user_account_data-259b} could not serialize access due to concurrent update
	
	
2025-01-21 17:19:27.813	
2025-01-21 17:19:27,804 - synapse.storage.txn - 787 - WARNING - PUT-2433- [TXN OPERROR] {add_user_account_data-259b} could not serialize access due to concurrent update
	
	
2025-01-21 17:19:27.850	
2025-01-21 17:19:27,845 - synapse.storage.txn - 787 - WARNING - PUT-2433- [TXN OPERROR] {add_user_account_data-259b} could not serialize access due to concurrent update
	
	
2025-01-21 17:19:27.929	
2025-01-21 17:19:27,928 - synapse.storage.txn - 787 - WARNING - PUT-2433- [TXN OPERROR] {add_user_account_data-259b} could not serialize access due to concurrent update
	
	
2025-01-21 17:19:27.989	
2025-01-21 17:19:27,988 - synapse.storage.txn - 787 - WARNING - PUT-2433- [TXN OPERROR] {add_user_account_data-259b} could not serialize access due to concurrent update
	
	
2025-01-21 17:19:28.003	
2025-01-21 17:19:27,995 - synapse.http.server - 146 - ERROR - PUT-2433- Failed handle request via 'AccountDataServlet': <XForwardedForRequest at 0xffff699b9d50 method='PUT' uri='/_matrix/client/v3/user/%40bot%3Afosdem.org/account_data/m.direct?user_id=%40bot%3Afosdem.org' clientproto='HTTP/1.1' site='8009'>
	
	
2025-01-21 17:19:28.264	
2025-01-21 17:19:28,250 - synapse.access.http.8009 - 508 - INFO - PUT-2433- 3.74.23.23 - 8009 - {@bot:fosdem.org} Processed request: 0.334sec/0.213sec (0.037sec, 0.006sec) (0.005sec/0.263sec/2) 55B 500 "PUT /_matrix/client/v3/user/%40bot%3Afosdem.org/account_data/m.direct?user_id=%40bot%3Afosdem.org HTTP/1.1" "-" [0 dbevts]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions