Skip to content

[Bug]: Listobjectv1 with delimiter may lead to panic #2931

@tangdeyi

Description

@tangdeyi

Contact Details

tangdeyi@oppo.com

Is there an existing issue for this?

  • I have searched all the existing issues

Priority

low (Default)

Environment

- CubeFS version:3.3.0
- Deployment mode(docker or standalone or cluster):cluster
- OS kernel version(Ubuntu or CentOS):CentOS
- CPU/Memory:16Cores/16G
- Others:

Current Behavior

When the current directory exceeds 1000 subdirs, listobjectv1 with delimiter "/" will lead to panic.

Expected Behavior

No response

Steps To Reproduce

1. Upload over 1000 objects in one directory, which has common prefix.
2. Listobjectv1 with delimiter "/" and common prefix.

CubeFS Log

No response

Anything else? (Additional Context)

No response

Metadata

Metadata

Labels

bugSomething isn't workinginterface/s3Topic about object storage interface

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions