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

Add an option that adjusts ZooKeeper fsync warning threshold. #366

Closed
trustin opened this issue Mar 21, 2019 · 0 comments
Closed

Add an option that adjusts ZooKeeper fsync warning threshold. #366

trustin opened this issue Mar 21, 2019 · 0 comments
Milestone

Comments

@trustin
Copy link
Member

trustin commented Mar 21, 2019

It is usual for fsync to take longer than 1 second in a non-prod environment, so it'd be nice if we have an option that adjusts the threshold.

fsync-ing the write ahead log in SyncThread:3 took 1513ms which will adversely effect operation latency. File size is 67108880 bytes. See the ZooKeeper troubleshooting guide
@trustin trustin added this to the 0.38.0 milestone Mar 21, 2019
trustin added a commit to trustin/centraldogma that referenced this issue Apr 3, 2019
Motivation:

It is usual for fsync to take longer than 1 second in a non-prod
environment, so it'd be nice if we have an option that adjusts the
threshold.

    fsync-ing the write ahead log in SyncThread:3 took 1513ms
    which will adversely effect operation latency. File size is
    67108880 bytes. See the ZooKeeper troubleshooting guide.

Modifications:

- Set the system property `zookeeper.fsync.warningthresholdms` when a
  user specified `fsync.warningthresholdms` as an additional property.

Result:

- Closes line#366
trustin added a commit that referenced this issue Apr 3, 2019
…#377)

Motivation:

It is usual for fsync to take longer than 1 second in a non-prod
environment, so it'd be nice if we have an option that adjusts the
threshold.

    fsync-ing the write ahead log in SyncThread:3 took 1513ms
    which will adversely effect operation latency. File size is
    67108880 bytes. See the ZooKeeper troubleshooting guide.

Modifications:

- Set the system property `zookeeper.fsync.warningthresholdms` when a
  user specified `fsync.warningthresholdms` as an additional property.

Result:

- Closes #366
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant