Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Note
titleNOTICE

This decision has been migrated to the Technical Council's Decision Log as part of a consolidation effort.  See:   DR-000028 - Check Out Performance000029 - Data consistency and message driven approach


Page Properties


Status

Status
colourYellow
titleIN PROGRESS

Stakeholders

Front-end and back-end devs who meet issues with data consistency

Outcome


Created date

  

Owner


Table of Contents

...

  • Implementing business transactions that span multiple services is not straightforward,
  • Implementing queries that join data that is now in multiple databases is challenging.

Jira Legacy
serverSystem JiraJIRA
serverId01505d01-b853-3c2e-90f1-ee9b165564fc
keyMODORDERS-399

...

  • Status
    colourBlue
    titlePriority 1
    eventual consistency for redundant / duplicated data when some data is duplicated in 2 storages and is to be synchronized,
  • Status
    colourYellow
    titlePriority 2
    consistency for dangling / lost references when an item is deleted from one module leaving lost references to it in other modules, a problem that is succinctly, if frustratingly, captured in the PR discussion related to UITEN-128.
  • Status
    colourGrey
    titlePriority 3
    data consistency during distributed business operations when data in several separate storages is to be modified (mod-finance-storage, mod-invoice-storage, mod-orders-storage),
  • updates collisions ... (check with Jacub? )

...

  1. Pair of RefNumber and RefType should be in consistence state between POL and invoice line
    Jira Legacy
    serverSystem JiraJIRA
    serverId01505d01-b853-3c2e-90f1-ee9b165564fc
    keyMODORDERS-421
    1. mod-orders → mod-invoice
    2. 1-to-1 relation - one pair of refNumber/refNumberType to one invoice record ( (question) - not sure, need to confirm)
  2. VendorCode should be in consistence state between Organization record and purchaseOrder.vendorCode
    Jira Legacy
    serverSystem JiraJIRA
    serverId01505d01-b853-3c2e-90f1-ee9b165564fc
    keyMODORDERS-398
    1. mod-organizations → mod-orders
    2. 1-to-many relation - one vendor code can be used in many orders
  3. FundCode should be in consistence state between Fund record and pol.fundDistribution.code
    1. mod-finance → mod-orders
    2. 1-to-many relation - one fund code can be used in many orders

...

Drawio
bordertrue
diagramNameEventual Consistency for redundant data
simpleViewerfalse
width700
linksauto
tbstyletop
diagramDisplayName
lboxtrue
diagramDisplayNamediagramWidth934
revision5

Work breakdown draft structure

...

Drawio
bordertrue
diagramNameEventual Consistency for Redandunt Data, option 2
simpleViewerfalse
width1000
linksauto
tbstyletop
diagramDisplayName
lboxtrue
diagramDisplayNamediagramWidth1243
revision2

...

Deletion of core-module records may leave dangling references from non-core modules

Jira Legacy
serverSystem JiraJIRA
serverId01505d01-b853-3c2e-90f1-ee9b165564fc
keyUICR-125
Jira Legacy
serverSystem JiraJIRA
serverId01505d01-b853-3c2e-90f1-ee9b165564fc
keyUIOR-682
Jira Legacy
serverSystem JiraJIRA
serverId01505d01-b853-3c2e-90f1-ee9b165564fc
keyUIREQ-589
Jira Legacy
serverSystem JiraJIRA
serverId01505d01-b853-3c2e-90f1-ee9b165564fc
keyUIU-2082

...

Jira tickets:

Jira Legacy
serverSystem JiraJIRA
serverId01505d01-b853-3c2e-90f1-ee9b165564fc
keyMODORDERS-399

...

  • (plus) Raman shared current status and suggested plan; Thunderjet is ok to go ahead
  • Jira Legacy
    serverSystem JiraJIRA
    serverId01505d01-b853-3c2e-90f1-ee9b165564fc
    keyUIREC-135
    - this is a top priority issue with data consistency for duplicated data which is necessary for current Thunderjet feature completion; agree to start with this issue
  • Raman to work with Andrei Makaranka on details