Translog Durability


(kurtis) #1

If you set translog durability to be async with a default 5 seconds, are documents searchable before the async "fsync" has been committed?


(Igor Motov) #2

Translog doesn't affect searchability of the documents, it only determines if you are still going to have documents that were indexed during last 5 seconds before somebody accidentally unplugged your node after you plug your node back in. The searchability is determined by refresh operation. Please see https://www.elastic.co/guide/en/elasticsearch/guide/current/translog.html for a more detailed explanation between refresh and flush operations.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.