[MCOL-3549] DDLProc can terminate on connection error Created: 2019-10-09  Updated: 2023-03-06  Resolved: 2023-03-06

Status: Closed
Project: MariaDB ColumnStore
Component/s: N/A
Affects Version/s: 1.2.5
Fix Version/s: Icebox

Type: Bug Priority: Major
Reporter: David Hill (Inactive) Assignee: Unassigned
Resolution: Won't Do Votes: 1
Labels: None
Environment:

2um 4pm with local query



 Description   

Customer was running a Local Query "insert" command on pm3 and DDLProc then WriteEngineServerProcess crashed during the excution of this "insert"

Oct  8 20:01:33 usfit-hdpdev-m01 Calpont[154465]: 33.272619 |0|0|0| E 00 CAL0000: /data/buildbot/bb-worker/centos6/mariadb-columnstore-engine/dbcon/joblist/batchprimitiveprocessor-jl.cpp@719: assertion 'in.length() > offset' failed
Oct  8 20:01:33 usfit-hdpdev-m01 joblist[158470]: 33.626662 |0|0|0| E 05 CAL0000: /data/buildbot/bb-worker/centos6/mariadb-columnstore-engine/writeengine/client/we_clients.cpp @ 307 Could not connect to pm3_WriteEngineServer: Connection refused
Oct  8 20:01:33 usfit-hdpdev-m01 joblist[154465]: 33.272826 |2571|0|0| C 05 CAL0000: st: 0 TupleBPS::receiveMultiPrimitiveMessages() caught an exception: IDB-2035: An internal error occurred.  Check the error log file & contact support.#012
Oct  8 20:01:33 usfit-hdpdev-m01 ExeMgr[154465]: 33.519823 |0|4294967295|0| C 16 CAL0055: ERROR: ExeMgr has caught an exception. InetStreamSocket::readToMagic(): I/O error2.1: err = -1 e = 104: Connection reset by peer
Oct  8 20:01:33 usfit-hdpdev-m01 ddlpackageproc[154753]: 33.550376 |0|0|0| C 23 CAL0008: DDLProc failed on:  InetStreamSocket::write error: Bad file descriptor -- write from InetStreamSocket: sd: 49 inet: 192.168.213.123 port: 53304
Oct  8 20:01:33 usfit-hdpdev-m01 ProcessMonitor[148451]: 33.558375 |0|0|0| C 18 CAL0000: *****MariaDB ColumnStore Process Restarting: DDLProc, old PID = 154753

Code review for the "DDLProc failed on" appears to be a connection error exception which terminates the problem. This should be recoverable, not fatal.


Generated at Thu Feb 08 02:43:32 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.