Skip to content

[Bug]: FATAL Error occurred during merge run test #19288

Closed

Description

@sukki37

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

main

Commit ID

3cfd7d1

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

image

job link: https://github.com/matrixorigin/matrixone/actions/runs/11310592346
log link: https://grafana.ci.matrixorigin.cn/goto/g_doZnmNg?orgId=1

Expected Behavior

No response

Steps to Reproduce

start merge run test

Additional information

No response

Activity

  1. added
    kind/bug
    severity/s0
    on Oct 13, 2024
  2. zhangxu19830126 commented on Oct 14, 2024

    @zhangxu19830126
    Contributor

    根据主键查询,返回了2行数据。

  3. added this to the 2.0.0 milestone on Oct 14, 2024
  4. XuPeng-SH commented on Oct 15, 2024

    @XuPeng-SH
    Contributor
  5. aptend commented on Oct 16, 2024

    @aptend
    Contributor

    @jensenojs Please help confirm whether the output was called twice due to a retry.

  6. assigned and unassigned on Oct 16, 2024
  7. XuPeng-SH commented on Oct 16, 2024

    @XuPeng-SH
    Contributor

    As discussed offline, the output fill callback will be called twice when pipeline retry run

  8. jensenojs commented on Oct 17, 2024

    @jensenojs
    Contributor

    总结目前的猜想 :

    原始的SQL已经正确执行完成, 在这种情况下originSQL的scope走完之后, 会调用一次output的Fill. 但是在这之后的时间段内, 同一个事务的其他后台SQL返回了一个needRetry的错误, 导致originSQL又重新走了一整遍流程.

    • 这个猜想依赖的前提是, 后台SQL尝试上的锁, 不在originSQL已经上过锁的范围里面, 只有这种情况下后台SQL才有可能会遇上retry的error
    • 这个issue下的select for update是incr service的后台SQL触发的,
      • 结合bvt的里面的其他场景的尝试, 还没有在select for update的场景里面找到满足上述前提的SQL.

    但也许不一定需要select的方式才能复现这个猜想对应的问题, 可能insert也可以, 就是originSQL成功执行, 然后后台SQL需要retry, 导致originSQL又多执行了一次

  9. 8 remaining items

  10. ouyuanning commented on Nov 12, 2024

    @ouyuanning
    Contributor

    matrixorigin/MO-Cloud#4386

    那个是临时表的问题,跟这个不一样。

  11. aressu1985 commented on Nov 12, 2024

    @aressu1985
    Contributor

    目前复现不了,这个版本考虑先加定位日志
    @jensenojs ,MO 2.0.1 CODE FREEZE之前,先考虑把日志加上

  12. added a commit that references this issue on Nov 19, 2024
  13. modified the milestones: 2.0.1, 2.1.0 on Nov 19, 2024
  14. ouyuanning commented on Jan 8, 2025

    @ouyuanning
    Contributor

    等复现

  15. ouyuanning commented on Jan 13, 2025

    @ouyuanning
    Contributor

    等复现

  16. ouyuanning commented on Jan 16, 2025

    @ouyuanning
    Contributor

    等复现

  17. ouyuanning commented on Jan 21, 2025

    @ouyuanning
    Contributor

    等复现

  18. ouyuanning commented on Jan 24, 2025

    @ouyuanning
    Contributor

    年假中,未投入

  19. fengttt commented on Apr 25, 2025

    @fengttt
    Contributor

    Close due to no activity. Let's re file issue with new repro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/bugseverity/s0

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions