You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only difference is that there won't be backtraces from the schema registry in the error message.
failed to validate sink: config error: all request confluent registry all timeout, req path ["subjects", "test-rw-sink-upsert-avro-err-key", "versions", "latest"], urls http://schemaregistry:8082/
confluent schema registry error 40401: Subject 'test-rw-sink-upsert-avro-err-key' not found. io.confluent.rest.exceptions.RestNotFoundException: Subject 'test-rw-sink-upsert-avro-err-key' not found.
- io.confluent.rest.exceptions.RestNotFoundException: Subject 'test-rw-sink-upsert-avro-err-key' not found.- at io.confluent.kafka.schemaregistry.rest.exceptions.Errors.subjectNotFoundException(Errors.java:78)- at io.confluent.kafka.schemaregistry.rest.resources.SubjectVersionsResource.getSchemaByVersion(SubjectVersionsResource.java:154)- at jdk.internal.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
Following this insight, I suppose it's because we always encode the ServerError in gRPC (HTTP2) headers (#13282), and there's an outstanding issue where tonic 0.12 will hang forever when the header size exceeds some limit.
e2e-sink-test now consistently hangs here:
risingwave/e2e_test/sink/kafka/avro.slt
Lines 189 to 196 in 8d8c136
I find that by disabling
SCHEMA_REGISTRY_DEBUG
here, this issue is gone.risingwave/ci/docker-compose.yml
Line 269 in 8d8c136
The only difference is that there won't be backtraces from the schema registry in the error message.
Following this insight, I suppose it's because we always encode the
ServerError
in gRPC (HTTP2) headers (#13282), and there's an outstanding issue wheretonic 0.12
will hang forever when the header size exceeds some limit.risingwave/src/error/src/tonic.rs
Lines 68 to 71 in 8d8c136
Upstream issues:
ATM there seems to be no fix. I'll disable
SCHEMA_REGISTRY_DEBUG
now as a workaround and open an issue for this.Originally posted by @BugenZhao in #17889 (comment)
The text was updated successfully, but these errors were encountered: