[MCOL-2070] pentaho kettle adapter lock session with bulk columnstore and dml transaction(delete/update operation). Created: 2019-01-08 Updated: 2023-10-26 Resolved: 2019-03-02 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | 1.1.6, 1.2.2 |
| Fix Version/s: | 1.1.7, 1.2.3 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Nicola | Assignee: | Zdravelina Sokolovska (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Vmware 6.5 with 3 Performance Module and 2 user module. |
||
| Attachments: |
|
| Sprint: | 2019-01, 2019-02 |
| Description |
|
Hi, In my opinion, when the job starts the bulk loader starts immediately and performs the exclusive lock of the table even if it will start as the last step, in fact, if the bulk step is disabled, the job is executed successfully. This is very blocking for us because it binds us to perform complex jobs on pentaho. |
| Comments |
| Comment by Jens Röwekamp (Inactive) [ 2019-01-29 ] | |||||||||||||||||
|
I moved the initialization of ColumnStoreDriver and ColumnStoreBulkInsert from the step's init() method to the step's processRow() method. I further added a test case to the regression test suite that tests this. For QA:
| |||||||||||||||||
| Comment by Jojo [ 2019-05-29 ] | |||||||||||||||||
|
Just FYI for anyone who might be searching for a way to get rid of the lock on the table because of a hung mcsimport/cpimport job. The lock can be removed by restarting mysqld process.
|