Project

General

Profile

Actions

Development #7115

open

Feature #7106: Product & Master Data Sync (M02)

Build initial Cashier master-data bootstrap & delta resume

Added by Kyle Chong 3 months ago. Updated 3 months ago.

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 #1

Updated by Kyle Chong 3 months ago · Edited

  • Status set to New
  • Subject set to Test new-store snapshot setup
  • Tracker set to Development
  • Priority set to Medium
  • Parent task set to #7106
  • % Done set to 0

Issue created

Actions #2

Updated by Kyle Chong 3 months ago

  • Subject changed from Test new-store snapshot setup to Build initial Cashier master-data bootstrap & delta resume
  • Description updated (diff)
Actions

Also available in: Atom PDF