Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2195

fsync.warningthresholdms in zoo.cfg not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.4.6, 3.5.0
    • 3.4.9, 3.5.2, 3.6.0
    • quorum
    • None
    • Reviewed

    Description

      Config fsync.warningthresholdms in zoo.cfg does not work.
      I find QuorumPeerConfig.parseProperties give fsync.warningthresholdms a prefix like "zookeeper.fsync.warningthresholdms". But in class FileTxnLog where fsync.warningthresholdms is used, code is :Long.getLong("fsync.warningthresholdms", 1000),without prefix "zookeeper.", therefore can not get fsync.warningthresholdms's value.

      I wonder the speed of fsync, need this config to see whether the speed is good enough.

      Attachments

        1. ZOOKEEPER-2195.patch
          0.7 kB
          Dmitry Ryabkov
        2. ZOOKEEPER-2195-1.patch
          1 kB
          Biju Nair
        3. ZOOKEEPER-2195-2.patch
          0.9 kB
          Biju Nair
        4. ZOOKEEPER-2195-DOC.patch
          0.8 kB
          Biju Nair

        Issue Links

          Activity

            People

              gsbiju Biju Nair
              davencool David Fan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: