Yaml settings inheritance


(Marcin Lulek) #1

The way newly created indices inherit default settings is unclear to me:

My elasticsearch.yaml has this setting:

index.translog.durability: async - but index template doesn't have any config options related to translog.

I've updated the setting on all existing indices but I'm wondering if the indices newly created from template will inherit this setting from config or not?


(Mark Walkom) #2

What version are you on.
Also, why are you doing this?


(Marcin Lulek) #3

Version 2.1.1,

I've set this setting because my index is doing a lot of index/operation, every seconds so it cant fsync on every op.
My CPU usage + iowait almost tripled on update. So I had to change this back to pre 2.x behavior.


(Kenny Qiao) #4

Is it possible to set this option in index template?

  "index" : {
        "translog.durability"  : "async"
      }

Thanks.


(system) #5