GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — `FileManager.dropFile` clears maps before `file.drop()`, orphans on failure · Issue #4711 · ArcadeData/arcadedb

FileManager.dropFile clears maps before file.drop(), orphans on failure #4711

New issue
Copy link
New issue
Copy link
Closed
Bug
Closed
FileManager.dropFile clears maps before file.drop(), orphans on failure#4711
Bug
Copy link
Assignees
robfrank
Milestone
26.7.1

Description

@ruispereira
ruispereira
opened on Jun 23, 2026
Issue body actions

Affected version: 26.4.2 (confirmed still present in 26.5.1)
Component: com.arcadedb.engine.FileManager
Severity: LOW

Summary

final ComponentFile file = fileIdMap.remove(fileId);
if (file != null) {
  fileNameMap.remove(file.getComponentName());
  files.set(fileId, null);
  file.drop();                                       // may throw
  …
}

If file.drop() throws, maps are already cleared but the underlying
OS file may still exist (and the PageManager read cache has not been
told).

Code reference

engine/com/arcadedb/engine/FileManager.java:132–148

Impact

Orphan file on disk; future opens of the database see an unexpected
file; recovery may complain about a file id no schema entry references.

Suggested fix

Call file.drop() first, then update maps. On failure, leave the maps
untouched so a retry is possible.

Activity

  1. robfrank
    self-assigned this
    on Jun 23, 2026
  2. robfrank
    added this to the 26.7.1 milestone on Jun 23, 2026
  3. robfrank
    added the
    Bug
    issue type on Jun 23, 2026
  4. robfrank
    added 3 commits that reference this issue on Jun 23, 2026

    fix (#4723): address PR review feedback

    4be6c24

    docs (#4723): cumulative fix summary - issues addressed

    eaebdfd

    cumulative fix:

    8360416
  5. robfrank
    closed this as completedon Jun 23, 2026
  6. tae898
    added 2 commits that reference this issue on Jun 28, 2026

    chore(studio-deps-dev)(deps-dev): bump the build-tools group in /stud…

    7030d53

    chore(studio-deps-dev)(deps-dev): bump the build-tools group in /stud…

    846b39d
  7. robfrank
    added a commit that references this issue on Aug 14, 2026

    cumulative fix:

    15bd582
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @robfrank
    robfrank

Labels

No labels
No labels

Type

Bug

Projects

No projects

    Milestone

    • 26.7.1

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.