Timo van Zijll Langhout

Results 51 comments of Timo van Zijll Langhout

> As explained in the issue, GetUnitializedObject has a performance penalty of around 11%. I see you're always using it when it's available. It might benefit performance to only call...

Another option could be a lightweight class on top of the current Api class. The new class would sacrifice flexibility (i.e. advanced use cases) in favor of ease of use.

> @Timovzl I'm already working on such thing. Take a look at Pkcs11Interop.X509Store project. Looks good. Does this handle asymmetric crypto only, or symmetric as well?

FYI, I can confirm that [mine](https://github.com/mysql-net/MySqlConnector/issues/997) is unrelated to timeouts: it throws less than 40 ms after the preceding log entry (in the same serial flow).

I have created some log output to help with the search. I have replaced the nuget package reference by a direct project reference, and logged wherever either: - `m_enlistedTransaction` was...

Meanwhile, I have performed the logging once more, but this time with the actual `Transaction.GetHashCode()`. I can confirm that `DoCloseAsync()` looks up the expected `Transaction`. I'm still unclear as to...

@bgrainger I seem to have figured out where the problem originates: In `MySqlConnection.EnlistTransaction()`, `m_enlistedTransaction.Start()` is executed. However, on the problematic environment, the next statement, `lock (s_lock)`, is _never reached_. I...

I think the search should continue in the direction of `XaEnlistedTransaction.Start()`. As it turns out, a devops member had copy/pasted the connection string options for the alpha environment from who-knows-where....

> it's probably a lot simpler and more reliable to just use the ADO.NET DbTransaction API You're right, of course. In my case, the connections (and commands and readers) are...

@bgrainger, @carlos-ferreira Has either of you made any further discoveries? The issue _seemed_ to have disappeared when we added the missing `UseXaTransactions=False`, but it has actually occurred again now, even...