Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the ability to fsync on every operation and only schedule fsync task if really needed #16257

Merged
merged 2 commits into from Jan 27, 2016

Commits on Jan 27, 2016

  1. Remove the ability to fsync on every operation and only schedule fsyn…

    …c task if really needed
    
    This commit limits the `index.translog.sync_interval` to a value not less than `100ms` and
    removes the support for fsync on every operation which used to be enabled if `index.translog.sync_interval` was set to `0s`
    Now this pr also only schedules an async fsync if the durability is set to `async`. By default not async task is scheduled.
    
    Closes elastic#16152
    s1monw committed Jan 27, 2016
    Copy the full SHA
    84ce9f3 View commit details
    Browse the repository at this point in the history
  2. apply feedback from @mikemccand

    s1monw committed Jan 27, 2016
    Copy the full SHA
    98bc9de View commit details
    Browse the repository at this point in the history