Actions
Development #7115
openFeature #7106: Product & Master Data Sync (M02)
Build initial Cashier master-data bootstrap & delta resume
Status:
New
Assignee:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Complete Date:
Description
Refer to: docs/planning/modules/M02_Product_Data_Sync.md
Implement the initial master-data setup required when installing a new Cashier POS.
A newly installed Cashier cannot depend only on new Kafka/LAN events because it does not yet contain the existing master data.
Scope:
- Obtain the current master-data snapshot from Backend.
- Install/import the snapshot into the Cashier local database.
- Validate snapshot integrity before activation.
- Establish the appropriate sync version/checkpoint.
- Start incremental/delta synchronization after bootstrap.
- Ensure changes occurring around the snapshot/bootstrap period are not lost.
- Support restart/recovery if bootstrap is interrupted.
- Avoid requiring a complete reinstallation when synchronization fails.
Expected flow:
New Cashier → Master Data Snapshot → Local DB → Establish Checkpoint → Start Delta Sync
Done when: A clean Cashier installation can obtain current master data and continue receiving subsequent incremental changes without data gaps.
Actions