Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-19241

Java thin 3.0: propagate table schema updates to client on write-only operations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-beta1
    • 3.0.0-beta2
    • thin client

    Description

      Currently, Java client receives table schema updates when write-read requests are performed. For example, client performs TUPLE_GET request, sends key tuple using old schema version, receives result tuple with the latest schema version, and retrieves the latest schema.

      However, some requests are "write-only": client sends a tuple, but does not receive one back, like TUPLE_UPSERT. No schema updates are performed in this case.

      To fix this, include the latest schema version into all write-only operation responses:

      • TUPLE_UPSERT
      • TUPLE_UPSERT_ALL
      • TUPLE_INSERT
      • TUPLE_INSERT_ALL
      • TUPLE_REPLACE
      • TUPLE_REPLACE_EXACT
      • TUPLE_DELETE
      • TUPLE_DELETE_ALL
      • TUPLE_DELETE_EXACT
      • TUPLE_DELETE_ALL_EXACT
      • TUPLE_CONTAINS_KEY

      Client will compare this version to the known one and perform a background update, if necessary.

      Attachments

        Issue Links

          Activity

            People

              ptupitsyn Pavel Tupitsyn
              ptupitsyn Pavel Tupitsyn
              Igor Sapego Igor Sapego
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m