summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Eastwood <erice@element.io>2022-08-02 20:09:22 -0500
committerEric Eastwood <erice@element.io>2022-08-02 20:09:22 -0500
commit16d17f75531ea6aabe9a61c33a27ae185bacc0d2 (patch)
treea6c5f9467f69ada2b5e5dc6ab34916e8c1540cdd
parentFix remnant (diff)
downloadsynapse-16d17f75531ea6aabe9a61c33a27ae185bacc0d2.tar.xz
Fix table missing column
-rw-r--r--docs/usage/configuration/config_documentation.md5
-rw-r--r--synapse/storage/schema/__init__.py4
-rw-r--r--synapse/storage/schema/main/delta/72/04rename_opentelemtetry_tracing_context.sql (renamed from synapse/storage/schema/main/delta/73/01rename_opentelemtetry_tracing_context.sql)1
3 files changed, 7 insertions, 3 deletions
diff --git a/docs/usage/configuration/config_documentation.md b/docs/usage/configuration/config_documentation.md

index ab408814d0..100f95776b 100644 --- a/docs/usage/configuration/config_documentation.md +++ b/docs/usage/configuration/config_documentation.md
@@ -3604,7 +3604,10 @@ tracing: jaeger_exporter_config: agent_host_name: localhost agent_port: 6831 - collector_endpoint: "http://localhost:14268/api/traces?format=jaeger.thrift" + # Split UDP packets so they fit within the limit (UDP_PACKET_MAX_LENGTH is set to 65k in OpenTelemetry) + udp_split_oversized_batches: true + # If you define a collector, it will communicate directly to the collector, bypassing the agent + #collector_endpoint: "http://localhost:14268/api/traces?format=jaeger.thrift" ``` --- ## Workers ## diff --git a/synapse/storage/schema/__init__.py b/synapse/storage/schema/__init__.py
index d1c462a30f..dd187f7422 100644 --- a/synapse/storage/schema/__init__.py +++ b/synapse/storage/schema/__init__.py
@@ -75,8 +75,8 @@ Changes in SCHEMA_VERSION = 71: Changes in SCHEMA_VERSION = 72: - event_edges.(room_id, is_state) are no longer written to. - Tables related to groups are dropped. - - Rename column in `device_lists_outbound_pokes` from `opentracing_context` to - generalized `tracing_context`. + - Rename column in `device_lists_outbound_pokes` and `device_lists_changes_in_room` + from `opentracing_context` to generalized `tracing_context`. """ diff --git a/synapse/storage/schema/main/delta/73/01rename_opentelemtetry_tracing_context.sql b/synapse/storage/schema/main/delta/72/04rename_opentelemtetry_tracing_context.sql
index f8c333011d..ae904863f8 100644 --- a/synapse/storage/schema/main/delta/73/01rename_opentelemtetry_tracing_context.sql +++ b/synapse/storage/schema/main/delta/72/04rename_opentelemtetry_tracing_context.sql
@@ -15,3 +15,4 @@ -- Rename to generalized `tracing_context` since we're moving from opentracing to opentelemetry ALTER TABLE device_lists_outbound_pokes RENAME COLUMN opentracing_context TO tracing_context; +ALTER TABLE device_lists_changes_in_room RENAME COLUMN opentracing_context TO tracing_context;