Skip to content

Conversation

@areek
Copy link
Contributor

@areek areek commented Nov 29, 2016

This commit makes TribeNodeClusterStateTaskExecutor a static class
for unit testing. TribeNodeClusterStateTaskExecutor is responsible
for applying cluster state updates to the tribe node state whenever
an underlying cluster state is updated (i.e. adding/removing indices,
updating nodes and merging custom metadata). The unit tests ensure
the tribe state is properly updating when underlying cluster state
tasks are seen by the tribe node in batches or as a single update.

NOTE: still need to add tests for updating tribe state with index-level
settings (block index metadata, block index read/write, on conflict)

relates #21552

This commit makes TribeNodeClusterStateTaskExecutor a static class
for unit testing. TribeNodeClusterStateTaskExecutor is responsible
for applying cluster state updates to the tribe node state whenever
an underlying cluster state is updated (i.e. adding/removing indices,
updating nodes and merging custom metadata). The unit tests ensure
the tribe state is properly updating when underlying cluster state
tasks are seen by the tribe node in batches or as a single update.

relates elastic#21552
@rjernst
Copy link
Member

rjernst commented Jun 9, 2017

@bleskes Is this PR worth forking and bringing up to date?

@dakrone
Copy link
Member

dakrone commented Aug 15, 2017

Closing as there has been no feedback, feel free to comment if this was closed erroneously. Also @areek is probably not interested in bringing it back up to date and merging it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>test Issues or PRs that are addressing/adding tests v5.4.4 v6.0.0-beta2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants