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

Already on GitHub? Sign in to your account

Fix port script for user directory tables #2375

Merged
merged 2 commits into from Jul 20, 2017

Conversation

Projects
None yet
2 participants
Owner

erikjohnston commented Jul 20, 2017

No description provided.

LGTM?

scripts/synapse_port_db
+ return
+
+ if table == "user_directory_stream_pos":
+ # We need to make sure there is a single row, `(X, null)`
@NegativeMjark

NegativeMjark Jul 20, 2017

Contributor

Why do we need a single row OOI? (It might be helpful to say here in the comment)

@erikjohnston erikjohnston merged commit b274297 into develop Jul 20, 2017

0 of 3 checks passed

Sytest Dendron (Merged PR) Build triggered. sha1 is merged.
Details
Sytest Postgres (Merged PR) Build triggered. sha1 is merged.
Details
Sytest SQLite (Merged PR) Build triggered. sha1 is merged.
Details

spantaleev added a commit to spantaleev/matrix-docker-ansible-deploy that referenced this pull request Oct 14, 2017

Stop using patched synapse_port_db script
The non-working script is supposed to be fixed
by matrix-org/synapse#2375

To have it work, we'd need an updated Docker image
of `silviof/matrix-riot-docker:latest`, which is not yet available
at the time of this commit.

Still, the previous patched synapse_port_db didn't work well either,
so it's not like we're regressing much by getting rid of it.

@erikjohnston erikjohnston deleted the erikj/port_script branch Oct 26, 2017

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