Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • autosubmit autosubmit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 338
    • Issues 338
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 21
    • Merge requests 21
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Earth SciencesEarth Sciences
  • autosubmitautosubmit
  • Issues
  • #1317
Closed
Open
Issue created Jun 04, 2024 by dbeltran@dbeltranMaintainer

Autosubmit delete doesn't delete the metadata

Hello @bdepaula , @ltenorio

Talking with @eferre1 , we discovered some job_data from 2023 that doesn't belong to Eric's user, the current experiment(t0n3) owner.

[eadmin@bsceshub02 as_metadata]$ ll * | grep t0n3
-rw-r--r--. 1     2337 Earth  536K Apr 27  2023 job_data_t0n3_corrupted.db
-rw-r--r--. 1     2337 Earth  1.2M Apr 27  2023 job_data_t0n3.db
-rw-r--r--. 1     2337 Earth  1.2M Apr 27  2023 job_data_t0n3.sql

This results in a crash in the GUI visualization. After moving/create the files to another location the GUI visualization works.

For some reason, I could manually delete the .db one, but not the others, by using the admin user.

I think that what happened is that the autosubmit delete t0n3 was prompted by the original user, which is now 2337, and the next expid got that expid with metadata still belonging to the previous owner. Another possible reason would be this issue #1136 (closed)

Autosubmit deletes should also delete the associated as_metadata. This is using 3.15.X, we need to see if this is also the case on 4.1.X.

I'm tagging @ltenorio, because I don't know if the Postgres branch is generating additional files that need to be included in the autosubmit delete

Edited Jun 04, 2024 by dbeltran
Assignee
Assign to
Time tracking