-
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
- On application server and globalstorage startup we need to load data from persistent storage to memory
- First of all we will load
Category
with fieldFamily
in('Registry', 'Dictionary', 'History')
and each node should select entities withId
is masked by current server bitmask. - If
Family
in('Registry', 'History')
we will load entities that satisfiesLocalId % NodeCount === gs.nodeIndex
to corresponding nodes - If
Family === 'Dictionary'
we will load all entities to all nodes - All other categories will be related to
Registry
orDictionary
as a detail (in master-detail / one-to-many relation) so all details should be loaded to the same node (process) where master loaded