mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
5dd38d54e8
* ledger-api-test-tool: Increase the duration when watching health. This should hopefully stop CI from flaking out. * reference-v2/sandbox: Avoid unnecessary companion object constructors. I like indirection… when it does something. * ledger: Propagate empty health checks throughout the services. * reference: Remove duplication from the ReferenceServer object. * ledger-api-common: Actually query a "reporter" in the health service. * ledger-api-common: Report health per-component when required. * ledger-api-health: Use a Map to represent components for health checks. * sandbox: Fix warnings in SqlLedgerSpec. * ledger-api-common: Throw GrpcHealthService errors inside the Future. * ledger: Implement health checks against the PostgreSQL connection. Without proper testing, because I am not great at this. * sandbox: Remove duplication and fix warnings in PostgresAround. * sandbox: Test the SQL Ledger's health reporting on failure. * sandbox: Don't report as unhealthy until 3 connections fail. * ledger-api-health: Remove unused parts of the API. Bit of premature design there. * sandbox: Rename the "ledger" health check to "write". * participant-state: Add the ReportsHealth trait to ReadService. * ledger-api-common: `Future.fromTry(Try(…))` -> `Future(…)`. * ledger-api-common: Make it clearer that StubReporter closes over health. * ledger-api-common: Explain the HealthService watch tests with comments. * sandbox: Clean up SqlLedger a bit. * sandbox: Don't try and stop PostgreSQL twice in PostgresAround. * bazel_tools: Windows rlocation lookups need to be with forward slashes. * release: Fix case of "true". * ledger-api-common: Make `GrpcHealthService::matchResponse` return a Try. * ledger-api-common: Make `GrpcHealthServiceSpec` async. * sandbox: Make a couple of DB classes final. * sandbox: Avoid importing `X._` in PostgresAround. * sandbox: Add clues to the SqlLedgerSpec's multiple assertions. * sandbox: If PostgreSQL doesn't come back up, keep retrying. * sandbox: Remove duplication in SqlLedgerSpec. * sandbox: In SqlLedgerSpec, actually wait for the health to change. * sandbox: In PostgresAround, make stopping PostgreSQL idempotent. * sandbox: Simplify the SqlLedgerSpec to make it work on CI. It's worth a shot. * ledger-api-common: Simplify the GrpcHealthServiceSpec a little. And add a changelog. CHANGELOG_BEGIN - [Ledger API Server] Add a health check endpoint conforming to the `GRPC Health Checking Protocol <https://github.com/grpc/grpc/blob/master/doc/health-checking.md>`_. - [Ledger API Server] Add health checks for index database connectivity. - [Participant State API] Add a mandatory ``currentHealth()`` method to ``IndexService``, ``ReadService`` and ``WriteService``. CHANGELOG_END * sandbox: Improve the Javadoc layout for DbDispatcher. * sandbox: Capitalize constants in SqlExecutor. * ledger-api-health: Convert HealthStatus to an abstract class. |
||
---|---|---|
.. | ||
src/main/scala/com/digitalasset/daml/bazeltools | ||
BUILD |