Skip to content

[Bug]: restore from pitr oom. #19511

Closed
Closed

Description

@Ariznawlll

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

main

Commit ID

8d7e7b8

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

image

恢复脚本中执行的sql
mysql -h 172.16.63.58 -P 6001 -udump -p111 -e 'restore from pitr p01 "2024-10-22 03:24:18.547701";'

报错 Lost connection
image

image

oom前后10min的memory信息:https://grafana.ci.matrixorigin.cn/explore?panes=%7B%22C0G%22:%7B%22datasource%22:%22pyroscope%22,%22queries%22:%5B%7B%22groupBy%22:%5B%5D,%22labelSelector%22:%22%7Bnamespace%3D%27mo-big-data-20241021%27,pod%3D%27nightly-regression-dis-tp-cn-jrrcz%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:%221729567200000%22,%22to%22:%221729568400000%22%7D%7D%7D&schemaVersion=1&orgId=1

Expected Behavior

No response

Steps to Reproduce

create pitr p01 range 20 'h';

restore from pitr p01 "2024-10-22 03:24:18.547701";

Additional information

No response

Activity

  1. added
    kind/bug
    severity/s0
    on Oct 22, 2024
  2. added this to the 2.0.0 milestone on Oct 22, 2024
  3. sukki37 commented on Oct 22, 2024

    @sukki37
    Contributor

    maybe dup with #19488

  4. Ariznawlll commented on Oct 23, 2024

    @Ariznawlll
    CollaboratorAuthor

    commit: 8415938

    第一轮测试:500G的恢复没oom

    1T的恢复报错'cannot commit an orphan transaction',报这个错之后,一直会有这个问题,无法进行恢复操作了

  5. Ariznawlll commented on Oct 24, 2024

    @Ariznawlll
    CollaboratorAuthor

    今天再测试一下

  6. Ariznawlll commented on Oct 25, 2024

    @Ariznawlll
    CollaboratorAuthor

    commit: 89fb035

    image

    今天测试1T数据没出现oom,恢复成功

  7. Ariznawlll commented on Oct 28, 2024

    @Ariznawlll
    CollaboratorAuthor

    今天再测试一下

  8. Ariznawlll commented on Oct 28, 2024

    @Ariznawlll
    CollaboratorAuthor

    今天测试也没出现了,先关闭

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