mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-24 00:32:15 +00:00
This patch adds a new cluster feature "CQL_ROW_TTL", for the new CQL per-row TTL feature. With this patch, this node reports supporting this feature, but the CQL per-row TTL feature can only be used once all the nodes in the cluster supports the feature. In other words, user requests to enable per-row TTL on a table should check this feature flag (on the whole cluster) before proceeding. This is needed because the implementation of the per-row-TTL expiration requires the cooperation of all nodes to participate in scanning for expired items, so the feature can't be trusted until all nodes participate in it. Signed-off-by: Nadav Har'El <nyh@scylladb.com>