Skip to content

[Bug]: MinIO plugin: MinIO part size parameter resolved from wrong variable #6274

@sramazzina

Description

@sramazzina

Apache Hop version?

2.17-SNAPSHOT

Java version?

openjdk-17

Operating system

Windows

What happened?

Trying to look at issue #6071 I got into a wrong piece of code in MinioFileProvider.doCreateFilesystem method where the value for part size is get resolving the wrong variable as stated below

      // The part size
      String partSize = variables.resolve(minioMeta.getRegion());
      // TODO: (SR) I think we have an error here, we should resolve minioMeta.getPartSize()
      fileSystem.setPartSize(Const.toLong(partSize, DEFAULT_PART_SIZE));

Issue Priority

Priority: 2

Issue Component

Component: VFS

Metadata

Metadata

Assignees

Labels

P2Default PriorityVFS

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions