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

Implicit transaction for direct RO read

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Motivation

      We are creating an implicit transaction through an internal API (IgniteTransactionsImpl#beginImplicit). It is needed to distinguish observation timestamps for multiple clients and embedded mode.
      Unfortunately, this API is useless to create a direct RO transaction because their logic works only if incomming transaction is null:

      InternalTableImpl#get(org.apache.ignite.internal.schema.BinaryRowEx, org.apache.ignite.internal.tx.InternalTransaction)
      InternalTableImpl#getAll(java.util.Collection<org.apache.ignite.internal.schema.BinaryRowEx>, org.apache.ignite.internal.tx.InternalTransaction)
      

      Definition of done

      Add a possibility to create an implicit transaction for the RO direct.
      This approach will be able to be used in ClientTupleGetAllRequest and ClientTupleGetRequest (I left TODOs there).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              v.pyatkov Vladislav Pyatkov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: