[Tile-serving] [openstreetmap/osm2pgsql] Refactor pending processor (#1176)

Jochen Topf notifications at github.com
Wed May 20 08:32:18 UTC 2020


You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/1176

-- Commit Summary --

  * Remove unused pending_threaded_processor::ids_done
  * ids_queued doesn't need to be a member variable
  * Remove unneeded copy of vectors of output clones
  * pending_threaded_processor is always used in append mode
  * Remove second parameter of pending_way/relation
  * Iterate over outputs in threads making queue simpler and shorter
  * Refactor do_jobs
  * Refactor out common code from process_ways/relations
  * Rename member variables: Add m_ prefix
  * Move commiting of clones into process_queue()
  * Move more common code into process_queue()
  * Simplify expire tree merging
  * Use idlist_t (vector<osmid_t>) instead of stack for queue
  * Disentangle processor from dependency manager
  * Reorder parts of the pending_threaded_processor class
  * Various cleanups and docs
  * User ptr instead of non-const refs for parameters
  * Adapt parameter type to use case

-- File Changes --

    M src/dependency-manager.cpp (19)
    M src/dependency-manager.hpp (73)
    M src/osmdata.cpp (345)
    M src/osmdata.hpp (2)
    M src/output-flex.cpp (13)
    M src/output-flex.hpp (4)
    M src/output-gazetteer.hpp (4)
    M src/output-multi.cpp (8)
    M src/output-multi.hpp (4)
    M src/output-null.hpp (4)
    M src/output-pgsql.cpp (14)
    M src/output-pgsql.hpp (4)
    M src/output.hpp (4)
    M tests/test-middle.cpp (15)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/1176.patch
https://github.com/openstreetmap/osm2pgsql/pull/1176.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1176
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200520/39141b1f/attachment.htm>


More information about the Tile-serving mailing list