Commit f7b6017
authored
Don't free buffers after reading query stream (#9721)
Follow up on #9401
While the write path has been carefully crafted to make sure that we
don't keep references to the strings backed by arrays with data from
grpc stream (because it would cause a memory leak), this doesn't seem to
be the case in the query path, where some tests started failing after we
started to reuse those backing arrays through the usage of memory
buffers implemented in the new gRPC library.
This change reverts the buffer freeing, means that it won't be recycled
(and will be garbage collected) to ensure data correctness, while we
investigate where the data references are kept.
Signed-off-by: Oleg Zaytsev <[email protected]>1 parent 9370c58 commit f7b6017
1 file changed
+0
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
273 | 272 | | |
274 | 273 | | |
275 | 274 | | |
| |||
278 | 277 | | |
279 | 278 | | |
280 | 279 | | |
281 | | - | |
282 | 280 | | |
283 | 281 | | |
284 | 282 | | |
285 | 283 | | |
286 | | - | |
287 | 284 | | |
288 | 285 | | |
289 | 286 | | |
290 | 287 | | |
291 | 288 | | |
292 | | - | |
293 | 289 | | |
294 | 290 | | |
295 | 291 | | |
296 | 292 | | |
297 | 293 | | |
298 | | - | |
299 | 294 | | |
300 | 295 | | |
301 | 296 | | |
| |||
306 | 301 | | |
307 | 302 | | |
308 | 303 | | |
309 | | - | |
310 | 304 | | |
311 | 305 | | |
312 | 306 | | |
313 | 307 | | |
314 | 308 | | |
315 | | - | |
316 | 309 | | |
317 | 310 | | |
318 | 311 | | |
319 | 312 | | |
320 | | - | |
321 | 313 | | |
322 | 314 | | |
323 | 315 | | |
| |||
327 | 319 | | |
328 | 320 | | |
329 | 321 | | |
330 | | - | |
331 | | - | |
332 | 322 | | |
333 | 323 | | |
334 | 324 | | |
| |||
0 commit comments