cmu-db / noisepage

Self-Driving Database Management System from Carnegie Mellon University
https://noise.page
MIT License
1.74k stars 502 forks source link

DESCRIBE response occasionally malformed. #1605

Closed lmwnshn closed 3 years ago

lmwnshn commented 3 years ago

Bug Report

Summary

Returning too many tuples will break the psql client connection.

Currently debugging.

Environment

OS: Ubuntu (LTS) 20.04

Compiler: GCC 9

CMake Profile: Debug, Release

Steps to Reproduce

  1. Create and load TPCC SF1.
  2. select * from order_line; -> error
  3. select * from order_line limit 50000; -> ok
  4. select * from order_line limit 100000; -> error

where error on client: extraneous data in "D" message lost synchronization with server: got message type "3", length 825373952

and error on server: [2021-05-31 14:04:14.610] [network_logger] [error] Error while filling read buffer: Connection reset by peer

lmwnshn commented 3 years ago

Looks like it isn't exactly the above. Just that sometimes it gets malformed at the end of DESCRIBE.

lmwnshn commented 3 years ago

image

lmwnshn commented 3 years ago

It dies on the timestamp. Null??

lmwnshn commented 3 years ago

Duplicate of #785.