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

Add check for inode numbers in tiup cluster check #2388

Open
JaySon-Huang opened this issue Mar 22, 2024 · 0 comments
Open

Add check for inode numbers in tiup cluster check #2388

JaySon-Huang opened this issue Mar 22, 2024 · 0 comments
Labels
type/feature-request Categorizes issue as related to a new feature.

Comments

@JaySon-Huang
Copy link
Contributor

Feature Request

Is your feature request related to a problem? Please describe:

Before v7.4, TiFlash may happens to inode exhausting and cause panic. Especially when users deploy TiFlash on a file system with a particularly small number of inode nodes.

pingcap/tiflash#7595

Describe the feature you'd like:

Normally, the bytes-per-inode is 1024KiB, so we can get the expected inode number according to the total disk size. TiUP can check if the actual inode number is in the same order of magnitude as expected. If the number of inodes is too small, give a warning to the user.

Why the featue is needed:

Before v7.4, TiFlash could suffer from inode exhaust when

  • Users create ten thousands of empty partition tables
  • Users load lots of data of a wide table with many columns to TiFlash

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

@JaySon-Huang JaySon-Huang added the type/feature-request Categorizes issue as related to a new feature. label Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature-request Categorizes issue as related to a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant