cubefs icon indicating copy to clipboard operation
cubefs copied to clipboard

fix(proto): correct buffer size for version list

Open Fallonma opened this issue 1 year ago • 1 comments

Fixes: #xyz

Main Issue: #xyz

Motivation

correct buffer size for version list

Modifications

should be 2+cnt*verInfoCnt

Types of changes

  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] Bugfix (non-breaking change which fixes an issue)
  • [ ] Documentation Update (if none of the other choices apply)
  • [ ] So on...

Verifying this change

  • [ ] Make sure that the change passes the testing checks.

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • This can be verified in development debugging
  • This can be realized in a mocked environment, like a test cluster consisting in docker

(or)

This change MUST reappear in online clusters, or occur in that specific scenarios.

Does this pull request potentially affect one of the following parts:

  • [ ] Master
  • [ ] MetaNode
  • [ ] DataNode
  • [ ] ObjectNode
  • [ ] AuthNode
  • [ ] LcNode
  • [ ] Blobstore
  • [ ] Client
  • [ ] Cli
  • [ ] SDK
  • [ ] Other Tools
  • [ ] Common Packages
  • [ ] Dependencies
  • [ ] Anything that affects deployment

Documentation

  • [ ] doc
  • [ ] doc-required
  • [ ] doc-not-needed
  • [ ] doc-complete

Review Expection

  • [ ] in-two-days
  • [ ] weekly
  • [ ] free-time
  • [ ] whenever

Matching PR in forked repository

PR in forked repository:

Fallonma avatar Jul 17 '24 11:07 Fallonma