Clear
logic needs to be handled by the store and/or query engine
#6454
Labels
Clear
logic needs to be handled by the store and/or query engine
#6454
Clear
s (as inlog(rr.Clear())
) are currently implemented using the very ad-hoc write cascades inEntityDb
.This was never great, and it's likely to become much worse as we move the store to disk, expose APIs to read data back, etc.
I haven't put any thought into it, but it should probably be possible to resolve those clears at query time, directly within
re_data_store
orre_query
, at the cost of a few extra latest-at queries (one per parent in the hierarchy), which really shouldnt be an issue.Even GC should be manageable by keeping all chunks that contain a
Clear
component as long as possibly necessary.The text was updated successfully, but these errors were encountered: