Matthew Jacobs created KUDU-1752:
------------------------------------
Summary: C++ client error message memory should be bounded
Key: KUDU-1752
URL: https://issues.apache.org/jira/browse/KUDU-1752
Project: Kudu
Issue Type: Bug
Components: client
Affects Versions: 1.0.0
Reporter: Matthew Jacobs
Priority: Critical
The Kudu client can allocate unbounded amounts of memory for error messages
today, which is a potential problem for processes using the client. The API to
get errors does have a way to indicate the errors overflowed the error buffer,
but this isn't set yet.
Given that error messages can vary significantly in size (as they include a var
length string which will soon also include tracing output) and the row, the
client should have a way to indicate the max buffer memory size rather than
just some number of rows.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)