[Bug]: TransactionContextStore is not maintained when invokeMethodAsyncSequentially()
is called
#40075
Labels
Reason/EngineeringMistake
The issue occurred due to a mistake made in the past.
Team/jBallerina
All the issues related to BIR, JVM backend code generation and runtime
Type/Bug
Milestone
Description
When
runtime.invokeMethodAsyncSequentially()
is called with an existingTransactionContext
passed as a property, in the newly created Strand, while thecurrentTrxContext
is populated as expected thetransactionContextStore
is empty.However, in the TransactionContext within the
globalProps
inside thecurrentTrxContext
, contains the correct context store.The issue seems to be when a new Strand is created, the
branched Context
doesn't maintain the contextStore.When a new
TransactionLocalContext
is initialized, thetransactionContextStore
is not maintained.Steps to Reproduce
Update 5
Affected Version(s)
Update 5
OS, DB, other environment details and versions
No response
Related area
-> Runtime
Related issue(s) (optional)
ballerina-platform/ballerina-library#4270
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: