Closed OlzhabaevSh closed 4 weeks ago
After investigations I can see next:
During running queries under a transaction we can see that
ConnectionOpening: 00006013-0000-0000-0000-000008c19d59 CommandExecuting: 000000db-0001-0000-c838-0000ffdcd7b5 CommandExecuted: 00006013-0000-0000-0000-000008c19d59 CommandExecuting: 000000fc-0001-0000-c838-0000ffdcd7b5 CommandExecuted: 00006013-0000-0000-0000-000008c19d59
Maybe there is an option how we can associate different activity ids.
Describe the bug Using a transaction for multiple operations will override the query value in the DIOL.
Code example:
To Reproduce Steps to reproduce the behavior:
Expected behavior There are two workable solutions:
The first approach is simple and has only one concern: what operation and table name should we show on the master page? For example:
In real scenario we could expect a lot of queries with transactions. In this case we can face a scenario when every row in DIOL will just show "Transaction" wich will not help to search queries properly.
The second approach is a bit interesting. We can keep all queries as a new row, but we need to decide:
Another question is how we can separate queries under the same transaction.