0chain / 0chain/zboxcli

Allocation size issue

Open
#600 0 comments 0 reactions 0 assignees View on GitHub
reported by community
Dominant language
Go
Stars
28
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Create a 50GB allocation using the newallocation command in zboxcli, then fill all 50GB.
Increase the allocated capacity to 100GB with the updateallocation command and then lock an additional 50GB of ZCN in the write pool.
I uploaded the file, but an error "Max size reached for the allocation with this blobber" appears.

Ref: https://discord.com/channels/992566329632641056/992572924416495656/1208013585855422524

Original issue reported in webapps
https://github.com/0chain/web-apps/issues/11552

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue involves the `newallocation` and `updateallocation` commands in zboxcli. Start by examining the command implementations in the codebase, likely in cmd/ directory. Look for validation logic around allocation size and blobber limits. The error 'Max size reached for the allocation with this blobber' suggests a check in the blobber interaction or allocation update logic. Reproduce the steps locally to understand the failure point.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, shell
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.