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
  • #1391
Closed
Open
Issue created Aug 19, 2024 by Luiggi Tenorio Ku@ltenorioMaintainer

[EDITO] Serialization of the Pickle in DDBB

Following the pending tasks discussed on autosubmit-api#52 and #1285, we need to make it possible to have the pickle file data available in a distributed environment.

For that, we can use our current work on Postgres to save this data in a new table. This could be easy in previous versions of Autosubmit where the pickle content consisted of a List of Lists that stored the jobs data in primitive data types. Still, since newer versions of Autosubmit this was changed to a networkx.DiGraph making it more difficult to make a correct serialization/deserialization without losing any piece of data.

Anyway, this could be done quickly and effectively with a not-so-elegant solution that is storing the pickle as a BLOB in the database. This seems to be a valid option since, in the current state of Autosubmit, we don't query directly the content of the pickle file and load it as a whole (which will be nice to change in the longer run).

@bdepaula @egarriga

Assignee
Assign to
Time tracking