dthonon / Client_API_VN

Export from VisioNature (Biolovision) web site to local postgresql database
https://dthonon.github.io/Client_API_VN/
GNU General Public License v3.0
4 stars 1 forks source link

Différence entre deux instances pour les "places" #319

Open mgageo opened 1 year ago

mgageo commented 1 year ago

Bonjour,

J'ai deux instances qui viennent d'avoir des différences sur la table "places". Pour un des lieudits en cause, nous venions de fusionner deux lieudits. Je n'ai pas trouvé les logs des requêtes "places" à l'api.

Sur l'instance avec problème, des observations étaient encore en cours de chargement 2023-04-20 21:09:15,899 - INFO - transfer_vn - fb => Starting incremental download using controler places 2023-04-20 21:09:15,900 - INFO - transfer_vn - fb => Included territorial_unit_ids: [] 2023-04-20 21:09:15,901 - DEBUG - transfer_vn.store_postgresql - Storing observation 6408920 to database 2023-04-20 21:09:15,908 - DEBUG - transfer_vn.store_postgresql - Storing observation 6408921 to database 2023-04-20 21:09:15,913 - INFO - transfer_vn.download_vn - Getting updates for places since 2023-04-16 07:06:36.924348 2023-04-20 21:09:15,914 - DEBUG - transfer_vn.biolovision_api - Params: user_email=***&user_pw=***&modification_type=all&date=2023-04-16%2007%3A06%3A36.924348 2023-04-20 21:09:15,917 - DEBUG - transfer_vn.store_postgresql - Storing observation 6408922 to database 2023-04-20 21:09:15,922 - DEBUG - transfer_vn.store_postgresql - Storing observation 6408923 to database 2023-04-20 21:09:15,926 - DEBUG - transfer_vn.store_postgresql - Storing observation 6408924 to database 2023-04-20 21:09:15,931 - DEBUG - transfer_vn.store_postgresql - Storing observation 6408925 to database 2023-04-20 21:09:15,936 - DEBUG - transfer_vn.store_postgresql - Storing observation 6408926 to database 2023-04-20 21:09:15,958 - DEBUG - transfer_vn.store_postgresql - Storing observation 6408927 to database 2023-04-20 21:09:15,982 - DEBUG - transfer_vn.store_postgresql - Storing observation 6408928 to database 2023-04-20 21:09:15,987 - DEBUG - transfer_vn.store_postgresql - Storing observation 6408929 to database 2023-04-20 21:09:15,993 - DEBUG - transfer_vn.store_postgresql - Storing observation 6408930 to database 2023-04-20 21:09:15,998 - DEBUG - transfer_vn.store_postgresql - Storing observation 6408931 to database 2023-04-20 21:09:16,004 - DEBUG - transfer_vn - Number of jobs scheduled, 11

mgageo commented 1 year ago

Est-il possible de juste remettre à jour complètement les deux tables places_json et places ? ou faut-il refaire une synchro complète ?