[MCOL-3322] Updating records got stuck on "Init for update" state - columnstore tables Created: 2019-05-21 Updated: 2023-03-06 Resolved: 2023-03-06 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | N/A |
| Affects Version/s: | 1.2.3 |
| Fix Version/s: | Icebox |
| Type: | Bug | Priority: | Major |
| Reporter: | David Hill (Inactive) | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 1 |
| Labels: | None | ||
| Description |
|
Customer report issue. They found a related bug fix in mariadb server, but it looks to be specific with InnoDB tables. They had the problem on a Columnstore Table. From customer: The query that pewrformed an update of a column store table record in the production database got stuck on "Init for update" state. At least I saw it being in that state for 4334 before I killed that process. Please point me somewhere I can learn about how to deal with this issue. I found this JIRA ticket online: https://jira.mariadb.org/browse/MDEV-15214 but not sure if the fix for this is a part of ColumnStore distro. |
| Comments |
| Comment by David Hill (Inactive) [ 2019-05-29 ] |
|
from customer - Maybe 2) It can be something else but IMHO it relates to that JIRA ticket in some way. The query was an UPDATE. It was stuck on UM level. I saw those queries in the process list on UM1 with that status as I put in the issue description when I logged this ticket. While stuck on UM1 it never made it to PM level as I checked for locks on the system and it came clean with “no locks detected on the system” message. So that is why I think it might be related even not completely 100% the same. |
| Comment by David Hill (Inactive) [ 2019-05-30 ] |
|
customer will try to come up with a specific test case.. They do believe its related to: Long story short - our UPDATE is using IN condition in WHERE clause on the varchar(40) field with multiple loooong strings in it. This is completely wrong approach from the programmer point of view and we will have to fix this but that argument aside - if I will be able to conclusively confirm that this is the case I will describe in very detail how to reproduce this behavior. They asked: I need to know at least what to avoid while we are going to wait for the fix in the database engine level. |
| Comment by Christian2 [ 2019-12-09 ] |
|
Hi, it's really a showstopper. The SQL (all Columns varchar(100)): The SQL is working more than one times with A_outputID, this could be a potential reason? But it works with a new, smaller table and no syntax error is never coming up... Thanks a lot in advance. |
| Comment by Todd Stoffel (Inactive) [ 2023-03-06 ] |
|
This ticket was opened prior to convergence with the server. It may have been rendered obsolete. If this issue still exists in a modern version, please open a new request. |