Skip to content

[Bug] when backup job cancelled, it will retain snapshotinfos and backupmeta which take a lot of memory #32645

@nextdreamblue

Description

@nextdreamblue

Search before asking

  • I had searched in the issues and found no similar issues.

Version

master/2.0/1.2

What's Wrong?

企业微信截图_d49e0a48-3b4a-4db2-8f92-a7b7901938ec

备份任务,因为中间出错导致任务cancel,但是任务相关的snapshotinfos和backupmeta两个变量的信息没有释放,导致内存占用较高,最终导致fe oom。

What You Expected?

像任务正常结束一样,释放掉相关变量,释放内存占用

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions