Skip to content

FlightServiceGrpcImpl getFlightInfo / getSchema unauthenticated path misimplemented #6374

Open

Description

@devinrsmith

Noticed after #6215 in #6023 that there were certain cases where RPCs were hanging in tests. These happened to be FlightServiceGrpcImpl#getFlightInfo and FlightServiceGrpcImpl#getSchema calls with unauthenticated users where the implementation returns an ExportObject in that contains an error, the service does not end up ever calling onError.

There is a partial workaround by reverting part of #6215 where the TicketRouter explicitly catches RuntimeException and re-wraps as SessionState.wrapAsFailedExport, but this is not sufficient as the TicketResolver itself may choose to wrap an exception in an ExportObject instead of throwing it.

Activity

  1. added
    bug
    on Nov 13, 2024
  2. added this to the Triage milestone on Nov 13, 2024
  3. devinrsmith commented on Nov 13, 2024

    @devinrsmith
    MemberAuthor

    The io.deephaven.server.flightsql.FlightSqlUnauthenticatedTest in #6023 can reproduce this issue.

  4. modified the milestones: Triage, 0.38.0 on Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

buggrpc

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions