OpenSearch/distribution/packages
Jason Tedor 659ebf6cfb
Notify systemd when Elasticsearch is ready (#44673)
Today our systemd service defaults to a service type of simple. This
means that systemd assumes Elasticsearch is ready as soon as the
ExecStart (bin/elasticsearch) process is forked off. This means that the
service appears ready long before it actually is, so before it is ready
to receive requests. It also means that services that want to depend on
Elasticsearch being ready to start can not as there is not a reliable
mechanism to determine this. This commit changes the service type to
notify. This requires that Elasticsearch sends a notification message
via libsystemd sd_notify method. This commit does that by using JNA to
invoke this native method. Additionally, we use this integration to also
notify systemd when we are stopping.
2019-07-24 14:04:36 +09:00
..
deb Build: Consolidate archives and packages configuration (#28760) 2018-02-21 17:46:40 -08:00
no-jdk-deb Add no-jdk distributions (#39882) 2019-03-15 00:55:57 -07:00
no-jdk-rpm Add no-jdk distributions (#39882) 2019-03-15 00:55:57 -07:00
oss-deb Build: Split distributions into oss and default 2018-04-20 15:33:57 -07:00
oss-no-jdk-deb Add no-jdk distributions (#39882) 2019-03-15 00:55:57 -07:00
oss-no-jdk-rpm Add no-jdk distributions (#39882) 2019-03-15 00:55:57 -07:00
oss-rpm Build: Split distributions into oss and default 2018-04-20 15:33:57 -07:00
rpm Build: Consolidate archives and packages configuration (#28760) 2018-02-21 17:46:40 -08:00
src Notify systemd when Elasticsearch is ready (#44673) 2019-07-24 14:04:36 +09:00
build.gradle Update lintian overrides (#41561) (#41953) 2019-05-08 12:09:02 -07:00