kappa-db / kappa-core

Minimal peer-to-peer database, based on kappa architecture.
254 stars 22 forks source link

naming confusion #1

Open hackergrrl opened 6 years ago

hackergrrl commented 6 years ago

naming confusion for "progress state" vs. "accumulated view state", and an example of each since they go in different parts of the code

I think the confusion was in the storeState/fetchState functions. The current API and docs don't clearly distinguish "view state" (the stuff that the view accumulates from log data) from "indexing state" (the data the indexer needs to store so it can pick up indexing where it left off last time).