rhodey / radiowitness

P25 public safety radio archive with Dat Protocol authenticated mirrors.
http://radiowitness.org
8 stars 2 forks source link

--limit not supported #1

Open rhodey opened 3 years ago

rhodey commented 3 years ago

I am catching errors from hypercore.clear() method regularly. If the error message is to be trusted "No node found" could be a non-problem because clear() should be a node delete. I would like to create a test case to reproduce this, it involves replication between two hypercores involving a specific write pattern and could take awhile to pin down.

https://github.com/rhodey/radiowitness/blob/fde9f3915c4e88761e19107fe991018630f4c980/lib/js/rw-peer/lib/ws-mirror.js#L77

Additionally, supporting --limit involves replacing the default random-access-file storage provider with something that can partition data across multiple files, my fork of multi-random-access is a start towards this.