Skip to content

‎S3FileSystemProvider::visitAllFiles logs warning on Files.move() from a different FileSystem #919

@sstamm

Description

@sstamm

Bug Description

‎S3FileSystemProvider::visitAllFiles logs warning on Files.move() from a different FileSystem

Steps To Reproduce

  1. Call Files.move(source, target, StandardCopyOption.REPLACE_EXISTING); where source is a local Path, target a S3 Path and target already exists. FileSystemProvider.deleteIfExists() tries to delete the file and discards the NoSuchFileException if it does not exists.

Expected Behavior

No warning

Environment

  • s3fs-nio version 3.0.0:
  • JDK 21:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds triageThe issue needs to be triaged, before work can commence

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions