Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Synapse to 1.19.1 #187

Merged
merged 13 commits into from
Sep 21, 2020
Merged

Upgrade Synapse to 1.19.1 #187

merged 13 commits into from
Sep 21, 2020

Conversation

ulope
Copy link
Collaborator

@ulope ulope commented Sep 7, 2020

@ulope ulope force-pushed the upgrade/synapse-1.19.1 branch 9 times, most recently from bf627f1 to e62a6f2 Compare September 11, 2020 14:20
@ulope ulope linked an issue Sep 15, 2020 that may be closed by this pull request
ulope added a commit to raiden-network/raiden-services that referenced this pull request Sep 15, 2020
This is necessary after
- raiden-network/raiden-service-bundle#187
- raiden-network/raiden#6442

With those PRs the set of federation servers can become disjunct between
different Raiden client versions. Therefore we can't rely on the
previous check in the Raiden client if the PFS' server is in the known
servers set.

The RoomID is uniquely identifying a specific broadcasting room and can
therefore be used as a better information source for this check.
ulope added a commit to raiden-network/raiden-services that referenced this pull request Sep 16, 2020
This is necessary after
- raiden-network/raiden-service-bundle#187
- raiden-network/raiden#6442

With those PRs the set of federation servers can become disjunct between
different Raiden client versions. Therefore we can't rely on the
previous check in the Raiden client if the PFS' server is in the known
servers set.

The RoomID is uniquely identifying a specific broadcasting room and can
therefore be used as a better information source for this check.
@ulope ulope force-pushed the upgrade/synapse-1.19.1 branch from 97034c3 to 7e0faa8 Compare September 18, 2020 14:24
@ulope ulope force-pushed the upgrade/synapse-1.19.1 branch from 7e0faa8 to 5fa0a8b Compare September 18, 2020 14:28
Copy link
Contributor

@fredo fredo left a comment

Choose a reason for hiding this comment

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

LGTM. More changes than expected though. But useful ones

"transport.transport04.raiden.network",
"transport.transport05.raiden.network"
]
}
Copy link
Contributor

Choose a reason for hiding this comment

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

For what reason do we need the distinction between active and all servers?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Basically it's the outcome of raiden-network/raiden#6443.
We need a separate list for the Raiden clients and the server to server federation whitelist.
Incidentally this also fixes the problem of onboarding new RSBs since we can add them to the all_servers list (so they become whitelisted for the federation) without making them "visible" to Clients yet until they have fully joined the federation.

@ulope ulope merged commit e436de4 into master Sep 21, 2020
@ulope ulope deleted the upgrade/synapse-1.19.1 branch September 21, 2020 09:15
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.

Devise strategy for upgrading to compatibility breaking Synapse version(s) Upgrade Synapse to 1.19.1
2 participants