You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bike updater splits street edges to insert bike stations, but doesn't reverse that process when stations are removed. There is a comment about this from 2013 on BikeRentalUpdater.BikeRentalGraphWriterRunnable#run saying TODO: need to unsplit any streets that were split. The lack of edge removal was probably not a major problem when infrequently loading lists of fixed multi-bike stations, as those change very rarely. But free-floating bikes were introduced around 2017, which involve very frequent additions and removals of bike "stations" for individual bicycles. @gmellemstrand has pointed out that free floating bike support is enabled by default causing a memory leak. He is planning to disable it by default until split edge removal is implemented. Ideally that removal should use a generalized solution that also handles other temporary edges.
@gmellemstrand is also planning to link from migration guide and/or configuration guide with a short explanation of why this is disabled.
The text was updated successfully, but these errors were encountered:
This seems to be the same issue @evansiroky fixed in #2791, where he described the problem in great detail. So this is the same problem described in #2787, which was somehow closed by a merge to a fork that referenced an otp ticket.
The pull request #2791 is built on top of another pull request #2762. In late 2019 there was a good deal of discussion about the implications of these fairly large changesets. The changes to the street splitting process seem to fix important flaws in design or usage of the splitter. But it looks like more work and discussion may be necessary to understand the nature of the changes and ensure they're correct and maintainable.
The bike updater splits street edges to insert bike stations, but doesn't reverse that process when stations are removed. There is a comment about this from 2013 on
BikeRentalUpdater.BikeRentalGraphWriterRunnable#run
sayingTODO: need to unsplit any streets that were split
. The lack of edge removal was probably not a major problem when infrequently loading lists of fixed multi-bike stations, as those change very rarely. But free-floating bikes were introduced around 2017, which involve very frequent additions and removals of bike "stations" for individual bicycles. @gmellemstrand has pointed out that free floating bike support is enabled by default causing a memory leak. He is planning to disable it by default until split edge removal is implemented. Ideally that removal should use a generalized solution that also handles other temporary edges.@gmellemstrand is also planning to link from migration guide and/or configuration guide with a short explanation of why this is disabled.
The text was updated successfully, but these errors were encountered: