Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Background process 'sync_partial_state_room' threw an exception #13430

Closed
richvdh opened this issue Aug 1, 2022 · 0 comments · Fixed by #13432
Closed

Background process 'sync_partial_state_room' threw an exception #13430

richvdh opened this issue Aug 1, 2022 · 0 comments · Fixed by #13432
Assignees
Labels
A-Federated-Join joins over federation generally suck T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.

Comments

@richvdh
Copy link
Member

richvdh commented Aug 1, 2022

This seems to happen after there is an error contacting a server for state:

Traceback (most recent call last):
  File "/home/synapse/src/synapse/synapse/metrics/background_process_metrics.py", line 240, in run
    return await func(*args, **kwargs)
  File "/home/synapse/src/synapse/synapse/handlers/federation.py", line 1597, in _sync_partial_state_room
    if attempt == len(destinations) - 1:
UnboundLocalError: local variable 'destinations' referenced before assignment
@richvdh richvdh added T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. A-Federated-Join joins over federation generally suck labels Aug 1, 2022
@squahtx squahtx self-assigned this Aug 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Federated-Join joins over federation generally suck T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants