Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-21475

Put mutation (having TTL set) added via co-processor is retrieved even after TTL expires

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      Steps to reproduce

      1. Create a region co-processor and override preBatchMutate such that it creates a put corresponding to a user put having same timestamp and TTL as the user put.
      2. Create a table and add a row having TTL set to 3000 ms.
      3. Wait for > 3000 ms.
      4. Scan the table.

      Expected Result
      No rows should be retrieved in step 4

      Actual Result
      User row is not retreived, while put created via co-processor is still retrieved.

      Analysis/Issue
      Unlike user mutations, the mutations added by coprocessor do not have tags corresponding to TTL, hence they are retrieved in scan even after TTL expires.

      Attachments

        Activity

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

          People

            nihaljain.cs Nihal Jain Assign to me
            nihaljain.cs Nihal Jain
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment