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

.NET: Thin 3.0: Combine tx.begin with first enlisted operation

    XMLWordPrintableJSON

Details

    Description

      Currently, client sends a separate TX_BEGIN request when the user invokes ITransactions.BeginAsync API:

      • Extra network request.
      • Chosen tx coordinator (server node that handles TX_BEGIN request) is random and in most cases won't be the primary node for enlisted keys.

      Solution:

      • On the client, do not send TX_BEGIN request when the user invokes ITransactions.BeginAsync. Instead, start the tx "on demand" when it is first used in some API.
      • Send two requests at once to the same node where the first enlisted operation goes (according to partition awareness, if applicable).

      Attachments

        Issue Links

          Activity

            People

              ptupitsyn Pavel Tupitsyn
              ptupitsyn Pavel Tupitsyn
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: