Skip to content

Nave should not require elasticsearch to be running at startup #43

@hanswesterbeek

Description

@hanswesterbeek

I found this in the nave initscript:

  # Since nave craches silently after a few seconds when elasticsearch is not responding,
    # the init script fails to notice.
    # One reason for such craches is when elasticsearch is not awailable. during upstart.

This indicates a design error in Nave's startup process.

The desired behaviour from Nave is that it:

  • starts up unless blatantly incorrectly configured
  • reports 'unhealthy' status if it can't connect to a downstream service such as Elasticsearch
  • Recovers once elasticsearch becomes available, and then reports 'healthy' status

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions