[Utility][Persistence][Savepoints/Rollbacks] Implement change tracking in UtilityUnitOfWork
to allow ephemeral state and remove side effects
#564
Labels
core
Core infrastructure - protocol related
persistence
Persistence specific changes
utility
Utility specific changes
Milestone
Objective
Extend the
UtilityUnitOfWork
logic so that it transparently works like an ephemeral "WorldState" that becomes valid/persisted only when it's committed successfully. Until then, all changes are tracked, and applied in memory but NOT persisted.Origin Document
#562
Goals
PersistenceReadContext
PersistenceWriteContext
but track changes in memory instead of targeting the datastoresCommit
logic that flushes the changes correctly to the realPersistence
layerDeliverable
Non-goals / Non-deliverables
Rollback
that throws away all the ephemeral state (tracked in [Persistence][Core][Savepoints/Rollbacks] Implement KISS Rollbacks - Deserialize WorldState to Persistence #435)General issue deliverables
Testing Methodology
make ...
make ...
make test_all
LocalNet
is still functioning correctly by following the instructions at docs/development/README.mdCreator: @deblasis
Co-Owners: @Olshansk
The text was updated successfully, but these errors were encountered: