Skip to content

Conversation

lahsivjar
Copy link
Contributor

Renames CreateProxyTxn to MaybeCreateProxyTxn as it better represents what the function does. A proxy transaction will be created only if it is needed. A proxy transaction will be needed if:

  1. A transaction with the same transaction.id as the one registered during agent init is not reported by the agent.
  2. An invocation has already been finalized before.
  3. Transaction hasn't been successfully registered during agent init.

@lahsivjar lahsivjar requested a review from axw April 26, 2023 01:03
@github-actions github-actions bot added the aws-λ-extension AWS Lambda Extension label Apr 26, 2023
@lahsivjar lahsivjar merged commit cf9f5a3 into elastic:main Apr 27, 2023
@lahsivjar lahsivjar deleted the minor-refactor branch April 27, 2023 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aws-λ-extension AWS Lambda Extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants