[MCOL-1726] mcsapi stale transactions Created: 2018-09-17 Updated: 2019-03-08 Resolved: 2019-03-08 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | 1.1.6 |
| Fix Version/s: | 1.1.7, 1.2.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Andrew Hutchings (Inactive) | Assignee: | Zdravelina Sokolovska (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Sprint: | 2018-21, 2019-01, 2019-02, 2019-03 | ||||||||||||
| Description |
|
Alas, the problem is not fully resolved. Here is my test sequence: 1) On one Ubuntu 18.04 docker node I installed ColumnStore server 1.1.6 postConfigured as a multi-server (with a single node). I modified the basic_bulk_insert.cpp adding the sleep(10) equivalent by adding three lines as shown below:
Then launched the "sleeping" basic_bulk_insert and terminated this process with kill -9.
Also the second (original) basic_bulk_insert attempt resulted in
As Andrew directed above, I cleared this lock on the server side with:
After clearing the lock, the (original) basic_bulk_insert attempt was successful. Unfortunately, the problem reported above, remains.
As earlier, the rollback -p command does not print any transactions and there is no file /usr/local/mariadb/columnstore/data1/systemFiles/dataTransaction |
| Comments |
| Comment by Andrew Hutchings (Inactive) [ 2018-12-20 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Fix is in the cleartablelock tool in the engine. For QA: There is no good way to express this in API or engine regression suites. I recommend doing something along the lines of the description. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Patrick LeBlanc (Inactive) [ 2019-01-10 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Approved & merged it. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Zdravelina Sokolovska (Inactive) [ 2019-01-23 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||
|
checked on v1.1.7 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Zdravelina Sokolovska (Inactive) [ 2019-03-08 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||
|
checked with compiled mariadb-columnstore-api dev 1.2 from branch develop-1.2 and
|