Skip to content

enhance: Support multiple data disks per node instead of fixed single data directory #95

@tinswzy

Description

@tinswzy

Description

Currently, WP stores node data (including segment logs) under a single fixed data directory structure.
Even if a node is provisioned with multiple data disks, only one disk can be configured as the data directory. As a result:

  • Only one disk is actually utilized
  • Other mounted data disks remain unused
  • I/O throughput is constrained by a single device
  • Storage capacity scaling is limited to one mount point

This limits storage scalability and prevents effective multi-disk utilization.

Problem Statement

Current behavior:

  • All segment logs are written under one root data directory (e.g. /data)
  • The directory structure is fixed
  • There is no mechanism to:
    • Configure multiple mount paths
    • Distribute segment files across disks
    • Balance disk usage

In multi-disk production nodes, this leads to:

  • Single-disk bottlenecks
  • Uneven disk utilization
  • Reduced write/read parallelism

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions