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

Expose TTL ZNode information

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

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.7.1
    • None
    • server
    • None

    Description

      When a ZNode is created with a TTL, there is currently no way to later read the ZNode and determine:

      1. Is the ZNode configured with a TTL?
      2. When will the TTL expire?

      This information could be useful, for example, where applications need to resurrect TTL-based tombstones into persistent ZNodes. Additionally, it would be useful for debugging via the CLI utility.

      I would expect this information to be available via the Stat object.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            Ryan0751 Ryan Ruel

            Dates

              Created:
              Updated:

              Slack

                Issue deployment