Re-architect node data storage to only store relevant data #1294
Labels
feature-request
New feature or request that needs to be turned into Epic/Story details
size:L - 5
Sizing estimation point
Description
We made a decision early on to store full
msg
objects against each node. This was because there was a lot of contextual data nodes could call upon, and we want to be sure that_client
was considered for multi-tenant use cases, but that the time, the_client
implementation hadn't been completed.Since then, we settled on any data used in multi-user use cases are not stored in the
datastore
, as such, we can guarantee any data saved should be replayed to all clients.Given the above, we should clean our data storage (as recommended many times by @bartbutenaers and @colinl) to only save a mapping of the relevant data.
The APIs do not need to change here for the data store, just what data is saved, and how that data is processed when retrieved.
We're seeing problems now whereby dynamic update messages are being saved as the most recent message, but overriding saved
msg.payload
values. It is actually valid for both of those values to be saved.Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate
The text was updated successfully, but these errors were encountered: