You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let's imagine Entity(id, value) with projection ValueIndex(id_value, entity_id). If we save in tx some entity and after it try to find projections - they will be unchanged
No, it doesn't. Because we make actions with projections only in RwProjectionCache::applyProjectionChanges which calls on commit.
Overall projections is useful feature, but unsafe in current design. It looks impossible to remove it from current projects which are using YOJ. Anyway GlobalIndex can't close all case of projections. For example GlobalIndex can't be computable.
You can enable immediate writes, then projection changes will be applied immediately, not on commit, and should end up in the first-level cache of the transaction.
let's imagine Entity(id, value) with projection ValueIndex(id_value, entity_id). If we save in tx some entity and after it try to find projections - they will be unchanged
For example: this test is green
The text was updated successfully, but these errors were encountered: