Skip to content

Ensure new indexes can be created during depoyment #210

@mrdavidlaing

Description

@mrdavidlaing

Following on from the [known limitations]https://github.com/logsearch/logsearch-boshrelease/releases/tag/v201.0.0#known-limitations) in v201 and the discussion at #209 ...

As of v201, shard allocation is disabled at the beginning of a deployment that affects elasticsearch nodes; and then manually re-enabled after deployment with bosh run errand enable_shard_allocation

This means that:

a. Unnecessary shard movements are avoided during deployment; speeding up deploys
b. Primary indices remain "green" throughout the deployment so that
c. New data can be written to existing indexes during the deployment

BUT:

d. New indexes cannot be created during deployment
e. Index replicas remain un-allocated until the enable_shard_allocation errand is run.

The purpose of this issue is to capture ideas for alternative techniques that can remove the 2 remaining limitations - d & e.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions