The re-harvest keeps going through restarts
Premium datasets keep their premium status until their clean version replaces them, data.europa.eu datasets are no longer taken off the catalogue by mistake, the re-harvest survives restarts, and World Bank income and lending groups are no longer counted as missing places.
Changes since 2.50.4.
#Fixed
Premium status is kept until the clean version replaces a dataset. Premium datasets from before the quality gate keep their status until their clean version is published. A second check of the same dataset could remove it, and 757 published datasets lost their premium status that way since 22 November. Their status is restored, and the gate now keeps it on every later check.
data.europa.eu datasets are no longer taken off by mistake. The data.europa.eu search lists at most 10,000 of its datasets. A harvest that reached that limit treated everything it had not seen as gone, and on 24 November took 5,907 datasets off the catalogue. A harvest that stops at a listing limit now never takes anything off. The datasets it took off are back, each with the status the quality gate gives it.
World Bank groups are totals, not missing places. World Bank tables carry rows for groups of countries such as High income, IDA total, Small states or World. These were listed as areas that could not be placed. They are now recognised as totals of countries, noted on the map as such and not drawn. The seven geographic regions are still drawn as the outline of their member countries.
A re-harvest survives restarts. The background worker restarts now and then (a release, or when it runs short of memory). A re-harvest already carries on where it stopped. Now such a restart no longer counts against the job's retries either, so a long re-harvest keeps going for days. A job that fails again and again straight after it starts still stops, as before.
Work is saved every few tables. A re-harvest now writes each cleaned table within five tables of finishing it, instead of after forty, so a restart loses almost nothing.
No more stalls when memory is high. When the worker's memory was above half its limit, every whole-table read waited up to 15 minutes, and a re-harvest slowed to a few tables an hour. The worker now first frees the country boundaries it keeps in memory and then waits at most two minutes. It also keeps fewer countries' boundary sets in memory.