[MCOL-1094] mcsapi should have view/clear table lock features Created: 2017-12-11 Updated: 2023-10-26 Resolved: 2018-11-30 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.2.2 |
| Type: | New Feature | Priority: | Major |
| Reporter: | Andrew Hutchings (Inactive) | Assignee: | Zdravelina Sokolovska (Inactive) |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Sprint: | 2018-20 | ||||||||||||
| Description |
|
You can't start a transaction when a table lock exists so there should be functionality to view and clear table locks, thereby rolling back transactions stuck due to crashes in applications using mcsapi. Discussed in |
| Comments |
| Comment by Jens Röwekamp (Inactive) [ 2018-11-16 ] |
|
4 functions shall be implemented to view and clear table locks in ColumnStoreDriver
|
| Comment by Jens Röwekamp (Inactive) [ 2018-11-25 ] |
|
Introducing 6 new functions to ColumnStoreDriver:
Introducing a new datatype mcsapi::TableLockInfo to store table lock information. mcsapi's introduced functions and data types ported to pymcsapi and javamcsapi Introducing C++, Java, and Python tests for listTableLocks(), isTableLocked(), and clearTableLock() Added new functions to documentation plus general documentation updates for javamcsapi and pymcsapi Known limitations:
Limitations addressed in For QA
|