You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Behaviour the bug (what happened?)
When mwdb starts before karton an error is raised during the submission of samples to karton.
The karton connector is initialized too early in the startup process.
Moreover this error is not correctly managed by the UI.
The upload of samples seems to not work but they are inserted in mwdb.
Expected behaviour
Mwdb should support the karton connection errors in the following cases:
Karton is started after mwdb
Karton is down
Karton is restarted
Maybe a configuration option should be added to indicate if:
The upload process shall be stopped if karton is down
The upload process shall ignore karton connection errors
Reproduction Steps
Start mwdb before karton and try to upload a new sample to mwdb.
The text was updated successfully, but these errors were encountered:
pavb-fr
changed the title
mwdb error when karton is not started before mwdb
Karton connection errors are not correctly managed by mwdb
Nov 14, 2023
File is still uploaded correctly because we treat errors during Karton analysis submission as non-critical errors, because analysis can be easily restarted (by clicking Reanalyze). That's why Karton submit is done after the commit. In the same time, we're sending ISE 500 because there is server fault.
Maybe we should introduce different response for successful upload with warnings to correctly indicate it in UI?
Environment information
pip install mwdb-core
)Behaviour the bug (what happened?)
When mwdb starts before karton an error is raised during the submission of samples to karton.
The karton connector is initialized too early in the startup process.
Moreover this error is not correctly managed by the UI.
The upload of samples seems to not work but they are inserted in mwdb.
Expected behaviour
Mwdb should support the karton connection errors in the following cases:
Maybe a configuration option should be added to indicate if:
Reproduction Steps
Start mwdb before karton and try to upload a new sample to mwdb.
The text was updated successfully, but these errors were encountered: