Skip to content

Conversation

@Mpdreamz
Copy link
Member

No description provided.

Copy link
Contributor

@russcam russcam left a comment

Choose a reason for hiding this comment

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

LGTM, much cleaner to read. Just one small question

d[UpdatableIndexSettings.UnassignedNodeLeftDelayedTimeout] = ds.UnassignedNodeLeftDelayedTimeout;
void Set(string knownKey, object newValue)
{
if (newValue != null) d[knownKey] = newValue;
Copy link
Contributor

Choose a reason for hiding this comment

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

Might you want to set a null value too?

Copy link
Member Author

Choose a reason for hiding this comment

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

That would always override what is set in the backing dictionary which is what triggered #3019

@Mpdreamz Mpdreamz force-pushed the fix/known-index-settings branch from 79ba342 to 9fc4f3e Compare January 16, 2018 14:17
@Mpdreamz Mpdreamz merged commit c0cf2dd into master Jan 16, 2018
@Mpdreamz Mpdreamz deleted the fix/known-index-settings branch January 30, 2018 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants