Skip to content

fix(databases::mssql): fix locks counts for named instances#6251

Merged
omercier merged 5 commits into
developfrom
CTOR-2402-Plugin-database-mssql-Mode-dead-locks-locks-waits-hotfix
Jun 23, 2026
Merged

fix(databases::mssql): fix locks counts for named instances#6251
omercier merged 5 commits into
developfrom
CTOR-2402-Plugin-database-mssql-Mode-dead-locks-locks-waits-hotfix

Conversation

@omercier

@omercier omercier commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Description

For some users, the object_name = 'SQLServer:Locks' condition did not work (probably because they use named instances) and object_name LIKE '%Locks%' has to be used instead.

Refs: CTOR-2402

Type of change

  • Patch fixing an issue (non-breaking change)
  • New functionality (non-breaking change)
  • Functionality enhancement or optimization (non-breaking change)
  • Breaking change (patch or feature) that might cause side effects breaking part of the Software

@omercier omercier force-pushed the CTOR-2402-Plugin-database-mssql-Mode-dead-locks-locks-waits-hotfix branch from e605569 to de99330 Compare June 18, 2026 09:37
@omercier omercier marked this pull request as ready for review June 18, 2026 09:37
@omercier omercier requested review from a team as code owners June 18, 2026 09:37
@omercier omercier requested review from jean-christophe81 and lucie-tirand and removed request for a team June 18, 2026 09:37
Comment thread src/database/mssql/mode/deadlocks.pm Outdated
Comment thread src/database/mssql/mode/deadlocks.pm Outdated
Co-authored-by: Sylvain Cresto <scresto@centreon.com>
Comment thread src/database/mssql/mode/lockswaits.pm Outdated
Comment thread src/database/mssql/mode/deadlocks.pm Outdated
Comment thread src/database/mssql/mode/lockswaits.pm Outdated
Co-authored-by: omercier <32134301+omercier@users.noreply.github.com>
Comment thread src/database/mssql/mode/lockswaits.pm Outdated
@omercier omercier requested a review from scresto31 June 23, 2026 14:28
@omercier omercier merged commit d9b44a3 into develop Jun 23, 2026
76 checks passed
@omercier omercier deleted the CTOR-2402-Plugin-database-mssql-Mode-dead-locks-locks-waits-hotfix branch June 23, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants