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

Documented list of allowable characters in ZK doc not in line with code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.5.0
    • documentation, java client
    • None
    • Reviewed

    Description

      The documented set of allowable characters in ZooKeeper node names in the Programmer's Guide is not entirely in line with the code.

      The range of non-printable ASCII characters in the doc ends too early (i.e. 0x19 instead of 0x1F).

      The range checking code in PathUtils also includes off-by-one errors, so that characters that are on the border of being unallowable are actually allowed by the code.

      Attachments

        1. ZOOKEEPER-1628.patch
          6 kB
          Gabriel Reid

        Activity

          People

            gabriel.reid Gabriel Reid
            gabriel.reid Gabriel Reid
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: