Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • VILLASweb-backend-go VILLASweb-backend-go
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ACS
  • Public
  • VILLASframework
  • VILLASweb-backend-goVILLASweb-backend-go
  • Issues
  • #72

Closed
Open
Created Jun 02, 2021 by Steffen Vogel@stvogel🎅🏼Owner

AMQP status updates with state "gone" should not delete the IC in the database

/cc @irismarie

Iris noticed that by restarting VILLAScontroller we create a new ICs everytime because the backend currently deletes the ICs in the DB if it receives an update with state == gone.

I propose to use two states to handle IC shutdown and deletion:

  • state == gone: VILLAScontroller which manages this IC has been terminated. The IC is currently unsusable until the controller starts again. We should retain the IC in the DB in order to avoid breaking any references to IC configurations.
  • state == deleted: This is the last update of an IC before it gets deleted by its manager / AMQP delete action. The IC will not be used anymore. It should be deleted from the DB.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking