Skip to content

Conversation

@lupko
Copy link
Contributor

@lupko lupko commented Apr 9, 2025

  • ErrorInfo is passed as FlightError.extra_info
  • In turn, extra_info contents are transported via gRPC headers
  • gRPC headers have hard limit of 16kB size (otherwise get gRPC Resource Exhausted: initial metadata too large)
  • added code to truncate msg and detail if necessary. Limits are 256 and 512 chars respectivelly.

JIRA: CQ-1268

@lupko lupko requested review from hkad98, jaceksan and pcerny as code owners April 9, 2025 09:50
@lupko lupko force-pushed the flight-fixes branch 3 times, most recently from a77ae15 to 03334da Compare April 9, 2025 10:13
no23reason
no23reason previously approved these changes Apr 9, 2025
- ErrorInfo is passed as FlightError.extra_info
- In turn, extra_info contents are transported via gRPC headers
- gRPC headers have hard limit of 16kB size (otherwise get gRPC Resource Exhausted: initial metadata too large)
- added code to truncate `msg` and `detail` if necessary. Limit for each is 1kB

JIRA: CQ-1268
@lupko lupko merged commit f739359 into gooddata:master Apr 9, 2025
9 checks passed
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.

2 participants