Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-730

Lack of ordering constraints on delta responses may require clients to buffer (or persist) entire response to process it correctly

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: V4.0_OS
    • Fix Version/s: V4.02
    • Component/s: JSON Format
    • Labels:
      None
    • Proposal:
      Hide

      Add appropriate ordering constraints for delta responses to avoid situations where clients may need to buffer or persist changes in order to be able to correct process the delta response (including but not limited to the maintenance of referential integrity in the client's view of the data).

      Show
      Add appropriate ordering constraints for delta responses to avoid situations where clients may need to buffer or persist changes in order to be able to correct process the delta response (including but not limited to the maintenance of referential integrity in the client's view of the data).

      Description

      Firstly, a client may receive an "added link" before receiving one or both of the entities it refers to. In order to be able to maintain referential integrity (or surrogate foreign keys) the client might need to buffer (or persist) the "added links" until it has received the missing entities.

      Secondly, a client may receive a "deleted entity" before receiving a "deleted link" to remove the entity from a relationship. If the navigation property concerned was not marked in CSDL with <OnDelete Action="Cascade" />, then the client may not be able to avoid buffering/persisting the "deleted entity" notification while awaiting possible later "deleted link" notifications.

        Attachments

          Activity

            People

            • Assignee:
              handl Ralf Handl
              Reporter:
              evan.ireland.2 Evan Ireland
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: