You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pegasus.apache.org by GitBox <gi...@apache.org> on 2021/06/10 01:37:35 UTC

[GitHub] [incubator-pegasus] hycdong commented on a change in pull request #760: feat: add update ttl compaction operation

hycdong commented on a change in pull request #760:
URL: https://github.com/apache/incubator-pegasus/pull/760#discussion_r648789256



##########
File path: src/server/compaction_operation.h
##########
@@ -70,6 +70,33 @@ class delete_key : public compaction_operation
 
 private:
     FRIEND_TEST(delete_key_test, filter);
+    FRIEND_TEST(compaction_filter_operation_test, all_rules_match);
+};
+
+enum update_ttl_op_type
+{
+    UTOT_FROM_NOW,
+    UTOT_FROM_CURRENT,
+    UTOT_TIMESTAMP,
+    UTOT_INVALID,
+};

Review comment:
       I recommend adding some comments for each type.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org