Skip to content

Project Data Lost sometimes #68

Closed
Closed
@pavan-intelops

Description

@pavan-intelops

Project data is being lost sometimes because of early polling and delayed fetch.

Steps on how and why is it happening:

  1. if the project polling starts before the fetch of project an empty project is polled.
  2. When the empty project is polled to back-end the project in database is overridden with empty nodes and edges

Possible Fix:

  1. (Quick way) Do NOT poll unless the fetch is happened.
  2. (Best Way) to have separate route to clear the project and if there is an update request with empty nodes and edges app-server simply rejects the request

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions