Skip to content
This repository has been archived by the owner on Nov 7, 2018. It is now read-only.

Add source of shard awareness attr #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Battleroid
Copy link

I've added something to let you pick between using an env var vs. a file for the contents of the awareness attribute. Not sure if this is useful, but it helps in my case.

@@ -64,6 +64,7 @@ ENV NUMBER_OF_MASTERS 1
ENV MAX_LOCAL_STORAGE_NODES 1
ENV SHARD_ALLOCATION_AWARENESS ""
ENV SHARD_ALLOCATION_AWARENESS_ATTR ""
ENV SHARD_ALLOCATION_AWARENESS_ATTR_SOURCE FILE
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why default to file and break existing behavior?

@pires pires force-pushed the master branch 3 times, most recently from 738723d to e14ad80 Compare June 14, 2018 21:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants