digidem / osm-p2p-db

Peer-to-peer database for OpenStreetMap data
BSD 2-Clause "Simplified" License
237 stars 25 forks source link

deleting relations does not correctly update the join index #40

Open gmaclennan opened 7 years ago

gmaclennan commented 7 years ago

osm._del() does not consider relations:

https://github.com/digidem/osm-p2p-db/blob/master/index.js#L163-L173

It looks like the hyperlog-join map function expects row.value.members to be set by osm._del()

https://github.com/digidem/osm-p2p-db/blob/master/index.js#L65-L73