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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.0
    • Component/s: documentation, java client
    • Labels:
      None
    • Hadoop Flags:
      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

          Activity

            People

            • Assignee:
              gabriel.reid Gabriel Reid
              Reporter:
              gabriel.reid Gabriel Reid
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: