mafintosh / hyperdb

Distributed scalable database
MIT License
752 stars 75 forks source link

When new content feeds are adding, check them all in replication #108

Closed jimpick closed 6 years ago

jimpick commented 6 years ago

When new content feeds are adding, check them all in the replication function.

The previous logic wouldn't check old feeds that were updated with content feeds, and would return early when there was an entry with no content feed.

I also created a ._updateReplicating() method to save repeating the logic that re-calls the replicating functions.

jimpick commented 6 years ago

A set of hyperdrive/hyperdb files that can't be replicated is here:

https://iphone-shoppling-list-wont-sync-jimpick.hashbase.io/hyperdrive-iphone-wont-sync.zip

mafintosh commented 6 years ago

fixed in master. nice catch!