Skip to content

[Bug]: [1107 restore resgression] sys restore nonsys to newnonsys from pitr oom. #19860

Closed

Description

@Ariznawlll

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

main

Commit ID

f0ee4d3

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

job url: https://github.com/matrixorigin/mo-nightly-regression/actions/runs/11717471728/job/32637656217
image

image

restore失败期间的日志:(UTC时间)https://grafana.ci.matrixorigin.cn/explore?panes=%7B%22Nkc%22:%7B%22datasource%22:%22loki%22,%22queries%22:%5B%7B%22refId%22:%22A%22,%22expr%22:%22%7Bnamespace%3D%5C%22mo-pitr-nightly-f0ee4d3-20241107%5C%22%7D%22,%22queryType%22:%22range%22,%22datasource%22:%7B%22type%22:%22loki%22,%22uid%22:%22loki%22%7D,%22editorMode%22:%22builder%22%7D%5D,%22range%22:%7B%22from%22:%221730965800000%22,%22to%22:%221730966700000%22%7D%7D%7D&schemaVersion=1&orgId=1

heap profile:
restore1107.zip

memory使用情况:https://grafana.ci.matrixorigin.cn/explore?panes=%7B%22cMK%22:%7B%22datasource%22:%22pyroscope%22,%22queries%22:%5B%7B%22groupBy%22:%5B%5D,%22labelSelector%22:%22%7Bnamespace%3D%5C%22mo-pitr-nightly-f0ee4d3-20241107%5C%22%7D%22,%22queryType%22:%22both%22,%22refId%22:%22A%22,%22profileTypeId%22:%22memory:inuse_space:bytes:space:bytes%22,%22datasource%22:%7B%22type%22:%22grafana-pyroscope-datasource%22,%22uid%22:%22pyroscope%22%7D%7D%5D,%22range%22:%7B%22from%22:%221730965800000%22,%22to%22:%221730966700000%22%7D%7D%7D&schemaVersion=1&orgId=1

Expected Behavior

No response

Steps to Reproduce

trigger restore workflow on tke.

上一个好的commit:173985a3818334e4c36c644f1b7e959838c9293f

Additional information

No response

Activity

  1. added
    kind/bug
    severity/s0
    on Nov 7, 2024
  2. added this to the 2.0.1 milestone on Nov 7, 2024
  3. YANGGMM commented on Nov 7, 2024

    @YANGGMM
    Contributor

    原因是在restore的时候oom了,然后工具会去执行drop account然后报invalid connection

  4. daviszhen commented on Nov 8, 2024

    @daviszhen
    Contributor
  5. daviszhen commented on Nov 8, 2024

    @daviszhen
    Contributor

    这个profile文件的时间点准确。

    {"level":"INFO","time":"2024/11/07 08:05:28.103675 +0000","caller":"cnservice/server.go:980","msg":"get profile done. save profiles ","path":"ETL:/profile/CN_61363837-3533-6432-3330-633137613330_heap_019305a8-2a83-7b32-b693-d11cd912d9de.gz"}
    
    
  6. daviszhen commented on Nov 8, 2024

    @daviszhen
    Contributor

    issue 里面的profile 文件时间点 不对。

    {"level":"INFO","time":"2024/11/07 08:00:27.919990 +0000","caller":"cnservice/server.go:980","msg":"get profile done. save profiles ","path":"ETL:/profile/CN_32616530-3164-3337-3533-346530366663_heap_019305a3-9883-75f4-a7d8-bdf599ab9837.gz"}
    
  7. Ariznawlll commented on Nov 8, 2024

    @Ariznawlll
    CollaboratorAuthor
    image

    出问题的commit范围

  8. Ariznawlll commented on Nov 8, 2024

    @Ariznawlll
    CollaboratorAuthor

    二分出错的commit:0ec2b30666e8c4a428bf1acbc31f06b96ee5186d

    企业微信截图_d5d70b35-3b54-4b57-8791-74b60a0b6405

    @aunjgr 龙冉哥,帮忙看一下

  9. Ariznawlll commented on Nov 8, 2024

    @Ariznawlll
    CollaboratorAuthor

    最新一次测试:https://github.com/matrixorigin/mo-nightly-regression/actions/runs/11735227009
    commit:0ec2b30666e8c4a428bf1acbc31f06b96ee5186d

    image image

    log:https://grafana.ci.matrixorigin.cn/explore?panes=%7B%22XDq%22:%7B%22datasource%22:%22loki%22,%22queries%22:%5B%7B%22refId%22:%22A%22,%22expr%22:%22%7Bnamespace%3D%5C%22mo-pitr-nightly-0ec2b30-20241108%5C%22%7D%20%7C%3D%20%60%60%22,%22queryType%22:%22range%22,%22datasource%22:%7B%22type%22:%22loki%22,%22uid%22:%22loki%22%7D,%22editorMode%22:%22builder%22%7D%5D,%22range%22:%7B%22from%22:%221731050779000%22,%22to%22:%221731051799000%22%7D%7D%7D&schemaVersion=1&orgId=1

    memory:https://grafana.ci.matrixorigin.cn/explore?panes=%7B%22NPr%22:%7B%22datasource%22:%22pyroscope%22,%22queries%22:%5B%7B%22groupBy%22:%5B%5D,%22labelSelector%22:%22%7Bnamespace%3D%5C%22mo-pitr-nightly-0ec2b30-20241108%5C%22,pod%3D%27nightly-regression-dis-tp-cn-fq2rr%27%7D%22,%22queryType%22:%22both%22,%22refId%22:%22A%22,%22profileTypeId%22:%22memory:inuse_space:bytes:space:bytes%22,%22datasource%22:%7B%22type%22:%22grafana-pyroscope-datasource%22,%22uid%22:%22pyroscope%22%7D%7D%5D,%22range%22:%7B%22from%22:%221731051720000%22,%22to%22:%221731051780000%22%7D%7D%7D&schemaVersion=1&orgId=1

    oom时间为UTC时间07:42:19.477797
    heap profile:
    (UTC时间: 2024-11-08 15:42:03)
    CN_35376666-3839-3835-6233-653730616236_heap_01930ab9-1aa4-71d8-ad2e-3d52513bea49.gz
    (UTC时间: 2024-11-08 15:42:33)
    CN_35376666-3839-3835-6233-653730616236_heap_01930ab9-8fd3-7503-ad92-de5e52135511.gz

  10. assigned and unassigned on Nov 8, 2024
  11. Ariznawlll commented on Nov 12, 2024

    @Ariznawlll
    CollaboratorAuthor

    fixed

  12. Ariznawlll commented on Nov 14, 2024

    @Ariznawlll
    CollaboratorAuthor

    没有合入2.0-dev @aunjgr

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

Metadata

Metadata

Assignees

Labels

kind/bugphase/testingseverity/s0

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions