wcs-olap/wcs_olap
Benjamin Dauvergne 05c4031776 feeder: prevent situation of half-dropped schema (#54658)
To prevent loosing currently loaded data wcs-olap, failing ro rename the
temporary schema to its final name, wcs-olap will:

- first, inside a transaction, rename the current schema instead of
  dropping it, then rename the new schema to the current schema's name;
  in case of failure it will retry 33 times sleeping 1 second between
  each attempt;

- if successfull, drop the renamed old schema, again in a retry loop, if
  it fails to drop it logs an error, without aborting the current
  feeding.
2021-08-17 23:07:54 +02:00
..
__init__.py start of wcs olap importer 2016-01-09 22:06:12 +01:00
cmd.py cmd: use Logger.setLevel() (#56038) 2021-08-14 23:35:48 +02:00
feeder.py feeder: prevent situation of half-dropped schema (#54658) 2021-08-17 23:07:54 +02:00
signature.py migrate to python3 (#39430) 2020-01-30 23:33:16 +01:00
utils.py wcs-olap: build a start schema from data exported by w.c.s. API 2016-05-19 11:13:12 +02:00
wcs_api.py misc: handle invisible statuses using real_status (#40643) 2021-05-18 19:50:11 +02:00