Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-alpha-1, 2.0.0, 2.1.1
-
None
-
Reviewed
Description
Steps to reproduce
- 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.
- Create a table and add a row having TTL set to 3000 ms.
- Wait for > 3000 ms.
- 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.