pingcap / pingcap/tiup

Suggest to add a partition 4K alignment check in TiUP cluster check

Open
#1,721 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type/feature-request
Dominant language
Go
Stars
466
Forks
338
Avg merge
3d 7h
Merged PRs (30d)
8

Description

Feature Request

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

Describe the feature you'd like:

This check works with noatime nodelalloc.
To verify that the partitions are aligned, the following command can be executed, with P being the partition number:
(parted) align-check optimal P
P aligned

Why the featue is needed:

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the TiUP cluster check entry point and trace how existing node or storage checks are registered and reported. Use the parted align-check optimal P command described in the issue as the expected verification, then add coverage for aligned and unaligned partitions and confirm the check reports the correct result.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, linux
Domain
devops, infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.