[MCOL-5510] columnstore_info.load_from_s3 | Connection forever hangs if cpimport fails Created: 2023-06-07 Updated: 2023-06-22 Resolved: 2023-06-22 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 23.02.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Allen Herrera | Assignee: | Leonid Fedorov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Assigned for Testing: | |
||||||||
| Description |
|
Reproduction
Notice in your docker container when you tail /var/log/messages
This is extra bad for SkySQL because users cant see these logs and their connection just hangs there forever until a connection timeout is hit |
| Comments |
| Comment by Leonid Fedorov [ 2023-06-19 ] | ||
|
It absolutely will be merged into develop-23-02, after QA confirmed the fix is working. Current CMAPI state is the same in both branches, so no need for extra testing on stable branch, if this works on develop | ||
| Comment by Daniel Lee (Inactive) [ 2023-06-19 ] | ||
|
Build verified: develop branch engine: d2d0e08690b280019f6afd112a5183dd8a140595 Reproduced the hanging issue in 23.02.3. Verified the fix in the build mentioned above. MariaDB [mytest]> CALL columnstore_info.load_from_s3('s3://allens-spark-test-bucket/','wrong_junk_data.csv','db1', 'tab1', ',', '', '');
-----------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------- NOTES When trying to reproduce the issue in 23.02.3, I also did some tests with DBT3 orders and lineitem dataset with "|" field terminator. It did not have the reported issue. | ||
| Comment by Daniel Lee (Inactive) [ 2023-06-22 ] | ||
|
engine: 5342234f1500b307a6a7d0e5996bb7cf1a9900d4 MariaDB [(none)]> CREATE TABLE db1.tab1 ( MariaDB [(none)]> SET columnstore_s3_region='us-west-2'; MariaDB [(none)]> SET columnstore_s3_key='x'; MariaDB [(none)]> SET columnstore_s3_secret='x'; MariaDB [(none)]> CALL columnstore_info.load_from_s3('s3://allens-spark-test-bucket/','wrong_junk_data.csv','db1', 'tab1', ',', '"', '');
-----------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------- Query OK, 0 rows affected (2.207 sec) |