Skip to content

Fixed concurrency issue #607 #610

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

ckadluba
Copy link
Member

  • Bugfix AuditTo uses shared DB Connection #607: Do not reuse SqlCommand because apparently it is not threadsafe. Set connection on command leads to a exception in audit sink under heavy load.
  • Fixed a glitch in solution file
  • Updated copyright year
  • Updated changelog

* Updated copyright year where applicable
* Removed copyright header from internal classes
It showed perf test project in the samples folder for some reason.
Do not reuse SqlCommand because apparently it is not threadsafe. Set connection on command leads to a exception in audit sink under heavy load.
@ckadluba ckadluba force-pushed the 607-exception-auditto-shared-sqlconnection branch from e0ef000 to edaa008 Compare March 15, 2025 21:48
Cannot remove IDisposable from MSSqlServerAuditSink class without bumping major version, so we leave it the same.
@ckadluba ckadluba force-pushed the 607-exception-auditto-shared-sqlconnection branch from edaa008 to e0cb12a Compare March 15, 2025 21:50
@ckadluba ckadluba added this pull request to the merge queue Mar 15, 2025
Merged via the queue into serilog-mssql:dev with commit 2bf5519 Mar 15, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant