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

fsync.warningthresholdms in zoo.cfg not working

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.4.6, 3.5.0
    • Fix Version/s: 3.4.9, 3.5.2, 3.6.0
    • Component/s: quorum
    • Labels:
      None
    • Hadoop Flags:
      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-DOC.patch
          0.8 kB
          Biju Nair
        2. ZOOKEEPER-2195-2.patch
          0.9 kB
          Biju Nair
        3. ZOOKEEPER-2195-1.patch
          1 kB
          Biju Nair
        4. ZOOKEEPER-2195.patch
          0.7 kB
          Dmitry Ryabkov

        Issue Links

          Activity

            People

            • Assignee:
              gsbiju Biju Nair
              Reporter:
              davencool David Fan

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment