[MCOL-4002] Performing a single insert after a LDI in a transaction does not work Created: 2020-05-14 Updated: 2020-11-12 Resolved: 2020-05-18 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | MDB Plugin |
| Affects Version/s: | 1.4.3 |
| Fix Version/s: | 1.4.4, 1.5.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Gagan Goel (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 2020-7 |
| Description |
|
Inside a transaction, if we perform a bulk insert (such as LDI) followed by a single insert, we don't see the record inserted by the single insert statement. However, the reverse sequence, i.e. performing a single insert followed by a LDI, inside a transaction works fine. Here are steps to reproduce (here, data.txt is file containing 2 records: 231\n123):
|
| Comments |
| Comment by Gagan Goel (Inactive) [ 2020-05-15 ] |
|
For QA: The queries shown in the issue description above should be working as expected (i.e. for the case of an LDI followed by a single insert, in a transaction, we should now see the single insert record in the table). In addition, we have also added test cases to the regression suite for this: mysql/queries/working_dml/misc/ |
| Comment by Daniel Lee (Inactive) [ 2020-05-18 ] |
|
Build verified: 1.4.4-1 (Jenkins 20200518) Reproduced the issue in 1.4.3-4 and verified the fix in 1.4.4-1 Testing rollback and commit, with and without transaction. |