flumedb.delete()
The above message was written under the incorrect assumption that flumedb.append()
is our only interface into the flumeview API. After doing a bit more research, I think think our best bet would be to implement deletion from logs and views with some new API surface area: maybe flumedb.delete()
?
Above I've put together my best impression of what's going on under the hood and which interfaces this might touch, and I think this could actually work. It might be useful to prototype feed deletion with flumelogs first, and if that's successful then I may start implementing it for flume views.
- flumelog-memory:
delete log[seq]
- flumelog-level:
db.del(seq)
- flumelog-idb:
objectStore.delete(seq)
- flumelog-offset: will likely require work in aligned-block-file
I'm likely getting head of myself here, but from a shallow glance at the above I think this idea might actually have legs. Are there any major problems that I should be aware of while hacking on this?
cc: @dominic