New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PiTR resolver may cause TiKV OOM #15414
Labels
affects-6.5
affects-7.1
affects-7.5
component/backup-restore
Component: backup, import, external_storage
severity/major
type/bug
Type: Issue - Confirmed a bug
Comments
Please help to take care of it all together. Thanks. @overvenus |
Per @overvenus 's suggestion, I assign this issue to @YuJuncen |
/assign @YuJuncen |
/component backup-restore |
ti-chi-bot
bot
added
the
component/backup-restore
Component: backup, import, external_storage
label
Sep 5, 2023
YuJuncen
added
affects-6.5
affects-7.1
and removed
may-affects-5.2
may-affects-5.3
may-affects-5.4
may-affects-6.1
may-affects-6.5
may-affects-7.1
labels
Dec 4, 2023
15 tasks
ti-chi-bot bot
added a commit
that referenced
this issue
Jan 21, 2024
close #15414 This PR have refactored the subscription manager. Generally, this: - Replace the instance itself with a handle. This make it a real reactor(with an real event loop). - Handle the result of subscripting a region via the message system instead of asynchronously, this will be the basis of making subscription tracker thread safe and (someday, hopefully) merge the basic libraries with TiCDC. Based on the changes above, this PR also allows a region to be temporarily deregistered while we are about to reach the memory quota. Signed-off-by: Yu Juncen <yu745514916@live.com> Co-authored-by: Neil Shen <overvenus@gmail.com> Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
ti-chi-bot
pushed a commit
to ti-chi-bot/tikv
that referenced
this issue
Jan 21, 2024
close tikv#15414 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
ti-chi-bot
pushed a commit
to ti-chi-bot/tikv
that referenced
this issue
Jan 21, 2024
close tikv#15414 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
ti-chi-bot
pushed a commit
to ti-chi-bot/tikv
that referenced
this issue
Jan 21, 2024
close tikv#15414 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
YuJuncen
added a commit
to ti-chi-bot/tikv
that referenced
this issue
Mar 4, 2024
close tikv#15414 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
YuJuncen
added a commit
to ti-chi-bot/tikv
that referenced
this issue
Mar 4, 2024
close tikv#15414 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io> Signed-off-by: hillium <yujuncen@pingcap.com>
dbsid
pushed a commit
to dbsid/tikv
that referenced
this issue
Mar 24, 2024
close tikv#15414 This PR have refactored the subscription manager. Generally, this: - Replace the instance itself with a handle. This make it a real reactor(with an real event loop). - Handle the result of subscripting a region via the message system instead of asynchronously, this will be the basis of making subscription tracker thread safe and (someday, hopefully) merge the basic libraries with TiCDC. Based on the changes above, this PR also allows a region to be temporarily deregistered while we are about to reach the memory quota. Signed-off-by: Yu Juncen <yu745514916@live.com> Co-authored-by: Neil Shen <overvenus@gmail.com> Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com> Signed-off-by: dbsid <chenhuansheng@pingcap.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-6.5
affects-7.1
affects-7.5
component/backup-restore
Component: backup, import, external_storage
severity/major
type/bug
Type: Issue - Confirmed a bug
Bug Report
Similar to #14864, PiTR (backup-stream) has its own resolver, and it may cause OOM too.
What version of TiKV are you using?
> v6.5.0
Steps to reproduce
Run a large txn that is much greater than TiKV memory size.
What did you expect?
No OOM.
What did happened?
OOM.
The text was updated successfully, but these errors were encountered: