Skip to content
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

slow query file requires a maximum storage time and maximum file limit #25716

Closed
glkappe opened this issue Jun 23, 2021 · 5 comments
Closed

slow query file requires a maximum storage time and maximum file limit #25716

glkappe opened this issue Jun 23, 2021 · 5 comments
Assignees
Labels
affects-5.2 This bug affects 5.2.x versions. severity/major sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@glkappe
Copy link

glkappe commented Jun 23, 2021

slow query file requires a maximum storage time and maximum file limit, like tidb.log

@glkappe glkappe added the type/feature-request Categorizes issue or PR as related to a new feature. label Jun 23, 2021
@glkappe
Copy link
Author

glkappe commented Jun 23, 2021

i need labels

@yiduoyunQ
Copy link

seems just need MaxDays and MaxBackups of SlowQueryFile at https://github.com/pingcap/tidb/blob/v5.1.1/util/logutil/slow_query_logger.go#L25

@qw4990
Copy link
Contributor

qw4990 commented Aug 26, 2021

It should be regarded as a bug ... and seems caused by #23534. Before this PR, MaxDays and MaxBackups can be working for slow-query-logger. PTAL @SabaPing @bb7133

@djshow832
Copy link
Contributor

Closed by #27625

@github-actions
Copy link

Please check whether the issue should be labeled with 'affects-x.y' or 'fixes-x.y.z', and then remove 'needs-more-info' label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-5.2 This bug affects 5.2.x versions. severity/major sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

6 participants