Skip to content

RavenDBHealthCheck: prevent health check from disposing shared client certificate.#2467

Open
poissoncorp wants to merge 1 commit intoXabaril:masterfrom
poissoncorp:RavenDB-25931
Open

RavenDBHealthCheck: prevent health check from disposing shared client certificate.#2467
poissoncorp wants to merge 1 commit intoXabaril:masterfrom
poissoncorp:RavenDB-25931

Conversation

@poissoncorp
Copy link
Copy Markdown

@poissoncorp poissoncorp commented Mar 6, 2026

What this PR does / why we need it:
Health check doesn't own the certificate lifetime; it may be shared (e.g. DI/KeyVault). Disposing it can break other RavenDB stores in the process.

Which issue(s) this PR fixes:

Please reference the issue this PR will close: #2466

Special notes for your reviewer:
Used RavenDB store convention to disable disposing certificate.

Does this PR introduce a user-facing change?:
No

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Unit tests passing
  • End-to-end tests passing
  • Extended the documentation (bugfix - irrelevant)
  • Provided sample for the feature (bugfix - irrelevant)

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.

RavenDB Healthcheck DocumentStore disposes certificate

1 participant