Skip to content

The provider doesn't verify disk capacity before advertising it to the network. #2972

Open
@cryptobench

Description

Issue Summary:

In the current implementation of our SDKs, when a user requests a task with a specified minimum disk requirement, the SDK matches them with providers advertising sufficient capacity. However, there's no verification process to ensure the provider has the necessary available disk space at the time of task allocation. This can lead to task failures if the disk is full, despite the user specifying the minimum disk requirements.

Steps to Reproduce:

  1. Request a task with a specified minimum disk requirement.
  2. SDK matches with a provider advertising the required capacity.
  3. Task is initiated without verifying actual available disk space on the provider's device.

Current Behavior:

The task might fail during execution if the provider's disk does not have enough free space, even though they advertised sufficient capacity.

Expected Behavior:

Before task allocation, the system should verify the actual available disk space on the provider's device to ensure it meets the task's minimum disk requirements. This would prevent task failure due to insufficient disk space.

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions