cern-search-rest-api issueshttps://gitlab.cern.ch/webservices/cern-search/cern-search-rest-api/-/issues2022-01-14T11:47:05+01:00https://gitlab.cern.ch/webservices/cern-search/cern-search-rest-api/-/issues/112Bug: Multiple entries in table ObjectVersion with is_head=True2022-01-14T11:47:05+01:00Carina AntunesBug: Multiple entries in table ObjectVersion with is_head=TruePossibly a race condition since it affects a very small percentage of files eg. 0.1%
Leads to invalid state in those specific docs in which updates are not possible and return a 500 error. Breaks in the code in the queries of type `one_...Possibly a race condition since it affects a very small percentage of files eg. 0.1%
Leads to invalid state in those specific docs in which updates are not possible and return a 500 error. Breaks in the code in the queries of type `one_or_none` on the table ObjectVersion (key, bucket_id, is_head=True)
https://cern-search-sentry.web.cern.ch/searchaas/edms-search-prod/issues/97112/?query=one_or_noneCarina AntunesCarina Antuneshttps://gitlab.cern.ch/webservices/cern-search/cern-search-rest-api/-/issues/52global: refactor modules structure2022-03-17T16:04:36+01:00Pablo Panero Vazquezglobal: refactor modules structureCurrently, all the code is inside ``modules`` but this is wrong, since the contents are not modules but part of the web app itself. The folder/py-module structure should be refactored.
- [ ] Move all the content of the ``cern_search_res...Currently, all the code is inside ``modules`` but this is wrong, since the contents are not modules but part of the web app itself. The folder/py-module structure should be refactored.
- [ ] Move all the content of the ``cern_search_rest_api/modules/cernsearch/`` to the root ``/cern_search_rest_api/``.
- [ ] Pass the tests.