kibana/packages/core/elasticsearch/core-elasticsearch-server-internal
Pierre Gayvallet 37b48d344f
[root] only shutdown once (#161869)
## Summary

Analyzing the MKI QA logs, I discovered that errors encountered during
shutdown were effectively triggering a second shutdown process, making
the logs unclear:

<img width="1564" alt="Screenshot 2023-07-13 at 16 07 22"
src="8d718a99-2187-4fa3-b6f6-9c3f0e7a3925">

it has the side effect to also make "normals" shutdown (e.g via SIGINT
like in the screenshot) to appear as error shutdowns because of the
error thrown during the shutdown.

This PR addresses it, by making sure that `Root` only shutdown once.
Errors occurring during the shutdown will be appearing in the logs, but
they will not surface as the cause of the shutdown (no `FATAL` log
entry).
2023-07-14 11:41:49 +02:00
..
src [root] only shutdown once (#161869) 2023-07-14 11:41:49 +02:00
index.ts [ts] stop building @types packages in bootstrap 2022-10-28 14:03:55 -05:00
jest.config.js Migrate server-side ES domain to packages (#136297) 2022-07-20 10:07:48 +02:00
kibana.jsonc Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
package.json Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
README.md Migrate server-side ES domain to packages (#136297) 2022-07-20 10:07:48 +02:00
tsconfig.json Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00

@kbn/core-elasticsearch-server-internal

This package contains the internal types and implementation for Core's server-side elasticsearch service.