[MCOL-3490] CAL0002: Delete Failed: IDB-2008: The version buffer overflowed. Increase VersionBufferFileSize or limit the rows to be processed but variable is 64G already Created: 2019-09-09 Updated: 2021-05-10 Resolved: 2021-05-10 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | writeengine |
| Affects Version/s: | 1.2.4, 1.2.5 |
| Fix Version/s: | 5.6.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Rick Pizzi | Assignee: | Roman |
| Resolution: | Cannot Reproduce | Votes: | 1 |
| Labels: | None | ||
| Description |
|
One of our customer encountered the above error, trying to delete a 3 rows table and with the variable mentioned already set to 64 GB. A restartSystem has resolved the problem. System Info:
|
| Comments |
| Comment by Andrew Hutchings (Inactive) [ 2019-10-07 ] |
|
We need some more information here, schema, delete query, data, etc... |
| Comment by Andrew Hutchings (Inactive) [ 2019-10-08 ] |
|
For public: Given the feedback provided, a single delete command could create several GB of version buffer data depending on the spread of the data. A delete in ColumnStore is currently an in-place update of every column for that row. ColumnStore takes a copy of the pre-modified block when applying the delete, a delete applies to every column of a row. So if there is a wide spread of data that creates a lot of version buffer data. If they are doing the loop in a transaction (which I highly suspect would be the case) then it would be very easy to blow 64GB of data. |
| Comment by Rick Pizzi [ 2019-10-22 ] |
|
We verified and each loop is actually a new connection to the server, so there is no transaction in play here. Issue is repeating, not only with DELETE but also with UPDATE |
| Comment by Roman [ 2019-11-13 ] |
|
Extents in our meta data storage called Extent Map could be either locked or unlocked. The long UPDATE that eventually had failed causes Extents to become locked untill the next reboot. These locked extents in its turn severely break virtual buffer operations used in DELETE and UPDATE |
| Comment by David Hill (Inactive) [ 2020-10-01 ] |
|
Customer again is asking for an update. |