mingo-app / mingo

Found a bug? have a FR ?
60 stars 2 forks source link

Saved pipelines disappear #534

Closed ionescurares closed 1 year ago

ionescurares commented 1 year ago

Describe the bug Very annoyingly, saved pipelines from the aggregator just keep disappearing. I am not seeing any clear pattern buts its the 3rd time in the past months when this happened. First I thought it might be a mistake - but it is becoming annoying and time consuming to rewrite all the aggregations again

Screenshots image

Desktop (please complete the following information):

tothradoslav commented 1 year ago

Thanks for letting us know. Did you notice any other store info being lost? Such as saved queried (in Documents) or NodeShell scripts?

tothradoslav commented 1 year ago

Also, have you been making any changes to your connection? Collections have internal IDs in Mingo and if you create a new connection to the same database, those collections will have new IDs. Since pipelines are stored via IDs, these won't be able to show for the new connection.

tothradoslav commented 1 year ago

In fact, I have just changed this behaviour, so that collection iDs in Mingo are not "random", but real the UUID of each collection from the database.

This does not necessarily solve your issue, but removes one of the possible causes.

tothradoslav commented 1 year ago

One more question: Are you using Mingo in multiple separate windows?

ionescurares commented 1 year ago

Hey @tothradoslav

Thanks for letting us know. Did you notice any other store info being lost? Such as saved queried (in Documents) or NodeShell scripts?

Yes, with saved queries

Also, have you been making any changes to your connection? Collections have internal IDs in Mingo and if you create a new connection to the same database, those collections will have new IDs. Since pipelines are stored via IDs, these won't be able to show for the new connection.

Not making any connection changes at all.

Are you using Mingo in multiple separate windows?

Yes, I do have multiple instances open from time to time

tothradoslav commented 1 year ago

Thanks. Using multiple windows will probably be the reason. We found a possible cause, but removing it will require making serious changes so I can't promise it will be done "in a few days". :(

We will try to solve it asap, though. Until then, could you try not using multiple windows to see if this happens?

Sorry for this...

ionescurares commented 1 year ago

Will have to try. We have our whole engineering team using mingo and it's a bummer :(

tothradoslav commented 1 year ago

are you still encoutering this issue?

ionescurares commented 1 year ago

@tothradoslav haven't seen this replicating anymore

tothradoslav commented 1 year ago

https://github.com/mingo-app/mingo/releases/tag/v1.13.1