[MDEV-20152] Generated column's index not updated from RBR events (both Galera and async replication) Created: 2019-07-24 Updated: 2023-03-02 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Galera, Virtual Columns |
| Affects Version/s: | 10.2.25 |
| Fix Version/s: | 10.2 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Michaël de groot | Assignee: | Nikita Malyavin |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Hi, In my particular case I tested this from a Galera cluster to an asynchronous slave, but I don't think the Galera part has anything to do with it. On the cluster, I have a schema. On the slave I have the same schema but with a denormalization of the week number:
On the slave I add a virtual column:
I can find data that is already present in the example table, but when data comes in through replication it does not appear in the index. Thanks in advance! |
| Comments |
| Comment by Michaël de groot [ 2019-08-05 ] | ||||
|
Hi, For clarification, the process to reproduce: | ||||
| Comment by Michaël de groot [ 2019-08-07 ] | ||||
|
Some more information: We have tested this and it seams to occur with any node receiving data through Row Based Asynchronous Replication. It occurs in the newest 10.3.13 and 10.4.7 versions. It does not occur with SBR, so this could be a work-around. Also It does NOT occur with STORED virtual columns, which makes a decent work-around also for Galera Cluster. | ||||
| Comment by Michaël de groot [ 2019-09-25 ] | ||||
|
I think these 2 issues might be related, or this one might be duplicate to the other one, as we got similar entries in the log:
| ||||
| Comment by Michaël de groot [ 2023-03-02 ] | ||||
|
hey @Sergei Golubchik and @Elena Stepenova any news about this issue? Is it possible that it was fixed in the efforts of another issue? I cannot imagine nobody else ran into this issue in 3 years (unless virtual columns aren't really used). |