Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
fsync.warningthresholdms
property to ZooKeeperCommandExecutor
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
- Loading branch information