Uploaded image for project: 'Tephra'
  1. Tephra
  2. TEPHRA-228

Introduce client ID that can be used to track requests per client

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.12.0-incubating
    • Component/s: api, core
    • Labels:
      None

      Description

      Today transaction manager does not have details of what transaction belongs to which client. For instance when a there are a lot of invalid transactions generated by a client, it is not easy to say which client generated the invalid transactions. Transaction manager just logs a message saying the transaction ID was invalidated. This makes debugging very difficult since there is no easy way to map the transaction ID to a program.

      Transaction APIs should allow clients to pass in client IDs for every start transaction call. Transaction manager can store this client ID as part of the transaction metadata. And when transaction manager logs messages with transaction ID, it can include the client ID in the message.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gokulavasan Gokul Gunasekaran
                Reporter:
                poornachandra Poorna Chandra
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: